Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

apktool outputs AndroidManifest.xml with missing attribute names (again) #782

Closed
iBotPeaches opened this issue Mar 18, 2015 · 2 comments
Closed

Comments

@iBotPeaches
Copy link
Owner

Original issue 673 created by shirokuroneko on 2014-08-25T19:28:17.000Z:

Seems to be exactly like issue # 512 (https://code.google.com/p/android-apktool/issues/detail?id=512), but present in apktool 2.0.0-b9.

What steps will reproduce the problem?

  1. apktool d ly.secret.android.apk

What is the expected output? What do you see instead?
I: Using Apktool 2.0.0-Beta9 on secret.apk
I: Loading resource table...
I: Loading resource table...
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: /Users/leandrogracia/Library/apktool/framework/1.apk
I: Regular manifest package...
[Fatal Error] AndroidManifest.xml:2:41: Element type "manifest" must be followed by either attribute specifications, ">" or "/>".
I: Decoding file-resources...
I: Decoding values / XMLs...
I: Baksmaling...
I: Copying assets and libs...
I: Copying unknown files/dir...
I: Copying original files...

Then, attributes are missing in AndroidManifest.xml:
<?xml version="1.0" encoding="utf-8"?>
<manifest android:versionCode="1600080" ="7" android:installLocation="internalOnly" package="ly.secret.android"
xmlns:android="http://schemas.android.com/apk/res/android">
<uses-permission ="android.permission.INTERNET" />
<uses-permission ="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission ="android.permission.ACCESS_NETWORK_STATE" />
(...)
<application ="@style/SecretApplicationTheme" ="@string/app_name" ="@drawable/icon" ="true" ="true" ="true">
<meta-data ="com.google.android.gms.version" ="@integer/google_play_services_version" />
<activity ="@string/app_name" ="o.cz" ="singleTask" ="portrait" ="adjustResize" />
<activity ="@string/app_name" =".ui.MainActivity" ="singleTask" ="portrait">
(...)

What version of the product are you using? On what operating system?
apktool 2.0.0-b9 on Mac OS X

Please provide any additional information below.
Play store link: https://play.google.com/store/apps/details?id=ly.secret.android

@iBotPeaches
Copy link
Owner Author

Comment #1 originally posted by connor.tumbleson on 2014-08-26T21:17:09.000Z:

Could not duplicate in latest source.

@iBotPeaches
Copy link
Owner Author

Comment #2 originally posted by shirokuroneko on 2014-08-26T21:40:03.000Z:

Sorry, my mistake. I understood the fix for issue # 512 was included in 2.0.0-b9.

I've found a different issue with top of tree code, however. I'll file a separate bug.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant