-
Notifications
You must be signed in to change notification settings - Fork 67
异常处理
Wiki edited this page Sep 8, 2019
·
1 revision
当开发过程中由于合并错误,或者忘记了下沉接口或参数类到BaseModule导致出现编译异常,请在命令行执行以下命令解决错误,也可以在Gradle面板找到 grouter/GRouterFixRelease
执行。
./gradlew GRouterFixRelease
please in gradle.properties add GROUTER_SOURCE_PATH, e.g: GROUTER_SOURCE_PATH=app/src/main/java
解决方案:在 gradle.properties 增加以下配置
GROUTER_SOURCE_PATH=app/src/main/java
Grouter tips: Consider setting the experimental feature flag android.enableSeparateAnnotationProcessing=true in the gradle.properties file to run annotation processing in a separate task and make compilation incremental.
解决方案:在 gradle.properties 增加以下配置
android.enableSeparateAnnotationProcessing=true