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工程名称,即修改工程路径即可
 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章