You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
dependencies {
api fileTree(include: ['*.jar'], dir: 'libs')
api 'com.jakewharton:butterknife:10.2.3'
api 'androidx.lifecycle:lifecycle-extensions:2.2.0'
api "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
api 'androidx.core:core-ktx:1.3.2'
api "org.jetbrains.kotlinx:kotlinx-coroutines-core:1.4.3"
api 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.4.3'
api "androidx.lifecycle:lifecycle-viewmodel-ktx:$ktxVersion"
api "androidx.lifecycle:lifecycle-livedata-ktx:$ktxVersion"
api "androidx.activity:activity-ktx:1.2.2"
api 'androidx.fragment:fragment-ktx:1.3.2'
}`
and this is my base module gradle
`buildscript {
ext.kotlin_version = '1.4.21'
}
this is my project gradle
apply plugin: 'kotlin-android'apply plugin: 'kotlin-kapt'
apply plugin: 'kotlin-android-extensions'
android {
compileSdkVersion 30
buildToolsVersion "30.0.3"
defaultConfig {
minSdkVersion 16
targetSdkVersion 30
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
kapt {
arguments {
arg("AROUTER_MODULE_NAME", project.getName())
}
}
}
}
def ktxVersion = "2.3.0"
dependencies {
api fileTree(include: ['*.jar'], dir: 'libs')
api 'com.jakewharton:butterknife:10.2.3'
api 'androidx.lifecycle:lifecycle-extensions:2.2.0'
api "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
api 'androidx.core:core-ktx:1.3.2'
api "org.jetbrains.kotlinx:kotlinx-coroutines-core:1.4.3"
api 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.4.3'
api "androidx.lifecycle:lifecycle-viewmodel-ktx:$ktxVersion"
api "androidx.lifecycle:lifecycle-livedata-ktx:$ktxVersion"
api "androidx.activity:activity-ktx:1.2.2"
api 'androidx.fragment:fragment-ktx:1.3.2'
}`
and this is my base module gradle
`apply plugin: 'com.android.application'
apply plugin: 'org.greenrobot.greendao'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-android-extensions'
apply plugin: 'kotlin-kapt'
android {
compileSdkVersion 30
buildToolsVersion "30.0.3"
defaultConfig {
applicationId "com.nucarf.member"
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion 30
}
}
repositories {
flatDir {
dirs 'libs'
}
}
pendencies {
}
this is my app gradle ,app depends on base module .but in my app 's build dir generated/ap_generated_sources,can't generate code
`
The text was updated successfully, but these errors were encountered: