2012-01-29 219 views
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> 
+0

重複的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

+0

是的,但這有我自己的具體清單... – bgroenks 2012-01-30 00:50:20

+0

我沒有看到你的清單中的任何異常,所以錯誤原因很可能是「常見錯誤」之一。你有沒有在我提到的第一篇文章中描述的檢查? – THelper 2012-01-30 08:54:19

回答