参考高手写两个avd调试.但是不成功.不知为何?具体请进!
http://blog.csdn.net/tts_kevin/article/details/7599001
我写了Server与clinet.但是启动时没有界面.请问是什么回事呀?
1.Server.AndroidManifest.xml如下.
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.server"
android:versionCode="1"
android:versionName="1.0" >
<uses-sdk
android:minSdkVersion="8"
android:targetSdkVersion="17" />
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE"/>
<uses-permission android:name="android.permission.INTERNET"></uses-permission>
<application
android:name=".ServerApplication"
android:allowBackup="true"
android:icon="@drawable/server"
android:label="@string/app_name"
android:theme="@style/AppTheme" >
<activity
android:name=""
android:label="@string/app_name" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<service
android:name=".service.ServerSocketService">
<intent-filter>
<action android:name="SOCKETSERVER_SERVICE"/>
</intent-filter>
</service>
</application>
</manifest>