Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
554 views
in Technique[技术] by (71.8m points)

[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]


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)
等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...