[cordova]安卓手机已经开启开发者选项,为何在WebStorm中点Run后无法输出到手机中运行,提示权限被拒?

图片描述

BUILD SUCCESSFUL

Total time: 18.944 secs

Built the following apk(s):

E:/Projects/example9/platforms/android/build/outputs/apk/android-debug.apk

ANDROID_HOME=D:Program Files (x86)Androidandroid-sdk
JAVA_HOME=D:Program FilesJavajdk1.8.0_102

Skipping build...
Built the following apk(s):

E:/Projects/example9/platforms/android/build/outputs/apk/android-debug.apk

Using apk: E:/Projects/example9/platforms/android/build/outputs/apk/android-debug.apk
Package name: app.example.nine

Error: Failed to install apk to device: [ 2%] /data/local/tmp/android-debug.apk
[ 4%] /data/local/tmp/android-debug.apk
.........
[ 99%] /data/local/tmp/android-debug.apk
[100%] /data/local/tmp/android-debug.apk
open: Permission denied
open: Permission denied

pkg: /data/local/tmp/android-debug.apk

Failure [INSTALL_CANCELED_BY_USER]

阅读 2.7k
撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进
推荐问题
宣传栏