intellij idea - Weird error while installing Android app? -


in intellij idea exported signed application (created new key, etc.), entered command adb install <my_app>.apk , got error:

1990 kb/s (745096 bytes in 0.365s)
pkg: /data/local/tmp/myapp.apk
failure [install_parse_failed_unexpected_exception]

google doesn't seem know error. found solution application version in manifest file not integer, not case me.

could making mistake during creation of new sign key???

edit: here manifest file.

<?xml version="1.0" encoding="utf-8"?> <manifest         xmlns:android="http://schemas.android.com/apk/res/android"         package="org.example.app"         android:versioncode="1"         android:versionname="1.0"         >     <application             android:icon="@drawable/icon"             android:label="@string/app_name"             >         <activity                 android:name=".app"                 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:label="@string/about"                 android:name="about"                 ></activity>         <activity                 android:label="@string/preference"                 android:name="preference"                 ></activity>         <activity                 android:name="empl"                 android:label="@string/empl"                 ></activity>     </application>     <uses-sdk             android:minsdkversion="8"/>  </manifest>  

after mistake in manifest file. line made it

<uses-sdk android:minsdkversion="8"/> 

i tried deploy android 2.2 app mobile phone android 2.1. other project (the test one) created in intellij not force version default.

after deleted line or changed version 7, app installed no problems.

so rookie mistake :ashamed:.


Comments

Popular posts from this blog

java - SNMP4J General Variable Binding Error -

windows - Python Service Installation - "Could not find PythonClass entry" -

Determine if a XmlNode is empty or null in C#? -