-
Notifications
You must be signed in to change notification settings - Fork 477
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
INSTALL_FAILED_TEST_ONLY: installPackageLI #493
Comments
Prolly it's related to Android Studio 3.0 - it sets |
yes setting android:testOnly="false" for debug manifest works |
I'm Facing the same issue. I'm using spoon runner 1.7.1 jar file. It was working fine for me and it stopped working all of a sudden. I have not made any upgrades to the sdk or to the environment. Is there any other way to debug whats going ? |
For all having this issue: it's possible you are trying to use APKs built by Android Studio when using the "run as" feature (running tests or app from Android studio). Such APKs are buit with the "testOnly" flag. Try to rebuild your apks with gradle |
From https://developer.android.com/studio/run/index.html
Just go to Build > Build APK(s) to have a non testable release apk that you can submit :) Tested on Android Studio 3.5 |
keep getting below exception
com.android.ddmlib.InstallException: INSTALL_FAILED_TEST_ONLY: installPackageLI
using spoon-runner-2.0.0-20171020.002642-36
command used:
java -jar spoon-runner.jar $TEST_APK $OTHER_APK
The text was updated successfully, but these errors were encountered: