13,195 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
2
votes
1
answer
55
views
Why I couldn't run my flutter project on the Android Studio emulator?
I have created a new flutter project using android studio. I want to run it on the emulator but I have get this error:
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for ...
0
votes
0
answers
22
views
Plugin [id: 'com.android.application', version: '8.8.0', apply: false] was not found [closed]
This is my build.gradle.kts:
plugins {
alias(libs.plugins.android.application) apply false
alias(libs.plugins.kotlin.android) apply false
id("com.google.gms.google-services") version "4....
1
vote
1
answer
26
views
Accessing onVariants at runtime via /buildSrc custom plugin
I'm trying to move some gradle tasks into a custom plugin in order to streamline things and declutter our module's build.gradle.kts files. With that in mind, I've created the buildSrc directory (with ...
0
votes
1
answer
168
views
Unable to load class 'org.gradle.api.artifacts.SelfResolvingDependency'
In Android Studio, I have opened a project that was created in 2023. I've updated the project's Gradle version to 9.0 and Gradle plugin version to 8.13.0. I'm getting this error
Unable to load class ...
0
votes
1
answer
37
views
Apply gradle plugin conditionally based on productFlavor in Kotlin DSL
I have two product flavors in my app, one being "global" and "fdroid" the other. I want to add plugin libs.plugins.google.services only to the "global" build.
Here's my ...
0
votes
0
answers
30
views
Android build not ignoring unchecked warnings
When I'm building my Flutter app, I get a few warnings about unchecked casts in a few plugins. I want to ignore these warnings and not display them, since it makes it more difficult to spot more ...
0
votes
0
answers
46
views
Move built Android bundles to folder in AGP 8
Right now Android Studio builds the bundles for my application flavours into separate folders, as in:
app/flavorname/release/xxx.aab
I would like to move the output bundles to a new folder. Either ...
0
votes
1
answer
67
views
Removing unused resources requires unused code shrinking
I'm getting a build error when trying to run my Flutter project. The build fails with a Gradle exception related to resource and code shrinking. I haven't changed any minifyEnabled or shrinkResources ...
2
votes
0
answers
59
views
Samsung-only crash in libicui18n.so (icu_75::RegexPattern::zap) across multiple Android versions
We are seeing native crashes mostly on Samsung devices and rarely on other device models like Oppo one plus
Crash traces (from Play Console → Crashes & ANRs)
[libicui18n.so] icu_75::RegexPattern::...
15
votes
3
answers
25k
views
The '16 KB page sizes' issue wasn't resolved, even though the bundle details indicated that the latest version supports 16 KB page size
On August 28, I received an email from Google Play Support asking me to update and publish my app to support the 16KB Page Size requirement before November 1. I checked the bundle details and it ...
0
votes
1
answer
246
views
Gradle cannot find Firebase libraries (firebase-auth-ktx, storage-ktx, etc.) after updating to Firebase BoM 34.2.0
I have an old Android app, and after opening it, I see some libraries need to be updated, and after I do that, I get some errors, most of it about Google Firebase libs
the error Log
> Task :app:...
1
vote
2
answers
118
views
Incompatible magic value 0 in class file when using google_sign_in 7.1.1 in Flutter project
I’m encountering a build error in my Flutter project when adding the google_sign_in package. Here are my environment details:
Flutter version: 3.32.8
Google Sign-In version: 7.1.1
JDK: 17.0.12
Android ...
2
votes
1
answer
123
views
Flutter Android project build failing with "compileSdkVersion is not specified" using build.gradle.kts
I’m working on a Flutter project with Kotlin DSL (.kts) Gradle scripts, and my app was building fine before. Recently, after reopening the project in Android Studio and upgrading some dependencies, ...
2
votes
2
answers
336
views
Find out which third party library includes specific native library
I have a very large Android project with hundreds of 3rd party libraries.
Some of those libraries have native .so libs inside then. I can see all .so files using Android Studio -> Analyze Apk... ...
1
vote
1
answer
414
views
Flutter Gradle Issue flutter-plugin-loader [Mac]
Everything was normal and the app was running as expected until I recently updated the Flutter version. After updating the Flutter version to 3.35.x, I'm not able to build the Android project; iOS/web ...