[Fatal Error] AndroidManifest.xml:1:1: Content is not allowed in prolog.
549 views
Skip to first unread message
test test
unread,
Oct 12, 2016, 10:09:17 AM10/12/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to apktool
Hi All ,
I am new to apktool .
I recently tried compiling and then recompiling with no changes made.
But i encountered the following error :
I: Using Apktool 2.2.0 I: Checking whether sources has changed... I: Smaling smali folder into classes.dex... [Fatal Error] AndroidManifest.xml:1:1: Content is not allowed in prolog. I: Checking whether resources has changed... I: Copying raw resources... I: Building apk file... I: Copying unknown files/dir...
Did i miss a step ?
I used
java -jar apktool.jar b ./test
to decompile.
and java -jar apktool.jar d -r -f myapp.apk
to compile.
Connor Tumbleson
unread,
Oct 12, 2016, 1:55:55 PM10/12/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to apktool
Hi,
Because you skipped resources (-r) the AndroidManifest file is still in its compiled form. Apktool is improperly trying to work with it to extract information, however it can't because it is not in XML. This is a bug set to be resolved for the 2.2.1 release.
Thanks for reporting, Connor
yinyin li
unread,
Oct 29, 2016, 3:26:35 AM10/29/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message