Android Studio | 连接手机设备后,启动App时出现:Waiting For DebuggerApplication (App名)...


在这种情况下,打开目录文件,出现Is:/storage/emulated/: Permission denied


问题分析:

  • 以上两种情况表明应用程序试图访问Android设备的存储空间中的**/storage/emulated/**目录,但是没有足够的权限去执行这个操作。

解决办法:

1、在命令行输入:

复制代码
adb shell am clear-debug-app

2、输入exit ,退出adb

3、赋予adb权限

复制代码
adb root

4、赋予成功则会出现:restarting adbd as root

相关推荐
火柴就是我5 小时前
让我们实现一个更好看的内部阴影按钮
android·flutter
砖厂小工12 小时前
用 GLM + OpenClaw 打造你的 AI PR Review Agent — 让龙虾帮你审代码
android·github
张拭心13 小时前
春节后,有些公司明确要求 AI 经验了
android·前端·人工智能
张拭心13 小时前
Android 17 来了!新特性介绍与适配建议
android·前端
Kapaseker15 小时前
Compose 进阶—巧用 GraphicsLayer
android·kotlin
黄林晴15 小时前
Android17 为什么重写 MessageQueue
android
阿巴斯甜2 天前
Android 报错:Zip file '/Users/lyy/develop/repoAndroidLapp/l-app-android-ble/app/bu
android
Kapaseker2 天前
实战 Compose 中的 IntrinsicSize
android·kotlin
xq95272 天前
Andorid Google 登录接入文档
android
黄林晴2 天前
告别 Modifier 地狱,Compose 样式系统要变天了
android·android jetpack