Arouter 无法找到 匹配路径(no match path)

检查module是否采用了kotlin混合编程,如果是需要加上

apply plugin: 'kotlin-kapt'
defaultConfig {
minSdkVersion Integer.parseInt(MIN_SDK_VERSION)
targetSdkVersion Integer.parseInt(TARGET_SDK_VERSION)
versionCode 1
versionName "1.0"

testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
consumerProguardFiles "consumer-rules.pro"
javaCompileOptions {
annotationProcessorOptions {
arguments = [moduleName: project.getName()]
includeCompileClasspath = true
}
}
}
dependencies {
kapt 'com.alibaba:arouter-compiler:1.1.4'
}
 
posted on   白衣雨果  阅读(263)  评论(0编辑  收藏  举报
努力加载评论中...

点击右上角即可分享
微信分享提示