新的Android开发者在这里。我正在按照http://www.vogella.de/的教程进行操作。第一个应用程序(温度转换)的作品。第二个(不喜欢和使用菜单)一个永远不会出现。我试过使用Helios和Galileo。我试过重新安装Android SDK。我尝试删除测试设备并重新创建它。其他人说这个教程的作品。Android示例应用没有显示
当其他应用程序正常工作时,它没有得到两行“No Launcher activity found!”和“发布只会同步设备上的应用程序包”。
我看到:
------------------------------
...] Android Launch!
...] adb is running normally.
...] No Launcher activity found!
...] The launch will only sync the application package on the device!
...] Performing sync
...] Automatic Target Mode: using existing emulator 'emulator-5554' running compatible AVD 'TestDevice'
...] Uploading de.vogella.android.preferences.apk onto device 'emulator-5554'
...] Installing de.vogella.android.preferences.apk...
...] Success!
...] \de.vogella.android.preferences\bin\de.vogella.android.preferences.apk installed on device
...] Done!
UPDATE:这里是从我的Android清单文件
<manifest
xmlns:android="schemas.android.com/apk/res/android";
package="de.vogella.android.preferences"
android:versionCode="1"
android:versionName="1.0">
<application android:icon="@drawable/icon" android:label="@string/app_name">
<activity android:name=".HelloPreferences" android:label="@string/app_name">
</activity>
<activity android:label="Preferences" android:name="Preferences">
</activity>
</application>
<uses-sdk android:minSdkVersion="8" />
</manifest>
您可以发布您的AndroidManifest.xml文件吗?我有一种感觉,它在那里。谢谢!欢迎来到SO :) – 2010-07-27 20:20:20
嗯...在这个论坛上还没有弄清楚回复界面。 “添加评论”是发布的唯一途径?它不会留下太多空间。 – 2010-07-27 20:27:08
<?xml version =“1.0”encoding =“utf-8”?> <活动机器人:标签= “偏好” 机器人:名称= “偏好”> 应用> <使用-SDK android:minSdkVersion =“8”/> –
2010-07-27 20:27:39