Reputation: 6894
When I try to install my application on my phone it says "Application not installed"
Here is the code of my manifest file :
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="tasklite.android"
android:versionCode="1"
android:versionName="1.0" >
<uses-sdk android:minSdkVersion="7" />
<uses-permission android:name="android.permission.INTERNET"></uses-permission>
<application
android:name=".TaskLiteApplication"
android:label="@string/app_name" >
<activity
android:name="activity.TaskLiteActivity"
android:label="@string/app_name" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity android:name="activity.PrefsActivity" />
<activity android:name="activity.ToDoActivity" />
<activity android:name="activity.ProjectActivity" />
<activity android:name="activity.TaskActivity"/>
<activity android:name="activity.TabLayoutActivity"
android:theme="@style/taskLiteTheme"/>
<service android:name="service.UpdaterService"></service>
</application>
</manifest>
EDIT: It's fix, the apk needed to be signed, i didn't had to change anything in the manifest file thank you
Upvotes: 0
Views: 2160
Reputation: 3179
If you have a release build on your phone, installing a debug version will fail, and vice versa.
Assuming you're going back and forth between debug and release versions, uninstall the one that's there, then install the new one.
Upvotes: 1
Reputation: 4005
Try adding this attributes to <application >
element in AndroidManifest.
android:debuggable="false"
android:testOnly="false"
Upvotes: 2
Reputation: 1881
Usually that means a few things.
adb logcat
output.Unknown sources
enabled in Settings > ApplicationsUpvotes: 1