[英]Android Application isn't installed after deployment
I've developed an application using Eclipse and when I run it on my Droid Ultra the application runs when running through Eclipse. 我已经使用Eclipse开发了一个应用程序,当我在Droid Ultra上运行它时,该应用程序将在Eclipse中运行。 To my understanding when that happens the application should be installed on the device. 据我了解,这种情况应在设备上安装。 However, when I unplug the device and try to run the app by going through my phone applications it displays a toast message saying "App isn't installed". 但是,当我拔出设备的电源并尝试通过手机应用程序运行该应用程序时,它会显示一条吐司消息,提示“未安装应用程序”。 Does anyone know why this is happening? 有人知道为什么会这样吗? Is this a code problem, an environment issue, anything? 这是代码问题,环境问题吗?
Here is my manifest if it helps? 这是我的清单,如果有帮助吗?
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="edu.ggc.thinkfast"
android:versionCode="1"
android:versionName="1.0" >
<uses-sdk
android:minSdkVersion="11"
android:targetSdkVersion="20" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.BLUETOOTH" />
<application
android:allowBackup="true"
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:theme="@style/AppTheme" android:permission="android.permission.BLUETOOTH">
<activity
android:name=".MainScreen"
android:label="@string/app_name"
android:screenOrientation="portrait"
android:noHistory="true">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity android:name=".FactScreen"
android:screenOrientation="portrait"
android:noHistory="true"></activity>
<activity android:name=".CategoryScreen"
android:screenOrientation="portrait"></activity>
<activity android:name=".TimerScreen"
android:screenOrientation="portrait"
android:noHistory="true"></activity>
<activity android:name=".QuestionScreen"
android:screenOrientation="portrait"
android:noHistory="true"></activity>
<activity android:name=".NextQuestionScreen"
android:theme="@android:style/Theme.Dialog"
android:screenOrientation="portrait"
android:noHistory="true"></activity>
</application>
您之前是否已经在设备上安装过该应用程序?如果是,请卸载现有应用程序,然后使用eclipse再试一次。问题可能是由于证书签名不正确造成的。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.