Android build fail
See original GitHub issueI’ve been trying to wrap my head around this issue for two days now but can’t seem to figure out how to resolve it. I’ve been trying to find any reference related to this error but can’t seem to find any. The following are my configurations:
RN 0.54.4
tipsi stripe 5.2.4
android/app/build.gradle
android {
compileSdkVersion 27
buildToolsVersion '27.0.3'
defaultConfig {
...
targetSdkVersion 27
...
}
...
dependencies {
implementation project(':tipsi-stripe')
implementation "com.android.support:support-v13:27.1.1"
implementation "com.android.support:design:27.1.1"
implementation "com.android.support:appcompat-v7:27.1.1"
}
When I try to run react-native run-android
the following error occurs:
> Task :app:transformDexArchiveWithExternalLibsDexMergerForDebug FAILED
D8: Program type already present: com.google.android.gms.internal.zzdlx
How do you resolve this error? Any help is much appreciated.
Issue Analytics
- State:
- Created 5 years ago
- Comments:8 (5 by maintainers)
Top Results From Across the Web
Failed to build project with Android studio - gradle
File->Other Settings->Default Project Structure · Under Project Settings: Project, set Project SDK as Android SDK. · Click Edit button · For Android SDK,...
Read more >Why does a build fail in Android Studio even if I don't have ...
There are several causes for gradle build fail in Android studio. Few reasons might be: * Dependencies added * Importing the project from...
Read more >[FIXED] Android build failures `No matching variant of com. ...
Description. Hey all, I'd like to share an update on a series of build failures React Native & Expo users have been experiencing...
Read more >Fix Gradle Build Error in Android Studio | Compilation failed
Tutorial to fix errors encountered while running the android application. This video includes some ways in which you can fix Gradle build ......
Read more >Bug - Android build. Gradle build failed.
Hi, I am using LTS 2021.3.8f1 + I have both the Android and Windows modules installed. Every time I try to build a...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi @isnifer , sorry for the very much delayed response because I had to divert much of my time to other needed feature stories on my app. Fortunately, I fixed the issue by setting up the project-wide properties on top-level
build.gradle
, just like in the example (which I’ve missed):Nice!