Questions tagged [android-gradle-plugin]
The Android Gradle Plugin is Android's standard build system. It is used as backing-build-system by Android Studio.
12,384
questions
0
votes
0
answers
17
views
App Crashes After Banner Refresh - AndroidManifest.xml Problem
App crashes 10 seconds after banner appears (I think when banner refresh)
And I have a merging erros in AndroidManifest.xml:
Merging Errors: Warning meta-data#PUBLISH_CHANNEL_CODE@android:value
was ...
0
votes
1
answer
20
views
Unit tests failed after converting gradle to kotlin dsl
Converted my gradle file to a kts to use kotlin dsl. Im not sure how to convert these two sections:
sourceSets {
test.resources.srcDirs += 'src/test/res'
}
testOptions {
unitTests.all {
...
0
votes
0
answers
31
views
minSdkVersion is newer than the device API level when updating to Tiramisu
I have updated to Tiramisu to be able to use the new Manifest.permission.NEARBY_WIFI_DEVICES permission.
New gradle configuration:
android {
compileSdkVersion = "android-Tiramisu"
...
0
votes
0
answers
17
views
Android SDK Manager download unnecessary packages during build, lint or assemble apk
I was playing with setting up the Android SDK and found that the Gradle plugin was downloading extra packages when building: like build tools (understandable) and emulator (not needed). The problem ...
0
votes
0
answers
16
views
Some runtime JAR files in the classpath have an incompatible version. Consider removing them from the classpath: Flutter build warning
Once I executed Flutter clean and Flutter build apk, I am getting a big warning. But apk file generates successfully. I also have upgraded the gradle plugin for the latest one.
If I need to upgrade ...
0
votes
1
answer
29
views
Warning when flutter build apk command entered
When I run Flutter build apk command the terminal gives me a warning. But apk file generated successfully. Do you have any idea to how to solve this warning?
Here is my terminal output:
Building with ...
0
votes
0
answers
11
views
Android gradle : can't switch build varient with Active ABI
I am working on Android project whose build.gradle looks like this:
plugins {
id 'com.android.application'
id 'org.jetbrains.kotlin.android'
}
tasks.whenTaskAdded { task ->
if (...
0
votes
0
answers
13
views
Unable to load class 'org.bouncycastle.operator.OperatorCreationException'
after new update on Android Studio , I'm getting this error:
Unable to load class
'org.bouncycastle.operator.OperatorCreationException'.
This is an unexpected error. Please file a bug containing the ...
-2
votes
1
answer
35
views
error: Source/Target option 6 is no longer supported. Use 7 or later [closed]
I'm currently trying to generate a Javadoc for an Android App Studio Project via Eclipse, and am met with the following errors when a generation is attempted:
error: Source option 6 is no longer ...
0
votes
0
answers
12
views
databinding cannot work with AGP 4.2.0 when disable R8
get error:
com.product.android.ad.databinding.LayoutFeedPullAdHeaderBinding:
can't find referenced method 'androidx.databinding.ViewDataBinding bind(androidx.databinding.DataBindingComponent,android....
0
votes
0
answers
13
views
AAB output file name and path gradle variable
I am trying to move my aab build process from my local machine to GitHub Actions following this post and using this GitHub action. In order to do so I need the releaseDirectory. In my project, unlike ...
0
votes
0
answers
7
views
How to access launcher icons using Android Gradle Plugin AGP(v7+)?
Prior to v7 variant API has srcSets to access the Launcher icon so that it can be modified and used. After v7+ lack of proper documentation to the api's is real pain. So, how can to access Laucher ...
0
votes
0
answers
16
views
Android : How to call ExternalBativeBuild task manually
I am working on an Android project that use native C++ source code. There are a lot of C++ sub-modules. So when I import project in Android Studio, IDE takes a lot of memory in externalNativeBuild ...
1
vote
0
answers
47
views
Android build fails in new Android Bumblebee 2021.1.1 patch 3
Hello there guys i need some help from you, I have updated my Android Studio to Bumblebee 2021.1.1 patch 3.
And after downloading Gradle 7.2 and installed it on my system, it was correct, I added it ...
0
votes
0
answers
26
views
GitHub Actions Error on r0adkll/sign-android-release@v1 -> no such file or directory, scandir 'app/build/outputs/bundle/release'
I am getting this error:
Run r0adkll/sign-android-release@v1 Preparing to sign key @
app/build/outputs/bundle/release with signing key Error: ENOENT: no
such file or directory, scandir 'app/build/...