Launch failed: Installation failed. Failure [INSTALL_PARSE_FAILED_UNEXPECTED_EXCEPTION: Failed to parse /data/app/vmdl625946828.tmp/base.apk: AndroidManifest.xml] #41

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

Originally created by @edchelstephens on 5/18/2021

Hi, I encountered this issue while attempting to launch:

Checking build
Warning: Build is not up-to-date. Source files may not match execution when debugging.
Searching for devices...
Found 1 device
Deploying current build...
Installing...
Launch failed: Installation failed. Failure [INSTALL_PARSE_FAILED_UNEXPECTED_EXCEPTION: Failed to parse /data/app/vmdl625946828.tmp/base.apk: AndroidManifest.xml]

Here's my launch.json file

{
"version": "0.2.0",
"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}"
}
]
}

How do I fix this?

*Originally created by @edchelstephens on 5/18/2021* # Hi, I encountered this issue while attempting to launch: Checking build Warning: Build is not up-to-date. Source files may not match execution when debugging. Searching for devices... Found 1 device Deploying current build... Installing... **Launch failed: Installation failed. Failure [INSTALL_PARSE_FAILED_UNEXPECTED_EXCEPTION: Failed to parse /data/app/vmdl625946828.tmp/base.apk: AndroidManifest.xml]** # Here's my launch.json file { "version": "0.2.0", "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}" } ] } ## How do I fix this?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

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