aleyn97 / MVVMLin

一个基于MVVM用Kotlin+Retrofit+协程+Databinding+LiveData来封装的快速开发框架
Apache License 2.0
696 stars 105 forks source link

模拟器可以运行到手机上提示报错 #25

Open a120476536 opened 3 years ago

a120476536 commented 3 years ago

手机上运行报错。 `01/28 14:29:00: Launching 'app' on HTC HTC E9pw. Installation did not succeed. The application could not be installed: INSTALL_FAILED_DEXOPT

List of apks: [0] 'D:\asProject\MVVMLin\app\build\outputs\apk\debug\app-debug.apk' The device might have stale dexed jars that don't match the current version (dexopt error).`

build 过程中提示 ANTLR Tool version 4.5.3 used for code generation does not match the current runtime version 4.7.1ANTLR Runtime version 4.5.3 used for parser compilation does not match the current runtime version 4.7.1ANTLR Tool version 4.5.3 used for code generation does not match the current runtime version 4.7.1ANTLR Runtime version 4.5.3 used for parser compilation does not match the current runtime version 4.7.1[WARN] Incremental annotation processing requested, but support is disabled because the following processors are not incremental: androidx.room.RoomProcessor (DYNAMIC).

111111