Reputation: 4480
I don't know what is happening with my apps. It never happened before. I see errors like this:
[2011-04-10 11:53:22 - Rocket Project] Installation error: INSTALL_PARSE_FAILED_MANIFEST_MALFORMED
[2011-04-10 11:53:22 - Rocket Project] Please check logcat output for more details.
[2011-04-10 11:53:22 - Rocket Project] Launch canceled!
How can I resolve this?
Upvotes: 3
Views: 4862
Reputation: 91
always write activity name prefix with package name
instead of :
<activity android:name=".Activities.AAWidget" android:theme="@android:style/Theme.Dialog"
android:screenOrientation="portrait">
write with package name :
<activity android:name="com.example.HelloWorld.Activities.AAWidget" android:theme="@android:style/Theme.Dialog"
android:screenOrientation="portrait">
Upvotes: 0
Reputation: 26841
In my case it was the following logcat output, which pointed to the problem in the manifest:
Invalid taskAffinity name 1 in package com.eazyigz.RussiaMediaSearch: bad character '1'
Once I deleted that line, everything was fine.
Upvotes: 0
Reputation: 6892
If i'm not mistaken, there are some "new line" characters in your Manifest. Example you declare new Activity:
<activity android:name=".Activities.AAWidget" android:theme="@android:style/Theme.Dialog"
android:screenOrientation="portrait">
Ok, if so, try to make all these declarations in only 1 line:
<activity android:name=".Activities.AAWidget" android:theme="@android:style/Theme.Dialog" android:screenOrientation="portrait">
Upvotes: 4
Reputation: 128
It will be great If you can post the logcat output here. anyhow a quick google search shows that the error appears shows when running apps built on older sdk on phones with newer version. Hope this helps. just try to rebuild the app on latest sdk.
Upvotes: 0