1
我尝试将我的一个旧的简单Java应用程序移植到Android并导出为APK。它在模拟器上安装并运行良好,但是当我尝试将它安装在真正的Android手机上时,它只是说“应用程序未安装”Android应用程序未安装(APK)
我正在使用ADT for Eclipse插件导出APK。
我认为问题必须与清单,因为该程序将不会安装或启动(无论是或导出过程本身)。我还没有尝试从命令行执行它......我一直在避免它。我会尝试,如果没有人可以发现我的清单有任何问题:
<?xml version="1.0" encoding="utf-8"?>
<manifest package="bg.java.mobile"
android:installLocation="auto" android:versionCode="1" android:versionName="1.0" xmlns:android="http://schemas.android.com/apk/res/android">
<application
android:icon="@drawable/icon" android:label="Heat Index" android:logo="@drawable/icon">
<activity android:name="AppLauncher"
android:label="@string/app_name" android:multiprocess="true" android:launchMode="singleInstance" android:screenOrientation="user">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
</application>
</manifest>
重复的http://stackoverflow.com/questions/6027964/application-could-not-be-installed-on-this-phone,http://stackoverflow.com/questions/4226132/application-not -installed-error-on-android或http://stackoverflow.com/questions/7383470/application-not-installed? – THelper 2012-01-29 23:50:12
是的,但这有我自己的具体清单... – bgroenks 2012-01-30 00:50:20
我没有看到你的清单中的任何异常,所以错误原因很可能是“常见错误”之一。你有没有在我提到的第一篇文章中描述的检查? – THelper 2012-01-30 08:54:19