Failure [INSTALL_FAILED_TEST_ONLY: installPackageLI]
Today adb command to install apk,prompted the following error:.
Failure [INSTALL_FAILED_TEST_ONLY: installPackageLI]
Solution:
Method 1:
Change android:testOnly=”true” to android:testOnly=”false” in AndroidManifest.xml, or just remove it.
Method 2:
adb push .apk /tmp
adb shell pm install -t /tmp/.apk
Method 3:
adb install -t *.apk
Read More:
- APK Install Error: Failure [INSTALL_FAILED_TEST_ONLY: installPackageLI]
- Vagrant up Error: Warning: Authentication failure. Retrying…[How to Solve]
- [Solved] JDBC error: Communications link failure
- How to Solve Error: Failure [INSTALL_FAILED_TEST_ONLY: installPackageLI]
- Harmony OS Error: Failure[INSTALL_FAILED_DEVICE_NOT_SUPPORT_ERROR]
- [Solved] Unity Package Error: FAILURE: Build failed with an exception.
- How to Solve Cocoapods Installation Failure
- [Solved] Execution failed for task ‘:app:processDebugResources‘. > A failure occurred while executing com.and
- HTTP Error 500.30 – ANCM In-Process Start Failure
- Cobbler status error pxe-e61: Media test failure, check cable
- ktor org.jetbrains:kotlin-css-jvm Dependency Failure [Solved]
- How to Solve Chrome error: ERR_CACHE_READ_FAILURE
- [Solved] Error: Failure while executing; `tar –extract –no-same-owner –file /Users/wangchuangyan/Library/C
- Start failure: spawn CMD enoent error (How to Fix)
- [Solved] git error: RPC failed; curl 56 Recv failure:Connection was resetB/s
- “Error 0162 – Setup data integrity check failure” after updating BIOS via Thinkvantage
- [Solved] Unity Import Xcode Project Error: iOS framework addition failed due to a CocoaPods installation failure.
- [Solved] Hive tez due to: ROOT_INPUT_INIT_FAILURE java.lang.IllegalArgumentException: Illegal Capacity: -38297
- [Solved] ClientError.Security.Unauthorized: The client is unauthorized due to authentication failure.
- How to Fix Error 1069:The service did not start due to a logon failure