Skip to content

Parse error when trying to execute apk #529

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

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

Parse error when trying to execute apk #529

iBotPeaches opened this issue Mar 18, 2015 · 3 comments

Comments

@iBotPeaches
Copy link
Owner

Original issue 418 created by mr.davidbauer on 2013-02-22T09:41:23.000Z:

What steps will reproduce the problem?

  1. apktool d com.metago.astro-1.apk
  2. apktool b com.metago.astro-1 (without changing nothing)
  3. com.metago.astro-1.apk under com.metago.astro-1/dist signed with debug.keystore
  4. Copied onto device and executed

What is the expected output? What do you see instead?

1.
C:\dec>apktool d com.metago.astro-1.apk
I: Baksmaling...
I: Loading resource table...
W: Skipping "android" package group
I: Loaded.
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\Users\DavidBauer\apktool\framework\1.apk
I: Loaded.
I: Regular manifest package...
I: Decoding file-resources...
W: Cant find 9patch chunk in file: "drawable/picture_selected_border.9.png". Renaming it to .png.
I: Decoding values */
XMLs...
I: Done.
I: Copying assets and libs...

2.
C:\dec>apktool b com.metago.astro-1
I: Checking whether sources has changed...
I: Smaling...
I: Checking whether resources has changed...
I: Building resources...
aapt: warning: string 'next' has no default translation in C:\dec\com.metago.astro-1\res; found: ja ko
I: Copying libs...
I: Building apk file...

  1. When clicking the apk in the device i get: Parse error. There was a problem parsing the package.

What version of the product are you using? On what operating system?
apktool 1.5.2
Windows 7 Enterprise 64bits
CPU Intel i7-2600 and 8Gb ram

Please provide any additional information below.

@iBotPeaches
Copy link
Owner Author

Comment #1 originally posted by connor.tumbleson on 2013-02-25T03:08:30.000Z:

Duplicated.

2747 KB/s (4704800 bytes in 1.672s)
pkg: /data/local/tmp/ASTRO_File_Manager_Browser_4_2_463.apk
Failure [INSTALL_PARSE_FAILED_MANIFEST_MALFORMED]

W/PackageParser( 9843): /data/local/tmp/ASTRO_File_Manager_Browser_4_2_463.apk (at Binary XML file line # 117): does not incude authorities attribute
W/ActivityManager( 498): No content provider found for permission revoke: file:///data/local/tmp/ASTRO_File_Manager_Browser_4_2_463.apk

Though is this an Apktool problem or special APK to prevent decompiling? I don't know yet.

@iBotPeaches
Copy link
Owner Author

Comment #2 originally posted by espeon.fox on 2013-04-02T19:26:02.000Z:

I got it, too- I decompiled achep's ICS theme, modified the xml's and removed the window animations, and recompiled. I signed it, and tried installing, by both adb and using ES file explorer to install. No dice either way.

@iBotPeaches
Copy link
Owner Author

Comment #3 originally posted by connor.tumbleson on 2013-04-06T18:33:39.000Z:

I've used the exact AndroidManifest from the original APK and packaged in the rebuilt apk and it still failed.

Can't really track this down any further, but this APK has a ton of unknown files present which might be the cause. So I'm closing it as a duplicate.

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