skip to Main Content

Does Android Studio support kotlin-kapt plugin w/ version catalogs?

I have migratin my build to use version catalogs. I have remove the following from my build.gradle plugins { id 'kotlin-android' id 'kotlin-kapt' } and kapt "androidx.room:room-compiler:$room_version" annotationProcessor "androidx.room:room-compiler:$room_version" kapt "com.google.dagger:hilt-compiler:$hilt_version" now I am getting warning: The following options were…

VIEW QUESTION

Android Studio – R8 full mode throws class cast exception AGP 8.0

I recently upgraded to Android Studio Flamingo and AGP 8.0 My production builds with minfiy and shrinkResources enabled, doesn't allow retrofit to make calls. This is the error thrown. java.lang.ClassCastException: java.lang.Class cannot be cast to java.lang.reflect.ParameterizedType at retrofit2.HttpServiceMethod.parseAnnotations(HttpServiceMethod.java:46) at retrofit2.ServiceMethod.parseAnnotations(ServiceMethod.java:39)…

VIEW QUESTION
Back To Top
Search