2011年3月21日 星期一

Fix: Failure [INSTALL_PARSE_FAILED_MANIFEST_MALFORMED] - part2

參考此篇

修改android package name

發生

Failure [INSTALL_PARSE_FAILED_MANIFEST_MALFORMED]

這一篇與

Fix: Failure [INSTALL_PARSE_FAILED_MANIFEST_MALFORMED]

稍微不同

這一次我的project裡面有兩個Activity
所以在修改package name的時候
DVDFullScreenAp">
會變成
DVDAp.DVDFullScreenAp">
build的時候不會特別警告你有問題
用eclipse會有下列錯誤訊息

[2011-03-21 16:46:53 - DVDAp] Android Launch!
[2011-03-21 16:46:53 - DVDAp] adb is running normally.
[2011-03-21 16:46:53 - DVDAp] Performing application.rtk.DVDAp.DVDAp activity launch
[2011-03-21 16:46:53 - DVDAp] Automatic Target Mode: using device '0123456789ABCDEF'
[2011-03-21 16:46:53 - DVDAp] Uploading DVDAp.apk onto device '0123456789ABCDEF'
[2011-03-21 16:46:53 - DVDAp] Installing DVDAp.apk...
[2011-03-21 16:46:54 - DVDAp] Installation error: INSTALL_PARSE_FAILED_MANIFEST_MALFORMED
[2011-03-21 16:46:54 - DVDAp] Please check logcat output for more details.
[2011-03-21 16:46:54 - DVDAp] Launch canceled!

手動調整

DVDAp.DVDFullScreenAp">
改成
DVDFullScreenAp">
就可以正常執行嚕

透過Facebook分享

沒有留言: