android-build Questions

3

Solved

I recently upgraded the Android Gradle Plugin in my Android app project from version 7.4.2 to 8.0.2. However, I'm now encountering an error during the release build when the minifyReleaseWithR8 tas...
Spinoza asked 13/6, 2023 at 7:5

4

Is there a way to dynamically change the package of the generated file .BuildConfig? I want to use build.gradle file to use the applicationId and change the package name between different builds. ...
Carafe asked 14/12, 2015 at 17:49

3

With Android studio v0.8.2, I am blocked with the following exception. With the beta release it was working very well. I have updated my IDE to 0.8.2 and deleted my target directory and trying to b...

2

Solved

with R8 enabled (isMinifyEnabled = true) and using "com.pusher.pusher-java-client:2.4.4" library I get the following error for release build: AGPBI: {"kind":"error",&...
Overweary asked 28/4, 2023 at 10:34

22

Solved

I am trying to convert our Android application to a gradle build. I have the project and it's libraries building successfully. I am now trying to create separate apks for our various environments (...
Inseverable asked 20/12, 2013 at 15:2

2

First, I'm trying to build an Android platform from the Android source code without stock apps like LiveWallpapers, Calendar, Contacts, Calculator, Phone, Settings, etc. In order to do it, I'm mod...
Verdi asked 23/10, 2013 at 11:7

4

Solved

I get this warning when I try to run or build an app in Android Studio. Why am I getting this? Do I need to heed this warning? The following options were not recognized by any processor: '[dagger.f...
Chism asked 1/1, 2022 at 18:17

2

When I try to build my project, I get such a mistake: FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':app:dataBindingGenBaseClassesDebug'. > Parameter 'di...

24

Solved

Installation failed with message Invalid File: K:\project\app\build\intermediates\split-apk\with_ImageProcessor\debug\slices\slice_0.apk. It is possible that this issue is resolved by uninstall...
Roughhew asked 14/2, 2017 at 6:59

13

Solved

I have looked at the documentation for building with Gradle, but I'm still not sure what the difference between compileSdkVersion and targetSdkVersion is. All it says is: The `compileSdkVersion` pr...
Stodgy asked 1/11, 2014 at 22:54

7

Solved

I am converting one of my apps to Gradle and would like to use the new build flavor features to have a paid and a free ad based flavor. I want only the ad based version to depend on the admob SDK...
Gestalt asked 12/8, 2013 at 21:28

1

Our app has quite a good number of native libraries along with some Java classes and we are building our app for only 32-bit architecture. We are aware that Google has mandated to provide 64-bit na...
Cockhorse asked 10/2, 2021 at 6:24

10

Solved

I've been trying to get ActionBarSherlock to work and having some issue. One issue I've come across is the following message when trying to build it: Plugin with id 'android-library' not found S...

4

I need 1.7 for a library which uses diamond operators. I followed these sO answers...but no joy. From gradle build compileSdkVersion 19 buildToolsVersion '19.0.3' compileOptions { sourceCo...
Noami asked 1/5, 2014 at 12:25

24

Solved

I use the new command line tools for Android because the old sdk-tools repository of Android isn't available anymore. So I changed my gitlab-ci to load the commandlintools. But when I try to run it...

4

In my app, I have more than 30 build variants. Every time when I release the app, I need to publish it to different platforms, therefore I build 5 different build variants. Currently, I am doing th...
Orthopedics asked 2/8, 2022 at 18:30

2

When I try to run ./gradlew build.gradle from terminal, I have been getting following error: > No signature of method: org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandle...
Mayberry asked 9/10, 2013 at 18:36

2

Solved

All of sudden google console started throwing an error message saying - "At least one of your app or app bundles contain an actions.xml file." I have searched my entire app, there is no a...
Crimson asked 17/6, 2021 at 18:38

0

I have received this gradle build error: java.nio.file.InvalidPathException: Illegal char <:> at index 43: com.myapp.android-mergeDebugResources-31:/values/values.xml The error points to a m...
Doralynne asked 19/7, 2022 at 15:58

2

Solved

I am using Android-O, and I see most of the .mk files are being replaced by .bp file. Now I have modified one of the source code under hardware/interfaces which is built using .bp files. Now i hav...

5

Installed Build Tools revision 31.0.0 is corrupted. Remove and install again using the SDK Manager. Studio Version 4.2.1 Tried Reinstalling and removing previous versions Tried adding dx.jar and dx...

3

Solved

Getting this complaint from IntelliJ 13: 8:15:48 PM Gradle '<project>' project refresh failed: SDK location not found. Define location with sdk.dir in the local.properties file or with an ...
Creath asked 19/12, 2013 at 4:18

3

I am trying to build an Android App, which has dependency on SimpleFingerGestures_Android_Library . The build of the app is getting failed with below error - FAILURE: Build failed with an exception...
Loney asked 8/5, 2021 at 18:1

2

Solved

App Building error:'app:checkDebugDuplicateClasses' I know by deleting one class can resolve this error but I don't know how to delete it or is there any other method to resolve this. thanks FAILU...
Mccloskey asked 22/5, 2021 at 16:0

3

Solved

Most of the android developers must have got the message from Google to update the apps to support 64-bit architecture by Aug 2019. The detailed instructions are given here: Ensure that your app su...
Vineyard asked 1/2, 2019 at 9:15

© 2022 - 2025 — McMap. All rights reserved.