首页 > 其他分享 >Arouter 无法找到 匹配路径(no match path)

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

时间:2022-09-26 15:33:20浏览次数:52  
标签:kapt no VERSION Arouter Integer parseInt path match

检查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'
}
 

标签:kapt,no,VERSION,Arouter,Integer,parseInt,path,match
From: https://www.cnblogs.com/baiyi168/p/16731109.html

相关文章