Skip to main content
The 2024 Developer Survey results are live! See the results

All Questions

Tagged with
0 votes
1 answer
15 views

Execution of Gradle Tasks and find out why are they executed

I'm currently doing a Udemy Course to learn Kotlin and I've a Question about Gradle and Tasks. I've tried HILT and had to add kapt to my Project (empty project with jetpack-compose). My app/build....
John Doe's user avatar
  • 135
0 votes
0 answers
45 views

Metadata.bin file not found on initial gradle sync with Android Studio Koala - 2024.1.1

I recently updated Android Studio from Chipmunk version - 2021.2.1 to Koala version - 2024.1.1. Now, when I open my projects, the gradle synchronization starts and always ends with: C:\Users\[MY_USER]\...
LucaCA's user avatar
  • 1
0 votes
0 answers
17 views

Task 'ijDownloadSources91ee8444-467' not found in root project 'projectABC' after clicking "Download Sources"

i got this error on macbook arm when click "dowload source". I often click on some Android file to read its code. However, they often require downloading via the "Download Sources"...
Nguyễn Mạnh Cường's user avatar
0 votes
0 answers
31 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
1 vote
0 answers
38 views

"run all tests" on Android Studio Koala not 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
1 answer
49 views

A failure occurred while executing com.android.build.gradle.internal.tasks.CompressAssetsWorkAction Required array size too large

I am getting this error while I am building APK. These are error log: FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':app:compressDebugAssets'. > A ...
pf-zp's user avatar
  • 1
-2 votes
1 answer
36 views

Trying to update my outdated android app (Native)

I've gone back to try and update my old app which is essentially a dark filter app that turns on when you move the phone around It runs as it should do on most phones however it ends up crashing on ...
The Academic Weapon's user avatar
1 vote
0 answers
15 views

Cannot get GradlePropertiesModel (V2) for project 'GradleProject{path=':app'}' (android studio bug)

Multiple build operations failed. Cannot get GradlePropertiesModel (V2) for project 'GradleProject{path=':app'}' i am facing this issue in Android Studio Koala | 2024.1. on invalidate/Restart it'...
Muzammil Hussain's user avatar
0 votes
0 answers
82 views

how to open this dialog in android studio koala 2024.1.1

I want to know where can I open the proxy setup dialog for gradle proxy ? below ,it opened after I click gradle sync. but I want to open the setup dialog in the file/Setting,but I cant find it. below ...
eric's user avatar
  • 33
0 votes
0 answers
34 views

Issues with Gradle Sync and Java Version in Android Studio Project

I am facing issues with my Android project setup in Android Studio, particularly related to Gradle and Java versions. I have tried multiple solutions, but I am still encountering errors. Here is a ...
gökhan gürbüz's user avatar
0 votes
0 answers
24 views

Gradle task assembleDebug failed during Flutter debug

Exception in thread "main" java.net.UnknownHostException: services.gradle.org at java.base/sun.nio.ch.NioSocketImpl.connect(NioSocketImpl.java:572) at java.base/java.net....
Raagul Vignesh R's user avatar
-2 votes
0 answers
109 views

Getting error due to adding dependencies java.lang.NullPointerException: Cannot invoke "String.length()" because "<parameter1>" is null

Getting below error when I added new dependencies java.lang.NullPointerException: Cannot invoke "String.length()" because "<parameter1>" is null plugins { id ("com....
USER9561's user avatar
  • 1,080
1 vote
2 answers
135 views

react native : npx react-native start ==> Could not find method exec()

i install android studio , node js, JDK 17 with the config of this video : https://www.youtube.com/watch?v=G0wrlZvDjrE But when i run the app with the cmd : npx react-native start. I have this error ...
Valentin Georis's user avatar
0 votes
3 answers
186 views

Why is my build.gradle looking like this? [alias(libs.plugins.com.android.application) apply false]

Why is my build.gradle looking like this? and not like this: I was trying to connect Chaquopy with Android Studio.
Rajkumar Mathe's user avatar
0 votes
1 answer
412 views

Minimum supported Gradle version is 8.7. Current version is 8.2. Android

I want to run the command gradle detekt on Android Studio's terminal but I always get the error: A problem occurred evaluating project ':app'. > Failed to apply plugin 'com.android.internal.version-...
juske's user avatar
  • 109

15 30 50 per page
1
2 3 4 5
518