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

Android Studio – Android Studio Error: Plugin [id: 'com.android.application', version: '7.4.2', apply: false] was not found in any of the following sources

I keep getting this error in Android Studio Electric Eel // Top-level build file where you can add configuration options common to all sub-projects/modules. plugins { id 'com.android.application' version '7.4.2' apply false id 'com.android.library' version '7.4.2' apply false id 'org.jetbrains.kotlin.android'…

VIEW QUESTION

Json – please help me how can i solve this

| Build failed with an exception. What went wrong: Execution failed for task ':app:processDebugGoogleServices'. File google-services.json is missing. The Google Services Plugin cannot function without it. Searched Location: C:UsersdellAndroidStudioProjectstodo_appandroidappsrcdebuggoogle-services.json C:UsersdellAndroidStudioProjectstodo_appandroidappsrcgoogle-services.json C:UsersdellAndroidStudioProjectstodo_appandroidappgoogle-services.json

VIEW QUESTION
Back To Top
Search