Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Cannot specify --frame-path on apktool b[uild] #538
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [/home/..../aapt, p, --min-sdk-version, 4, --target-sdk-version, 15, -F, /tmp/APKTOOL4290744854266415916.tmp, -0, arsc, -I, /var/www/apktool/framework/1.apk, -S, /tmp/tmpbpYpHT/..../res, -M, /tmp/tmpbpYpHT/..../AndroidManifest.xml]
Our operations team wants the framework folder checked into source, not located in the home directory. In fact, the linux user executing apktool doesn't have write permission to the root of their home directory, so they can't create the default one on the fly.
You allow specifying --framework-path for decode, doesn't it makes sense to have symmetry for build as well?
What steps will reproduce the problem?
Comment #1 originally posted by connor.tumbleson on 2013-03-14T21:07:30.000Z:
Making a new user (in this case "brandon"), then chown-ing his /home folder to root prevents rebuild.
2 ways to fix
Any opinion on a preferred method?