All Questions
Tagged with android build.gradle
5,174
questions
0
votes
0
answers
23
views
Error while integrating Firebase with flutter app
A problem occurred evaluating root project 'android'.
A problem occurred configuring project ':app'.
Could not create task ':app:compileFlutterBuildDebug'.
> Cannot get property 'apiLevel' on null ...
1
vote
1
answer
34
views
Flutter: Try correcting the name to the name of an existing getter, or defining a getter or field named 'caption'. Failed to compile application
I'm trying to run my Flutter app on Android after a long time and it won't run successfully because of the below error:
'TextTheme' is from 'package:flutter/src/material/text_theme.dart' ('../../Dev/...
0
votes
0
answers
28
views
Flutter Android build apk :app:mergeReleaseJavaResource
Build APK Error Android
FAILURE: Build failed with an exception.
What went wrong:
Execution failed for task ':app:mergeReleaseJavaResource'.
A failure occurred while executing com.android.build....
1
vote
1
answer
77
views
How can I add latest stable dependencies and plugins to my latest version of Android Studio Koala?
I want to implement MVVM architecture in my project. My Android Studio is Koala. I want to use the latest versions which are compatible with my project.
My module level gradle file looks like this:
...
0
votes
0
answers
20
views
Getting error " application installation failed " in android studio while using it with kotlin
I have just started with kotlin in android studio, and i am constantly getting encountered by error "The Device already has newer version of this application. In order to proceed, you will have ...
0
votes
0
answers
29
views
Android Studio Sync Failed, How to Upgrade Android SDK in Ionic 2
I have an old project using Ionic2 with minimum SDK 19 and Targeted SDK 29. I want to upgrade the targeted SDK 34, I don't change any code, I only change the SDK requirement in the build.gradle, but ...
0
votes
1
answer
36
views
Which is difference between two different imports?
I created a new project and there is some differences on importing on gradle files, I don't understand why its different from other projects that I have, is this wrong, can somebody tell me the ...
0
votes
0
answers
16
views
Is it possible to extract apk and zip it again using build.gradle?
I'm doing a task to encrypt the dex files. Below code I wrote in build.gradle for encrypting and compress it back as apk.
applicationVariants.all { variant ->
variant.outputs.each { output -...
0
votes
0
answers
94
views
Dependency 'androidx.appcompat:appcompat-resources:1.7.0' requires version 34 or later to compile
How to know a particular version of dependency can be compiled with a minimum/maximum version of Android SDK API version.
e.g. How to know Dependency 'androidx.appcompat:appcompat-resources:1.7.0' ...
0
votes
0
answers
49
views
Flutter Deferred Component error on adding com.google.android.play:core:1.8.0: failing com.android.build.gradle.internal.tasks.CheckDuplicatesRunnable
I am trying to add deferred components in my flutter projects by following this doc here
The first mentions to add this dependency implementation "com.google.android.play:core:1.8.0" in my ...
0
votes
0
answers
33
views
Android Studio does not read library from github
I use Android Studio version: 17.0.11+0--11852314 amd64. and i have problem with add libraries that are not from Android itself for example libraries are github . this really made it impossible for ...
2
votes
1
answer
88
views
Failed to build apk in flutter project with fire base
when i want to buil my apk by using flutter build apk i get the following error:
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:...
1
vote
1
answer
44
views
Kotlin Android different (Module:App) build.gradle structures makes tutorials hard to follow
I am quite new to developing in Android for kotlin.
I was trying to follow a tutorial on how to setup a local Room Database in my App, but my build.gradle looks completely different than the persons ...
-2
votes
0
answers
35
views
arm64-v8a and armeabi-v7a both architecture not run on a single application?
Library .so File
I have encountered an issue where armeabi-v7a and arm64-v8a SDKs cannot run simultaneously in my application. This is due to some SDKs having .so files optimized for armeabi-v7a and ...
0
votes
0
answers
36
views
Best practice for specifying the namespace for dependencies in the gradle file of a flutter app
I am working on fixing an old app for a client that an agency wrote for him. After fixing a few issues and upgrading dependencies, I got stuck in the build process. The main issue is that the ...