-
Notifications
You must be signed in to change notification settings - Fork 17
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
Issue: Error occurred while instrumenting #6
Comments
I also encountered this problem. Have you solved this? Look forward to getting some hints. Thanks! |
Same issue observed here while trying to instrument an app. It would be great if the error message was more descriptive: Exception in thread "main" java.lang.Error: Error occurred while instrumenting. exit code is 1 For example, does the error have anything to do with the server IP? |
I managed to eliminate this Exception by using apktool_2.3.3.jar instead of the bin/apktool_2.0.0rc4.jar. BTW, android/debug.keystore is expired. It should be re-generated or copied from the Android Studio one. |
Hello, I resolved the issue by using a newer version of the apktool as suggested by @jwlin, and before instrumenting the app, I removed the content of the folder ~/Library/apktool/ (MacOs). This may due to the apktool's copy of the framework is out of date or incompatible when you instrument multiple apps consecutively. After emptying the framework dir, it will be re-created with a newer SDK version. |
hello, could you introduce how to use apktool_2.3.3.jar ? i dont find the way to change the apktool_2.0.0rc4.jar, thank you very much |
Hi,
Thank you for contributing this useful tool : )
I tried to instrument several popular apps on Google Play and encountered similar problems:
The command line:
The log.txt file:
Sample apps for repeating the error(s):
Thanks!
The text was updated successfully, but these errors were encountered: