Launch failed: Installation failed. Failure [INSTALL_FAILED_TEST_ONLY: installPackageLI] #58

Closed
opened 2025-08-09 17:13:10 +00:00 by fergalmoran · 0 comments
Owner

Originally created by @yozachar on 10/14/2020

Configuration File:

{
    "configurations": [
        {
            "type": "android",
            "request": "launch",
            "name": "Android Launch",
            "appSrcRoot": "${workspaceRoot}/app/src/main",
            "apkFile": "${workspaceRoot}/app/build/outputs/apk/debug/app-debug.apk",
            "adbPort": 5037
        },
    {
        "type": "android",
        "request": "attach",
        "name": "Android Attach",
        "appSrcRoot": "${workspaceRoot}/app/src/main",
        "adbPort": 5037,
        "processId": "${command:PickAndroidProcess}"
    }
    ]
}

Build Output:

Checking build
Searching for devices...
Found 1 device
Deploying current build...
Installing...
Launch failed: Installation failed. Failure [INSTALL_FAILED_TEST_ONLY: installPackageLI]

OS: elementary OS
VS Code: 1.50.0
Extension: 1.3.2

*Originally created by @yozachar on 10/14/2020* Configuration File: ```json { "configurations": [ { "type": "android", "request": "launch", "name": "Android Launch", "appSrcRoot": "${workspaceRoot}/app/src/main", "apkFile": "${workspaceRoot}/app/build/outputs/apk/debug/app-debug.apk", "adbPort": 5037 }, { "type": "android", "request": "attach", "name": "Android Attach", "appSrcRoot": "${workspaceRoot}/app/src/main", "adbPort": 5037, "processId": "${command:PickAndroidProcess}" } ] } ``` Build Output: ``` Checking build Searching for devices... Found 1 device Deploying current build... Installing... Launch failed: Installation failed. Failure [INSTALL_FAILED_TEST_ONLY: installPackageLI] ``` **OS**: elementary OS **VS Code**: 1.50.0 **Extension**: 1.3.2
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/android-dev-ext#58
No description provided.