(Actually, I thought I had updated to Bumblebee
, but I get a notification like the image.)
A few days ago, I ran Android Studio
as usual and proceeded with the update according to the update notification.
But when I try to build today, it doesn't work at all.
At first I got this problem and in gradle I modified the nav_version like the solution in the link.
but after rebuild I got the following error:
Dependency 'androidx.navigation:navigation-ui-ktx:2.5.0-alpha01' requires 'compileSdkVersion' to be set to 31 or higher.
Compilation target for module ':app' is 'android-30'
After that, I modified gradle :app
as following.
Changed sdkversion and targetsdkversion to 31.
android {
compileSdkVersion 31
buildToolsVersion "30.0.3"
defaultConfig {
minSdkVersion 24
targetSdkVersion 31
versionCode 1
versionName "1.0"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
kotlinOptions {
jvmTarget = '1.8'
}
}
But it still doesn't work and this problem occurs again in the ViewModelFactory class
.
Inheritance from an interface with jvmdefault members is only allowed with option
I thought it was updated to Bumblebee, but it doesn't seem to have been updated and it doesn't even build, which is embarrassing.