为什么android run 里没有手机,电脑插上手机,运行 cordova run android 结果打包成功,但手机的页面却无法显示页面,为什么?...

手机连着电脑,并且打开的调试工具,

运行 cordova run android 结果打包成功,但手机的页面却无法显示页面,为什么?

BUILD SUCCESSFUL in 2s

47 actionable tasks: 1 executed, 46 up-to-date

Built the following apk(s):

E:\qns-mobile\platforms\android\app\build\outputs\apk\debug\app-debug.apk

ANDROID_HOME=C:Program FilesAndroidandroid-sdk

JAVA_HOME=C:Program FilesjavaJDKjdk

No target specified, deploying to device 'KVPBB18209202450'.

none

Skipping build...

Built the following apk(s):

E:\qns-mobile\platforms\android\app\build\outputs\apk\debug\app-debug.apk

Using apk: E:qns-mobileplatformsandroidappbuildoutputsapkdebugapp-debug.apk

Package name: cn.evun.qns

(node:25828) UnhandledPromiseRejectionWarning: Error: C:Program FilesAndroidandroid-sdkplatform-toolsadb.exe: Command failed with exit code 1 Error output:

adb: failed to install E:qns-mobileplatformsandroidappbuildoutputsapkdebugapp-debug.apk: Failure [INSTALL_FAILED_UPDATE_INCOMPATIBLE: Package cn.evun.qns signatures do not match the previously installed version; ignoring!]

at ChildProcess.whenDone (E:\qns-mobile\platforms\android\cordova\node_modules\cordova-common\src\superspawn.js:169:23)

at emitTwo (events.js:126:13)

at ChildProcess.emit (events.js:214:7)

at maybeClose (internal/child_process.js:925:16)

at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)

(node:25828) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)

(node:25828) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future,

promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

PS E:qns-mobile>

是我哪里出错了? 困扰了一天

求大神指教...

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值