Runtime.exec has problems dealing with spaces in arguments given. Lame resolution is to change the ~/Library/Application Support/apktool path to ~/Library/apktool. Fix is for OS X only. Do not think there is problems on other platforms with this.

This commit is contained in:
Kevin C. Krinke 2012-10-11 11:26:00 -04:00 committed by Connor Tumbleson
parent 8754fd196b
commit f9aaf2cc7e

View File

@ -546,7 +546,7 @@ final public class AndrolibResources {
/* store in user-home, for Mac OS X */
if (System.getProperty("os.name").equals("Mac OS X")) {
path = System.getProperty("user.home") + File.separatorChar +
"Library/Application Support/apktool/framework"; }
"Library/apktool/framework"; }
else {
path = System.getProperty("user.home") + File.separatorChar +
"apktool" + File.separatorChar + "framework";
@ -580,4 +580,4 @@ final public class AndrolibResources {
private String mMaxSdkVersion = null;
private String mTargetSdkVersion = null;
}
}