When installing a debug package, the prompt is as follows
C:\Users\test>adb install "C:\Users\test\Downloads\test.apk"
Performing Streamed Install
adb: failed to install C:\Users\test\Downloads\test.apk: Failure [INSTALL_FAILED_TEST_ONLY: installPackageLI]
Solution:
adb install -t "C:\Users\test\Downloads\test.apk"
ADB install has lrtsdg six options
-L lock the application
– R replace the existing application, that is, force installation
– t allow the test package
– s to install the application on the SD card
– D allow it to be installed, that is, the installed version is lower than that on the mobile phone
– G grant all runtime permissions to the application
Read More:
- How to Solve Cocoapods Installation Failure
- How to Solve Chrome error: ERR_CACHE_READ_FAILURE
- How to Solve Maven Error: Failure to transfer com.thoughtworks.xstream:xstream:jar:1.3.1 from https://repo.maven.ap
- Start failure: spawn CMD enoent error (How to Fix)
- How to Fix Error 1069:The service did not start due to a logon failure
- [app] install and compile libimobililedevice, How to solve the error
- How to Solve Docker failed to initialize Error
- R language: How to Solve DMwR Install Error
- How to Solve Error: Failed to load ApplicationContext
- How to Solve J-link Error (Two Command Errors & Solution)
- How to Solve Error while executing: am start -n
- How to Solve elasticsearch and logstash Install Error
- How to Solve [error] malformed \uxxxx encoding Error
- How to Solve Expdp Error ORA-39126
- How to Solve Brew install golangci-lint Error
- How to Solve Macbookm1 pod error
- How to Solve install dm.xmlsec.binding Error
- How to Solve ImportError: cannot import name gof
- How to Solve Keras calls plot_model error
- VScode: How to Solve golong plug-in install Error