(узел: 8432) UnhandledPromiseRejectionWarning - PullRequest
0 голосов
/ 07 июня 2018

Я пытаюсь запустить на устройстве Android.эта ошибка будет показана. Кто-то, пожалуйста, помогите мне.

BUILD SUCCESSFUL in 29s <br>
46 actionable tasks: 3 executed, 43 up-to-date
Built the following apk(s):
        E:\Ionic3 Projects\myApp\platforms\android\app\build\outputs\apk\debug\app-debug.apk

ANDROID_HOME=C:\Users\Sourav\AppData\Local\Android\sdk
JAVA_HOME=C:\Program Files\Java\jdk1.8.0_161
No target specified, deploying to device 'Q37300630MS08002131'.

none
Skipping build...
Built the following apk(s):
        E:\Ionic3 Projects\myApp\platforms\android\app\build\outputs\apk\debug\app-debug.apk

Using apk: E:\Ionic3 Projects\myApp\platforms\android\app\build\outputs\apk\debug\app-debug.apk

Package name: io.ionic.starter
(node:8432) UnhandledPromiseRejectionWarning: Error: C:\Users\Sourav\AppData\Local\Android\sdk\platform-tools\adb.exe: Command failed with exit code 1 Error output:
adb: failed to install E:\Ionic3 Projects\myApp\platforms\android\app\build\outputs\apk\debug\app-debug.apk: Failure [INSTALL_FAILED_UPDATE_INCOMPATIBLE: Package io.ionic.starter signatures do not match the previously installed version; ignoring!]
    at ChildProcess.whenDone (E:\Ionic3 Projects\myApp\platforms\android\cordova\node_modules\cordova-common\src\superspawn.js:169:23)
    at ChildProcess.emit (events.js:159:13)
    at maybeClose (internal/child_process.js:943:16)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:220:5)
(node:8432) 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:8432) [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.

[OK] Your app has been deployed.
     Did you know you can live-reload changes from your app with --livereload?

1 Ответ

0 голосов
/ 07 июня 2018

Пакет io.ionic.starter подписи не соответствуют ранее установленной версии

Удалите приложение с вашего устройства и соберите его снова с помощью CLI

Добро пожаловать на сайт PullRequest, где вы можете задавать вопросы и получать ответы от других членов сообщества.
...