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

java.io.IOException: error=7, Argument list too long #1612

Closed
kevin4936 opened this issue Sep 11, 2017 · 1 comment
Closed

java.io.IOException: error=7, Argument list too long #1612

kevin4936 opened this issue Sep 11, 2017 · 1 comment

Comments

@kevin4936
Copy link

Information

  1. Apktool Version (apktool -version) - 2.2.4
  2. Operating System (Mac, Linux, Windows) - debian Linux
  3. APK From? (Playstore, ROM, Other) - From https://bitbucket.org/iBotPeaches/apktool/downloads/

Stacktrace/Logcat

when I exec >./apktool.sh b myapp
the log is:

I: Using Apktool 2.2.4
I: Checking whether sources has changed...
I: Checking whether resources has changed...
I: Building apk file...
.............
at brut.util.OS.exec(OS.java:97)
	at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:435)
	... 5 more
Caused by: java.io.IOException: Cannot run program "/tmp/brut_util_Jar_8465357062502397082.tmp": error=7, Argument list too long
	at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048)
	at brut.util.OS.exec(OS.java:90)
	... 6 more
Caused by: java.io.IOException: error=7, Argument list too long
	at java.lang.UNIXProcess.forkAndExec(Native Method)
	at java.lang.UNIXProcess.<init>(UNIXProcess.java:247)
	at java.lang.ProcessImpl.start(ProcessImpl.java:134)
	at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)
	... 7 more

Steps to Reproduce

1.>./apktool.sh d myapp.apk
2. >./apktool.sh b myapp

Questions to ask before submission

  1. Have you tried apktool d, apktool b without changing anything? NO
  2. If you are trying to install a modified apk, did you resign it? NO
  3. Are you using the latest apktool version? YES
@iBotPeaches
Copy link
Owner

Duplicate of #1272

@iBotPeaches iBotPeaches marked this as a duplicate of #1272 Sep 11, 2017
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

2 participants