Panaviotis
Lurker
Hi everybody.
Android Studio is much too heavy for my laptop...so...
I 'm trying to build an android app using VSCode with Android extension by adelphes.
I connect my phone to the usb port and with the command line:
In my VSCode I have opened the project and have made the launch.json:
I run it and get this message:
What can I do to fix it? (I think on my phone I should see some message asking me if I allow to install the app, but no such message appears)
Android Studio is much too heavy for my laptop...so...
I 'm trying to build an android app using VSCode with Android extension by adelphes.
I connect my phone to the usb port and with the command line:
In my VSCode I have opened the project and have made the launch.json:
Java:
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "android",
"request": "attach",
"name": "Android Attach",
"appSrcRoot": "${workspaceRoot}/src/main",
"adbSocket": "localhost:5037",
"processId": "${command:PickAndroidProcess}"
},
{
"type": "android",
"request": "launch",
"name": "Android launch",
"appSrcRoot": "${workspaceRoot}/src/main",
"apkFile": "${workspaceRoot}/build/outputs/apk/debug/app-debug.apk",
"adbSocket": "localhost:5037"
}
]
}
I run it and get this message:
Checking build
Searching for devices...
Found 1 device
Deploying current build...
Installing...
Launch failed: Installation failed. Failure [INSTALL_FAILED_TEST_ONLY: installPackageLI]
What can I do to fix it? (I think on my phone I should see some message asking me if I allow to install the app, but no such message appears)