android - signed apk Parse error when parsing manifest -
when try install signed apk parse error (see logcat). when install apk signed default debug key okay.
this logcat output:
08-28 17:12:47.267 23828-23828/com.android.packageinstaller w/packageinstaller: parse error when parsing manifest. discontinuing installation 08-28 17:12:47.267 23828-23828/com.android.packageinstaller w/packageparser: skipping dir: /mnt/shell/emulated/0/vertretungsplan-2.0.0.apk 08-28 17:12:47.287 23828-23828/com.android.packageinstaller d/dalvikvm: gc_for_alloc freed 1414k, 62% free 4110k/10772k, paused 16ms, total 16ms 08-28 17:12:47.287 23828-23828/com.android.packageinstaller i/dalvikvm-heap: grow heap (frag case) 5.708mb 1127536-byte allocation
as says parse error when parsing manifest
here manifest:
<?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="de.mayerhofersimon.vertretungsplan" android:versioncode="6" android:versionname="2.0.0"> <uses-sdk android:minsdkversion="8" android:targetsdkversion="11"/> <uses-permission android:name="android.permission.internet"/> <application android:allowbackup="true" android:icon="@drawable/ic_launcher" android:label="@string/app_name" android:theme="@style/theme.sherlock.light.darkactionbar"> <activity android:name="de.mayerhofersimon.vertretungsplan.mainactivity" 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="de.mayerhofersimon.vertretungsplan.loginactivity" android:label="@string/app_name" android:nohistory="true" android:excludefromrecents="true" android:screenorientation="portrait"/> <!-- settings --> <activity android:name=".preference.preferences" android:label="@string/menu_settings" android:parentactivityname=".mainactivity" > <!-- parent activity meta-data support 4.0 , lower --> <meta-data android:name="android.support.parent_activity" android:value=".mainactivity" /> </activity> <activity android:name="de.mayerhofersimon.vertretungsplan.preference.klassenlistpreferenceactivity" android:label="@string/activity_klassenlist" android:parentactivityname=".preference.preferences" > <!-- parent activity meta-data support 4.0 , lower --> <meta-data android:name="android.support.parent_activity" android:value=".preference.preferences" /> <intent-filter> <action android:name="de.mayerhofersimon.vertretungsplan.preference.klassenlist"/> <category android:name="android.intent.category.default"/> </intent-filter> </activity> <service android:name=".refreshservice"/> </application> </manifest>
i see no things there should change... device runs 4.3 when change target sdk version 18 error appears.
i use android studio build , sign apk.
is there way fix this?
i found problem.
the error appeared because installed cyanogenmod file manager.
i tried install email - worked. tried install adb - worked.
Comments
Post a Comment