esiop.blogg.se

Error installing apk android studio 2.4
Error installing apk android studio 2.4









Package Group 0 id=0x7f packageCount=1 name= ➜ 2514 aapt d resources Twitter.apk | grep 'Package Group' -C 10 With that knowledge, I could tweak Apktool to meet that behavior. I’ve been messing around with Instant apps like the discussion here - and trying to figure out how to make Android Studio be very verbose with all its commands to gradle/aapt2 so I can figure out the steps that it does to produce a binary from source. This of course is highly dependent on having the old application which true app builders do not. So when aapt2 is looking for resources the -I include parameter includes the old application which has the 0x7e resources to find mapping.

error installing apk android studio 2.4

That is why installing the application itself, but lying around the pgkId works. So when you try and build you get a framework missing exception. The way this works is that Apktool extracts needed frameworks (1, 126) as requirements but skips 127 ( 0x7F) as that is private.

  • Install the application itself as a package (rename to 126 - 0x7e).
  • error installing apk android studio 2.4

    This works perfectly for Twitter, given the following patch above. *renaming 127.apk to 126.apk in framework folder Java -jar apktool.jar if snapchat-11-21-1-37.apk W: C:\Users\sunep\Downloads\snapps\AndroidManifest.xml:403: error: Error: No resource type specified (at 'resource' with value : could not exec (exit code = 1): I: Baksmaling assets/secondary-dex/dummy_module_x.

    error installing apk android studio 2.4

    W: Could not decode attr value, using undecoded value instead: ns=android, name=resource, value=0x7b010000 I: Loading resource table from file: C:\Users\sunep\AppData\Local\apktool\framework\1.apk I: Decoding Shared Library (_specs_crypto_lib), pkgId: 123 I: Decoding Shared Library (_module_dynamic2), pkgId: 126 I’m pretty sure the same issue occurs with the latest Snapchat apk:Ĭonsole output java -jar apktool.jar d snapchat-11-21-1-37.apk -o snapps W: /opt/testapk/twitter/AndroidManifest.xml:831: error: Error: No resource type specified (at 'resource' with value : could not exec (exit code = 1): | I: Checking whether resources has changed. W: Could not decode attr value, using undecoded value instead: ns=android, name=resource, value=0x7e010000 I: Loading resource table from file: /root/.local/share/apktool/framework/1.apk I: Decoding AndroidManifest.xml with resources. Update, forgot to write the logs, here they are : You can decompile it, but you are unable to recompile it again even if no changes were made in the code.

    error installing apk android studio 2.4

    Believe it or not, if i decompile an apk and try to recompile it again without any changes in code it fails.











    Error installing apk android studio 2.4