Build.gradle Questions
Ad
want to add Node.js support with Android source
I am new with node.js. i have a requirement to add support of node.js with our current android source code. can any one suggest, how i can proceed
Android Studio build error - unable to preview UI in preview window
Frankly speaking, i don't have the knowledge to understand and debug this error. so please inform me if i miss something. how am i
Deprecated Gradle features were used in this build, making it incompatible with Gradle 6
I try to get apk in react-native however it doesn't give me anything. release file which is in apk file is empty and after gradlew bundle release
Upgrading Gradle version in legacy android application
I am currently working on a legacy android project which had google analytics implementation since last three years . recently there is need of
Keep facing Process unexpectedly exit in Android Studio 3.4.1
After an update of java facing an issue of process unexpectedly exit while creating the build for android. i was
How do I fix this error in Android Studio if I have already added the Google Maven repository?
I'm using android studio version 2.3.3 and facing the gradle error. i have added the logcat error below.. i've tried several
How to ensure all firebase SDKs are the compatible version?
Currently we have a lot of firebase version. firebase_core_version = '16.0.6' firebase_perf_version = '16.2.2'
Manifest merger failed : Attribute [email protected] updating Firebase libraries
I am trying to add firebase in my project but when i implement 'com.google.firebase:firebase-messaging:19.0.0' and
Error com.android.dex.DexException: Multiple dex files define Lcom/google/android/libraries/places/internal/dh;
I got this error: error converting bytecode to dex: cause: com.android.dex.dexexception: multiple dex files define
Gradle .execute method showing error after gradle update
My project was running perfect with gradle plugin version 3.0.1 after updating to version 3.4.1 i am going through sync
Ad
Build Pipeline on BitBucket for flutter project
I have created pipelines for my android projects on bitbucket which are built great! i am trying to do the same for my flutter project! the first
How to fix "Could not find method" error?
I'm working on home work on android studio, every thing was ok, and i shut down my pc till next day, when i opened android studio i found this
Android Studio 3.4 Manifest merger failed : uses-sdk:minSdkVersion 1 cannot be smaller than version 14
After upgrading android studio to version 3.4 my project sync reports an error: error: manifest merger failed :
re-sync Gradle using Command line
Im building script that will change some info in gradle flavors dynamic and then build apk using gradlew assemble' +
Android studio reads the wrong name in build.gradle
Android studio throws error after trying to build project: error: could not find com.google.gms.google-services:4.1.0:.
Flutter error : Could not resolve com.google.android.gms:play-services-location:16.+, Status code 502
Looks like bintray library is down and i am not able to build my app. i tried a lot of solutions but none them worked. a similar github issue is
Could not resolve com.google.android.gms:play-services-measurement-base:[18.0.0]
I am relatively new to flutter and the project was working 2 days ago. when i tried to run it today, and i met with this error. this is the error
Generating jar files using progaurd in gradle android build
Usually by providing -injars and -outjars to progaurd , we can generate obfuscated jar file of filtered classes from -injars. is there any
Could not find method leftShift() for arguments after updating studio 3.4
After updating studio 3.4 and gradle version to 5.1.1 i got the error on my task as could not find method
How to resolve com.android.builder.dexing.DexArchiveBuilderException?
I am getting this exception while trying to build flutter app and tried various solutions but none of them helped me yet. i am looking for
Set variables in xml just like manifest placeholders in android for adMob
Manifest placeholders in the build.gradle file allows you to specify constants that can then be used in the manifest
Ad
Native project fails to build with error: Error configuring
I am trying to start a project in android studio with native c++ support. the path i take in android studio: file > new
Unable to resolve dependency for ':[email protected]/compileClasspath': Could not resolve com.google.firebase:firebase-analytics-impl:[16.1.1]
I wanted to save & retrieve data from firebase, but when i pasted the links this weird error occurred which is: in
Flutter apps displaying grey screen on apps start launch
I don't know if this is normal or a bug issue, i've noticed some apps (my own included) after making a release version or even a debug one when
Room persistence library (dependency issue), MVVM design pattern
Iam following mvvm tutorial and when adding
Facing problems while Migrating to the New Places SDK
When i am trying to migrating to the new places sdk and adding new place dependency like below : implementation
Could not resolve com.android.tools.build:gradle:3.3.2
I was trying to add firebase auth to my android project but getting this error. i have tried adding 'com.google.firebase:firebase-core:16.0.3' too
“All com.android.support libraries must use the exact same version specification” in android studio
I use the current version of mapbox sdk navigation. navigation sdk for android current version: v0.32.0 and i got a error if i add the
Incompatible gradle versions - Android
My gradle file is not throwing any error while building. but, when i run android lint, it fails with incompatible gradle version error.
Why I am getting this "Could not find com.google.firebase:firebase-core:16.1.0." error all the time?
I am really fed up of these stupid android studio errors, the thing is i have included the implementation
Fail to resolve com.github
I am trying to build my android project in android studio 3.0.1 but before it loads completely it shows me error fail to resolve
Build Warning : Mapping new ns to old ns
So, i'm using flutter and on running the app, i receive errors like these in the debug console: warning: mapping new ns
Ad
Why is "flutter run" generating error after adding "assets_audio_player"?
I added an iconbutton that plays a sound on button press: child: listtile( trailing: iconbutton(
Override maxSdkVersion used by library
Here's the scenario. my app (a) is using a library (b). my app (a) is using permission read_phone_state and it's declared in manifest.xml
ERROR: Failed to resolve: com.afollestad:material-dialogs:2.0.0
I, m using android studio 3.3, and in my project i hava a problem with com.afollestad.material-dialogs:core:2.0.0, when i add
Is it possible to create a kotlin multiplatform project referencing the correct target of a common module?
If we would like to build a multiplatform project with kotlin and we have a structure like this one: common android android1
Execution failed for task ':app:processDebugResources'. > Android resource linking failed
I'm running react-native run-android and during the build this is the error i get. i'm using the latest version of android studio. a
How to deal with Error: failed linking references
Today i got email for google api changes so i started changing things and i got into this mess. as these changes are new am adding this
WARNING: API 'variant.getMergeAssets()' is obsolete / Android Studio 3.3
After the recent android update, each time i build my app, i receive the following warnings:
How to handle Firebase error messages for versions 17.0.1 and 16.0.1
I am currently working with cloud firestore as well as cloud storage and i keep getting these error messages right after adding the necessary
exifinterface Build error about androidX but i don't migrate to androidX
When i try to build app it give me this error on build tab more than one file was found with os independent path
Flutter Error: Execution failed for task ':app:compileFlutterBuildDebug
I reinstall my flutter and trying to load my app again, but i am having trouble loading it up. i have tried for three days, even reinstalling my
Mac OS Flutter build appbundle failed: Invalid keystore format
Since a week i am trying to create android app bundle from a flutter app and i've followed from
Ad
Getting Execution failed for task ':app:transformDexArchiveWithExternalLibsDexMergerForDebug' error even when multiDex is enabled
I'm trying to run the app on my device but am getting this error every time: error:execution failed for
How to generate apk compatible to most versions(SDK)
I'm a beginner in android app development using kotlin. when i run my app in my avd(oreo), it runs fine. when the app is installed in the real
How to resolve "Could not find method bundle() for arguments [build_6plat21h.....] on object of type com.android.build.gradle.LibraryExtension"?
Alright i submit, i am trying to get a unity 3d project working in a view on android and it seems easy enough thanks to some tutorials online.
Android Studio 3.3: Gradle Build Sync message is error FAILURE: Build failed with an exception
Error: could not find method testimplementation() for arguments [junit:junit:4.12] on object of type
How to fix AAPT2 warning [The following project options are deprecated and have been removed: android.enableAapt2] in Android Studio 3.3
When i build my app. i got warning, after update android studio version to 3.3
How to fix build gradle asemble release failed in react native 0.59
I want to generate my project react native but i have some problems its in sdk version of my android > > configure
running flutter app got Execution failed for task ':bluetoothadapter:compileDebugJavaWithJavac'
I didn't change anything in my flutter application and it was running perfectly but when i tried running on real device i got this exception
-->>Exception: Gradle task assembleDebug failed with exit code 1
Failure: build failed with an exception. where: build file
How can I build application with different Extension's product flavor?
I am building an application with flutter. i have a package that is called flutter_appcenter_bundle product flavor of
Flutter: upgrading firebase_ml_vision dependency from 0.9.x to 0.10.0
My flutter project runs fine with firebase ml vision 0.9.x, if i try to upgrade to 0.10.0 (or higher), it yields the following errors:
google-services-auth crashes with kommunicate
I am trying to add kommunicate services to my
Ad
An Error for SigningConfig container type org.gradle.api.internal.FactoryNamedDomainObjectContainer
When trying to build my mobile game i got this message: could not get unknown property 'release' for signingconfig
Getting error each time building the project
Whenever i open or rebuild my project the warning and sometimes the error comes: configuration 'compile' is obsolete and has been
Error: Program type already present: com.google.android.gms.internal.measurement.zzfg
I tried find solution on internet but nothink work for me. after implement firebase analytics my program display this error. error: program type
Android studio 3.2.1 ArtifactResolveException: Could not resolve all artifacts for configuration ':classpath'
After i update android studio to 3.2.1 and gradle version in my project i am getting following build error. i have already checked lots of
App new version update does not show up on Google play
I have released a new version of my app but update for new version does not show up on google play on huawei p20 8.1.0 while it can be updated on
Gradle module output configuration for test dependencies only
I have a gradle project containing the two modules app and test, where test contains utilities for
Error: Program type already present: com.google.gson.annotations.Expose
After i updated my project to latest version, (android gradle plugin to version 3.2.1 and gradle to version 4.6), including supporting last sdk
Android update to gradle 3.2.1 [INSTALL_PARSE_FAILED_UNEXPECTED_EXCEPTION] on Android <=6
After updating the gradle tools version from 3.1.4 to 3.2.1 the app cannot be installed anymore on the android
Problem to integrate PayU SDK in android studio
I need to integrate into a payu application for android, i downloaded the files and integrate it into a new module. when you finish compiling,
Generate APK's with different keystores
I've created project with different flavors. each flavor has it's own application id and it's keystore and password. on gradle file, i
Can not find attribute app:useSimpleSummaryProvider
I want to update my preference summary and i found something called simplesummaryprovider
Ad
Android Studio: Could not find matches as no versions of com.android.tools.build:gradle are available
I'm trying to build an android app created with react native that i've recently cloned, but i always get this error: could not
Build Error: Could not find any version that matches com.android.tools.build:transform-api:1.5.+
Starting to get an error while building project without any changes have happened by me in gradle. i'm suspicious that the some code has been
Gradle buildtypes override each other
I want to set different values for a property depending on which buildtype was chosen. but i realized by checking the gradle console that in
flutter_config is not reading from .env file when proguard is enable
I'm trying to get flutter_config to work along with proguard but when i switch minifyenabled true, my flutter code is not reading
What went wrong: Execution failed for task ':fluttertoast:compileDebugKotlin'
After updating my flutter project when i was going to run the application in the android studio, i got the following error. e:
Why am I unable to build a signed bundle release in Flutter?
I'm trying to make app bundle with the help of flutter doc by
Avoid gradle build params for clean task
I configured my app level build.gradle file to pick the apk name from build parameters. below is my build.gradle
Failed to resolve: firebase-storage-15.0.0
When i add firebase to my application it shows this error: failed to resolve: 'firebase-storage-15.0.0'
What advantages and disadvantages of upgrading build tools version android studio
I am an amateur android developer and on my current projects i am currently using buildtoolsversion 27.0.3 and planning on upgrading to 28.0.3 to
Caused by: java.lang.NoClassDefFoundError: Failed resolution of: Lcom/google/android/gms/common/util/Function;
I am getting this error: caused by: java.lang.noclassdeffounderror: failed resolution of:
Program type already present: com.google.android.gms.internal.measurement.zzdz
I'm trying to update dependencies to the latest versions. i install the new version that android studio offers at the prompt. but when you start
Ad
React Native - No resource identifier found for attribute 'appComponentFactory' in package 'android'
I am facing an issue, whenever i try to build using react-native run-android, the build fails with the following error.
More than one file was found with OS independent path 'META-INF/androidx.appcompat_appcompat.version'
I'm confused with this error. more than one file was found with os independent path
Why my AIDE not downloading Google Firebase libraries?
I am using android aide app to make android application. before i factory reset my android, i have all google, android & firebase libraries
Failed to resolve: com.google.firebase:firebase-messaging:16.0.5
How to resolve this error! "failed to resolve: com.google.firebase:firebase-messaging:16.0.5"
DexArchiveBuilderException when running my AndoidTest, not when running my App
When i try to run my androidtest (which is testing my contentprovider), i get the following error messages during building: caused
App Gradle, how I can fix error while use Firebase core?
Here's the build.gradle-app file: apply plugin: 'com.android.application' android { compilesdkversion 26 defaultconfig {
Android build failed - java.lang.IllegalArgumentException: Reference to wildcard must be a number (*)
I'm trying to find a possible easy solution for this issue. warning: exception while processing task java.io.ioexception:
React native code push Unable to resolve dependency for ':[email protected]/compileClasspath':
I am trying to setup code push to manage the release of my react native app. after setting up new buildtypes as per this
Getting The SourceSet 'instrumentTest' is not recognized by the Android Gradle Plugin when i merged branch
I am getting below error only when i try to merge my branch with the main branch in my project. the
Android Studio: Unable to build app due to gradle distribution url error
I know this question has been asked before but i haven't been able to fix the issue. i am running android studio version 3.1.4. i am trying to run
Build.gradle: Access to 'project' exceeds its access rights
Constants.gradle project.ext { minsdkversion = 19 compilesdkversion = 28 targetsdkversion = 28
Ad
Can't integrate Firebase in my Android app
I added new project in my firebase account like all the time and downloaded google-services.json setting file and successfully install it and the
Error in building gradle - com.google.android.gms:play-services-basement is being requested by various other libraries
I am trying to integrate facebook sign in feature to my android app using firebase-ui library. i am following this tutorial -
resource style/Widget.Design.CoordinatorLayout not found after updating to API 28
Today i updated my project from api 27 to api 28. before the update i was not getting any error. i am getting the below error while building the
Problem using firestore and firebase auth/core all together
I have a problem with my app, whenever i try to add firestore into it building the gradle works but after i try to run the program it crashes and
MissingPluginException(No implementation found for method getAll on channel plugins.flutter.io/shared_preferences) -exist solutions didn't work-
I am building an application which uses these packages firebase_core: ^0.5.0 firebase_analytics: ^5.0.16
manifest merger issue come when android studio 3.2 updated on 3.1.4
i want to use latest android studio and i imported old version code and update android studio after updation i have faced
com.android.builder.internal.aapt.v2.Aapt2Exception: Android resource compilation failed after updating android studio
After updating android studio,i am getting this error.how to fix this?? org.gradle.execution.multiplebuildfailures: build
How to get applictionid in android studio?
I mistakenly deleted my applicationid in build.gradle (module:app) in my android studio project. is there any way for me to reset it? i cannot run
apply plugin: 'com.google.gms.google-services' makes error in build.gradle
I have some problem about apply plugin: 'com.google.gms.google-services'. when i insert apply plugin:
Could not resolve android.arch.lifecycle:extensions:1.1.0
I am trying to add lifecycle:extensions to my project but i can not make it work . each time it shows error .
Error : Internal Error, Could not execute build using Gradle distribution
I am using android studio version 3.0,buildtoolsversion '27.0.3' what i am doing wrong exactly? dependencies {
Ad
app:compileDebugJavaWithJavac after removing package
I'm new to react native, my gradle version is 2.1.3 and after i have installed react-native-linear-gradient package, the app won't build, so i've
Getting error when I use same version dependencies in gradle
I'm confused on why this isn't working because my previous versions worked but they were a lower version: implementation
Ad
Blog Categories
Ad