-
Notifications
You must be signed in to change notification settings - Fork 346
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Execution failed for task ':app:transformClassesWithMultidexlistForDebug'. Error while generating the main dex list. #16
Comments
@silldepair , can you send me the full error log ? I think the real error is above what you pasted. |
@skrafft sorry for late reply
FAILURE: Build failed with an exception.
BUILD FAILED in 56s |
Hi, Reading your log, it seems that your error is not related to react-native-jitsi-meet but rather to google services. Running the android build command with --info or --debug should provide more information. |
hi, did you solved the issue ? |
can you help me bro, i get stuck with this over 1 week now, alraedy try many things, the error also variety, but for now i got this error,:
FAILURE: Build failed with an exception.
Execution failed for task ':app:transformClassesWithMultidexlistForDebug'.
RN : 0.57.8
app/build.gradle :
apply plugin: "com.android.application"
import com.android.build.OutputFile
/**
react-native bundle
with the correct arguments during the Android buildapply from: "../../node_modules/react-native/react.gradle"
line.*/
project.ext.react = [
entryFile: "index.js",
bundleAssetName: "app.bundle"
]
apply from: "../../node_modules/react-native/react.gradle"
/**
*/
def enableSeparateBuildPerCPUArchitecture = false
/**
*/
def enableProguardInReleaseBuilds = false
project.ext.vectoricons = [
iconFontNames: [ 'FontAwesome.ttf', 'icomoon.ttf' ] // Name of the font files you want to copy
]
apply from: "../../node_modules/react-native-vector-icons/fonts.gradle"
android {
compileSdkVersion rootProject.ext.compileSdkVersion
buildToolsVersion rootProject.ext.buildToolsVersion
}
dependencies {
implementation project(':rn-fetch-blob')
//implementation project(':react-native-firebase')
implementation project(':react-native-image-crop-picker')
implementation project(':react-native-youtube')
implementation project(':react-native-webview-bridge')
implementation project(':react-native-video')
implementation project(':react-native-spinkit')
implementation project(':react-native-image-picker')
implementation project(':react-native-config')
implementation project(':react-native-i18n')
implementation project(':react-native-vector-icons')
implementation fileTree(dir: "libs", include: ["*.jar"])
implementation "com.android.support:appcompat-v7:${rootProject.ext.supportLibVersion}"
implementation ("com.facebook.react:react-native:0.57.8") { force = true } // From node_modules
implementation "com.google.android.gms:play-services-base:16.0.1"
//implementation "com.google.firebase:firebase-core:16.0.4"
//implementation 'com.google.firebase:firebase-messaging:17.3.4'
implementation 'me.leolin:ShortcutBadger:1.1.21@aar'
implementation(project(':react-native-jitsi-meet')){
exclude group: 'com.facebook.react',module:'react-native-locale-detector'
exclude group: 'com.facebook.react',module:'react-native-vector-icons'
exclude group: 'com.facebook.react',module:'rn-fetch-blob'
//exclude group: 'com.facebook.react',module:'react-native-firebase'
}
}
// Run this once to be able to run the application with BUCK
// puts all compile dependencies into folder libs for BUCK to use
task copyDownloadableDepsToLibs(type: Copy) {
from configurations.compile
into 'libs'
}
apply plugin: 'com.google.gms.google-services'
android/build.gradle :
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext {
buildToolsVersion = "27.0.3"
minSdkVersion = 19
compileSdkVersion = 27
targetSdkVersion = 26
supportLibVersion = "27.1.1"
}
repositories {
google()
jcenter()
}
allprojects {
repositories {
mavenLocal()
google()
jcenter()
maven {
// All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
url "$rootDir/../node_modules/react-native/android"
}
maven { // <---- Add this block
url "https://github.com/jitsi/jitsi-maven-repository/raw/master/releases"
}
maven { url "https://jitpack.io" }
}
}
subprojects {
if (project.name.contains('react-native-image-picker')) {
buildscript {
repositories {
jcenter()
maven { url "https://dl.bintray.com/android/android-tools/" }
}
}
}
}
task wrapper(type: Wrapper) {
gradleVersion = '4.4'
//distributionUrl = distributionUrl.replace("bin", "all")
}
The text was updated successfully, but these errors were encountered: