Skip to main content

All Questions

Tagged with
0 votes
1 answer
12 views

How can I add latest stable dependencies and plugins to my latest version of Android Studio Koala?

I want to implement MVVM architecture in my project. My Android Studio is Koala. I want to use the latest versions which are compatible with my project. My module level gradle file looks like this: ...
Aamir Khan's user avatar
1 vote
0 answers
17 views

AGP 8.4+ and Hilt (Android Library Modules in Multi-module architecture, R8)

I found this patch note when the 8.4 version came out: https://developer.android.com/build/releases/past-releases/agp-8-4-0-release-notes#library-classes-shrunk "Starting with Android Gradle ...
No_Name's user avatar
  • 66
0 votes
0 answers
14 views

Missing classes detected while running R8

I have a multi module project setup like this: app module presentation module (Android module) domain module (Kotlin module) data module (Android module) The dependency graph presentation -> ...
No_Name's user avatar
  • 66
0 votes
0 answers
23 views

Android Studio : The application could not be installed. Device went into offline mode after running MainActivity

I have been installing a debug app on my physical Android phone, but today it suddenly stopped working and showed this error: "The application could not be installed". There is no error log ...
NhVNgn's user avatar
  • 1
0 votes
1 answer
25 views

Error generating build android Expo(Error: Gradle build failed with unknown error. See logs for the "Run gradlew" phase for more information)

I am trying to generate an Android build using React-native and Expo, but I have been encountering the following error: Error: Gradle build failed with unknown error. See logs for the "Run ...
Lima's user avatar
  • 3
1 vote
0 answers
27 views

Error with nativescript compilation due to gradle version change?

I have a nativescript project that is built through jenkins. Up until July 9th, the project built without any issues. On that same day, and after a commit, the build stopped working. To make sure that ...
Miguel Mesquita Alfaiate's user avatar
0 votes
1 answer
50 views
+50

What gradle entries are required for implementing KSP and Room in a Kotlin Multiplatform

I am in the process of converting a kotlin application to kotlin multiplatform (anroid only for now to get through initial configuration) with room. This included moving to a libs.versions.toml file ...
GeorgeRussell's user avatar
0 votes
1 answer
24 views

android:exported needs to be explicitly specified for <receiver>. required to specify an explicit value for `android:exported`

so I am trying to build my app but unfortunately unable to perform it and encountering this error D:\Code\Flutter\Manager\mmanager\android\app\src\main\AndroidManifest.xml Error: android:exported ...
Tanmay Nandwana's user avatar
0 votes
0 answers
15 views

Nativescript Android stuck on splash screen

I am upgrading my nativescript app to support android 34 and facing this issue when app just stuck on splash screen and closes after a while. here is my app.gradle file:- // plugins { // id '...
Tushar's user avatar
  • 1
0 votes
0 answers
10 views

How to rely on the task generated in the afterEvaluate callback in the submodule gradle plugin (Gradle 8.0+)

There is an gradle plugin in my submodule. This plugin will generate some files in the afterEvaluate callback and put them in the assets folder. The main project will package these files into the apk ...
android_su's user avatar
  • 1,667
0 votes
0 answers
16 views

"run all tests" on Android Studio Koala no working

Android Studio Koala | 2024.1.1 Patch 1 Build #AI-241.18034.62.2411.12071903, built on July 11, 2024 Runtime version: 17.0.11+0--11852314 amd64 Windows 10.0 WSL2 When I try to "Run all tests&...
Rafael Moreira's user avatar
0 votes
0 answers
17 views

Inconsistent JVM-target compatibility detected for tasks 'compileDebugJavaWithJavac' (1.8) and 'kaptGenerateStubsDebugKotlin' (17)

I have tried all of the listed solutions I can find on the Internet and am stumped. I'm updating to Java 17 from 1.8, and I am getting the error: Inconsistent JVM-target compatibility detected for ...
petestmart's user avatar
0 votes
1 answer
34 views

Which is difference between two different imports?

I created a new project and there is some differences on importing on gradle files, I don't understand why its different from other projects that I have, is this wrong, can somebody tell me the ...
Flutura Demaj's user avatar
-1 votes
0 answers
33 views

Issue with Hilt Application Class: Gradle Dependency Conflict

I'm working on an Android project that runs fine without the following Hilt application class: package com.app.bestride import android.app.Application import dagger.hilt.android.HiltAndroidApp @...
Aashish Ace's user avatar
0 votes
0 answers
50 views

R8 Minification Fails After Upgrading to Jetpack Compose BOM 2024.06.00 with SDK 34 Migration

I recently upgraded my project from Compose BOM 2023.06.01 to 2024.06.00 after migrating to SDK 34. While the debug build works fine, the release build fails during the R8 minification step with ...
Shubham Bhattacharyya's user avatar

15 30 50 per page
1
2 3 4 5
1449