Apktool runs on android.
- first, add following lines to you custom Application's onCreate() method.
public class App extends Application {
@Override
public void onCreate() {
super.onCreate();
AndroidApktool.initAndroid(this);
}
}
- let's run apktool by:
AndroidApktool.run(new String[] { "d", apkPath, "-f", outputPath });
Copyright 2017 Kiva kiva515@foxmail.com
Code released under the MIT License.