在线观看不卡亚洲电影_亚洲妓女99综合网_91青青青亚洲娱乐在线观看_日韩无码高清综合久久

鍍金池/ 問答/Java  Android  物聯(lián)網(wǎng)/ 電腦插上手機(jī),運(yùn)行 cordova run android 結(jié)果打包成功,但手機(jī)

電腦插上手機(jī),運(yùn)行 cordova run android 結(jié)果打包成功,但手機(jī)的頁面卻無法顯示頁面,為什么?

手機(jī)連著電腦,并且打開的調(diào)試工具,
運(yùn)行 cordova run android 結(jié)果打包成功,但手機(jī)的頁面卻無法顯示頁面,為什么?

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>

是我哪里出錯(cuò)了? 困擾了一天
求大神指教...

回答
編輯回答
陪我終

輸出當(dāng)中有明確的錯(cuò)誤提示:

INSTALL_FAILED_UPDATE_INCOMPATIBLE: Package cn.evun.qns signatures do not match the previously installed version; ignoring!

意思是你手機(jī)上有個(gè)包名相同但簽名不同的app阻止了這個(gè)app的安裝,你需要在手機(jī)上找到那個(gè)app,卸載掉重新來過,如果實(shí)在找不到,也可以把包名改下,重來過。

2017年11月21日 11:28