Apktool: cant decompile app

Created on 4 Sep 2019  路  7Comments  路  Source: iBotPeaches/Apktool

Information

  1. latest
  2. windows
  3. playstore

Stacktrace/Logcat

W: null
Exception in thread "main" java.lang.NullPointerException
    at brut.androlib.res.data.value.ResValueFactory.factory(ResValueFactory.java:73)
    at brut.androlib.res.decoder.ARSCDecoder.readValue(ARSCDecoder.java:315)
    at brut.androlib.res.decoder.ARSCDecoder.readEntry(ARSCDecoder.java:241)
    at brut.androlib.res.decoder.ARSCDecoder.readTableType(ARSCDecoder.java:226)
    at brut.androlib.res.decoder.ARSCDecoder.readTableTypeSpec(ARSCDecoder.java:156)
    at brut.androlib.res.decoder.ARSCDecoder.readTablePackage(ARSCDecoder.java:118)
    at brut.androlib.res.decoder.ARSCDecoder.readTableHeader(ARSCDecoder.java:80)
    at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:47)
    at brut.androlib.res.AndrolibResources.getResPackagesFromApk(AndrolibResources.java:558)
    at brut.androlib.res.AndrolibResources.loadMainPkg(AndrolibResources.java:72)
    at brut.androlib.res.AndrolibResources.getResTable(AndrolibResources.java:64)
    at brut.androlib.Androlib.getResTable(Androlib.java:68)
    at brut.androlib.ApkDecoder.setTargetSdkVersion(ApkDecoder.java:193)
    at brut.androlib.ApkDecoder.decode(ApkDecoder.java:102)
    at brut.apktool.Main.cmdDecode(Main.java:166)
    at brut.apktool.Main.main(Main.java:81)

Steps to Reproduce

  1. `apktool d aaaa.apk

Questions to ask before submission

yes
cant decompile
yes

All 7 comments

seen similiar issues but haven't found solution anywhere please help.....

Probably will need an APK to investigate this further. The crash looks too low level to guess at this point.

Will re-open if APK provided.

Probably will need an APK to investigate this further. The crash looks too low level to guess at this point.

Will re-open if APK provided.

whatsapp

@anonforjustice, are you referring to the following app?

https://www.apkmirror.com/apk/whatsapp-inc/whatsapp/

There's a few Apps that the WhatsApp Inc. released.

For example, if you go to the following link...

https://www.apkmirror.com/apk/whatsapp-inc/

... and then scroll down to the All WhatsApp Inc. apps category, you'll notice 3 different apps there.

@iBotPeaches really needs to know the specific App (& it's version) as well as an attached txt file containing the logs that has/includes the information regarding the errors and such.

What you had reported is basically information that's Generic in nature without nothing to go with in figuring out what's going on.

This is not a lecture at all My Friend...

This is only informational to help you know the 'very basics` of reporting an issue.

In addition, if you perform a quick search for WhatsApp as reflected on the following link...

https://github.com/iBotPeaches/Apktool/issues?q=whatsapp

... You'll be able to locate other issues that may/might reflect the same/similar issue(s) as what your experiencing (via topic, OP information as well as the directions too) .

The issue https://github.com/iBotPeaches/Apktool/issues/2036 is just one example that was listed on the above search results.

Good Luck! :-)

~Ibuprophen

@anonforjustice, are you referring to the following app?

https://www.apkmirror.com/apk/whatsapp-inc/whatsapp/

There's a few Apps that the WhatsApp Inc. released.

For example, if you go to the following link...

https://www.apkmirror.com/apk/whatsapp-inc/

... and then scroll down to the All WhatsApp Inc. apps category, you'll notice 3 different apps there.

@iBotPeaches really needs to know the specific App (& it's version) as well as an attached txt file containing the logs that has/includes the information regarding the errors and such.

What you had reported is basically information that's Generic in nature without nothing to go with in figuring out what's going on.

This is not a lecture at all My Friend...

This is only informational to help you know the 'very basics` of reporting an issue.

In addition, if you perform a quick search for WhatsApp as reflected on the following link...

https://github.com/iBotPeaches/Apktool/issues?q=whatsapp

... You'll be able to locate other issues that may/might reflect the same/similar issue(s) as what your experiencing (via topic, OP information as well as the directions too) .

The issue #2036 is just one example that was listed on the above search results.

Good Luck! :-)

~Ibuprophen

sorry , i'm new here and thank you for response, i managed to decompile app succesfully

@anonforjustice , 驴te refieres a la siguiente aplicaci贸n?
https://www.apkmirror.com/apk/whatsapp-inc/whatsapp/
Hay algunas aplicaciones que se WhatsApp Inc.lanzaron.
Por ejemplo, si vas al siguiente enlace ...
https://www.apkmirror.com/apk/whatsapp-inc/
... y luego despl谩cese hacia abajo hasta la All WhatsApp Inc. appscategor铆a, ver谩 3 aplicaciones diferentes all铆.
@iBotPeaches realmente necesita conocer la aplicaci贸n espec铆fica (y su versi贸n), as铆 como un archivo txt adjunto que contenga los registros que tengan / incluyan la informaci贸n sobre los errores y dem谩s.
Lo que ha informado es b谩sicamente informaci贸n que est谩 Genericen la naturaleza, sin nada que ver con lo que est谩 sucediendo.
Esto no es una conferencia en absoluto Mi amigo ...
Esto es solo informativo para ayudarlo a conocer los "aspectos b谩sicos" de informar un problema.
Adem谩s, si realiza una b煤squeda r谩pida WhatsAppcomo se refleja en el siguiente enlace ...
https://github.com/iBotPeaches/Apktool/issues?q=whatsapp
... Podr谩 localizar otros problemas que pueden / podr铆an reflejar los mismos problemas similares a los que est谩 experimentando (a trav茅s del tema, la informaci贸n de OP y las instrucciones tambi茅n).
El problema # 2036 es solo un ejemplo que se enumer贸 en los resultados de b煤squeda anteriores.
隆Buena suerte! :-)
~ Ibuprophen

lo siento, soy nuevo aqu铆 y gracias por la respuesta, logr茅 descompilar la aplicaci贸n con 茅xito

Como hiciste para descompilar la apk?

@iBotPeaches Same thing happening on my end, here's the apk.

Was this page helpful?
0 / 5 - 0 ratings