[英]Android Application Not Installing (APK)
我尝试将我的一个旧的简单Java应用程序移植到Android并导出为APK。 它可以在模拟器上安装并正常运行,但是当我尝试在真实的Android手机上安装它时,它只会显示“未安装应用程序”
我正在使用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>
您是否在手机上启用了“未知来源”? (设置->应用程序)否则,您将无法安装apk文件。 http://i.stack.imgur.com/Zqr5G.png
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.