Skip to main content

All Questions

Tagged with
0 votes
1 answer
43 views

Android studio failes to sync or build but running gradle tasks in terminal builds successfully

I am trying to build a simple startup app in android studio LadyBug 2024.2.1 Patch 1 Syncing or building the project in android studio fails. the output is below Executing tasks: [:app:assemble, :app:...
Reza's user avatar
  • 875
5 votes
2 answers
3k views

Gradle failure when building Flutter app: Error while executing JdkImageTransform in Android Studio: Could not resolve all files for configuration

I recently updated Android Studio to Ladybug and since then I encounter this error when i try to build my app: Launching lib\main.dart on sdk gphone64 x86 64 in debug mode... Running Gradle task '...
Simone's user avatar
  • 55
0 votes
0 answers
242 views

Android Studio Gradle Build Error: Could not find dependencies

I recently updated Android Studio to Koala 2024.1.2. Gradle was also updated to 8.10.1. Plugins were also updated to 8.6.0. Now, during a project build 3 dependencies cannot be found: 'com....
RUSKIED's user avatar
  • 39
0 votes
0 answers
73 views

Facing build Issue in the MLC-LLM Android App

I've tried to run the MLC-LLM Android App with the below link, I can't able to run the app due to the error which is shown in the screenshot below: Git Repository I've cloned and runned the MLC-AI/...
Ruban's user avatar
  • 21
-1 votes
1 answer
41 views

Can't generate signed APK for release Android Studio

At first i generated an apk normally using a key store i created, it worked but when i made some changes to a layout and an activity and tried generating an apk again, an error inside a generated ...
amine's user avatar
  • 1
1 vote
1 answer
408 views

Problem with NDK/SDK -> weak_ptr/buildCMakeDebug FAILED in android studio when trying to run "npx expo run:android" using expo, cannot create build

The problem is when I try to create a build the build fail. I have "expo": "~51.0.8" "react": "18.2.0", "react-native": "0.74.1" NDK used in ...
shay_solo's user avatar
0 votes
1 answer
89 views

Is there a way to fix this issue on building a project "Could not resolve com.android.tools.build:gradle:7.4.0"?

The project doesnt build because of gradle version `A problem occurred configuring root project 'baked_barbecue'. Could not resolve all files for configuration ':classpath'. Could not resolve com....
shan170's user avatar
  • 23
0 votes
0 answers
131 views

Android resource linking failed, ziparchive, Entry at offset zero has invalid LFH signature, error: failed to open APK: Invalid file

I encountered an error while trying to build my Android project: Android resource linking failed ziparchive W 05-09 20:34:28 24864 23328] Zip: Entry at offset zero has invalid LFH signature ...
hoc nguyen's user avatar
0 votes
0 answers
43 views

Android Studio Error: Valid XML document must have a root tag also Can not extract resource from com.android.aaptcompiler

While running my android project, I fail to run it having following 2 errors in my Build Output tab: First section of errors is: Execution failed for task ':app:mergeDebugResources'. > > A ...
BridgeOfLife's user avatar
0 votes
0 answers
128 views

how to build android project

It is a absolutely nightmare. How the hell I get a (older?) android app project from github up and running. I want to add some features to the app, so I need a working local build environment. The ...
cat Man's user avatar
  • 29
1 vote
1 answer
176 views

How to add additional Manifest.xml file to my build

How can I add an additional/extra manifest so that it will be merged eventually with main manifest while building? app/ ├─ src/ │ ├─ flavor_1/ │ │ ├─ AndroidManifest.xml │ ├─ flavor_2/ │ │ ├─ ...
Wajid's user avatar
  • 2,331
0 votes
0 answers
50 views

Why i got unknown error on android studio import

So i did an android + Yolo5 for object detection. I already got the tflite model and i follow the tutorial from https://www.youtube.com/watch?v=ROn1_O2zEtk . I downloaded the project from github and ...
SamPM's user avatar
  • 1
1 vote
1 answer
289 views

Getting a duplicate class found exception in android build.gradle.kts file

I'm trying to add a new dependency for passing safe arguments from one fragment to another but doing so will generate duplicate files. Leading to duplicate file exception, This is my build.gradle.kts ...
Abhishek Tyagi's user avatar
0 votes
0 answers
24 views

Kotlin build task slowing build

I have been check the build analyzer and notice there is one Kotlin build task that is over 30% of the build time. The "Reason task run" is given as Value of input property 'compilerOptions....
theblitz's user avatar
  • 6,871
2 votes
0 answers
62 views

Android Studio Gradle Build Running slow

When I start building project, sync or start app it always takes around 3 minutes on "Configure projects..." / "Gradle Build Running". In Build Output it writes Executing tasks:[...
Tin's user avatar
  • 21

15 30 50 per page
1
2 3 4 5
34