RN跑安卓报错 INSTALL_PARSE_FAILED_INC

2018-01-26  本文已影响0人  复古先生

* What went wrong:

Execution failed for task ':app:installDebug'.

> com.android.builder.testing.api.DeviceException: com.android.ddmlib.InstallExc

eption: INSTALL_PARSE_FAILED_INCONSISTENT_CERTIFICATES

* Try:

Run with --stacktrace option to get the stack trace. Run with --info or --debug

option to get more log output.

解决方法:

尝试下直接安卓调试包(根目录下运行):

adb install android/app/build/outputs/apk/app-debug.apk

上一篇下一篇

猜你喜欢

热点阅读