Android studio 工具中的“Attach Debugger to Android Process”无效,没反应 解决方法

1.遇到这种问题,可以修改 app gradle文件中的applicationId即可

2.若运行apk出现以下错误:

adb shell am start -n "com.*" -a android.intent.action.MAIN -c android.intent.category.LAUNCHER

Unexpected error while executing: am start -n "com.*" -a android.intent.action.MAIN -c android.intent.category.LAUNCHER

Error while Launching activity

解决:更改app工程名称,即修改工程路径即可
 

你可能感兴趣的:(android,jni)