Installation did not succeed

Installation did not succeed.

The application could not be installed.

List of apks:
[0] ‘E:\CODE\Demo\XXX\App\XXX\app\build\intermediates\apk\debug\app-debug.apk’
Installation failed due to: ‘Failed to commit install session 1048924868 with command package install-commit 1048924868. Error: -127: Package
com.sh.demo attempting to declare permission com.sh.demo.andpermission.bridge in group com.moma.android_pda.andpermission owned by package com.sh.demo with incompatible certificate’
Retry
Failed to launch an application on all devices

解决办法

在功能清单文件中添加权限


applicationId:App 包名

你可能感兴趣的:(android-studio,App,Installation,andpermission,bridge)