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

[BUG v2.5.0] - NullPointerException (OS.rmdir) #2455

Closed
enovella opened this issue Dec 2, 2020 · 3 comments · Fixed by #2458
Closed

[BUG v2.5.0] - NullPointerException (OS.rmdir) #2455

enovella opened this issue Dec 2, 2020 · 3 comments · Fixed by #2458
Labels
Milestone

Comments

@enovella
Copy link

enovella commented Dec 2, 2020

Information

  1. Apktool Version (apktool -version) - v2.5.0
  2. Operating System (Mac, Linux, Windows) - Linux Ubu18.04
  3. APK From? (Playstore, ROM, Other) - https://play.google.com/store/apps/details?id=com.bt.btsport&hl=en&gl=US

Stacktrace/Logcat

>  apktool d -f --no-src -o /tmp/ /home/edu/apks/skyuk/com.bt.btsport.apk
Exception in thread "main" java.lang.NullPointerException
	at brut.util.OS.rmdir(OS.java:41)
	at brut.util.OS.rmdir(OS.java:44)
	at brut.androlib.ApkDecoder.decode(ApkDecoder.java:95)
	at brut.apktool.Main.cmdDecode(Main.java:179)
	at brut.apktool.Main.main(Main.java:82)
@iBotPeaches
Copy link
Owner

Thanks for the report. The first issue is an issue we are tracking here: #1719 for those multiple duplicate res types.

The 2nd issue looks caused by first.

@iBotPeaches
Copy link
Owner

Re-opening for 2nd error and removing 1st

@iBotPeaches iBotPeaches reopened this Dec 2, 2020
@iBotPeaches iBotPeaches changed the title [BUG v2.5.0] - NullPointerException (OS.rmdir) and AndrolibException (ARSCDecoder) [BUG v2.5.0] - NullPointerException (OS.rmdir) Dec 2, 2020
@iBotPeaches iBotPeaches added the Bug label Dec 2, 2020
@iBotPeaches
Copy link
Owner

➜  2446 apktool d -f --no-src -o /tmp/ PlayStation\ App_v20.9.5_apkpure.com.apk 
I: Using Apktool 2.5.0 on PlayStation App_v20.9.5_apkpure.com.apk
I: Loading resource table...
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: /home/ibotpeaches/.local/share/apktool/framework/1.apk
I: Regular manifest package...
I: Decoding file-resources...
I: Decoding values */* XMLs...
I: Copying raw classes.dex file...
I: Copying raw classes2.dex file...
I: Copying assets and libs...
I: Copying unknown files...
I: Copying original files...
➜  2446 

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

Successfully merging a pull request may close this issue.

2 participants