Error: 'com.android.build.api.transform.TransformException: Error while generating the main dex list.'










2















Full Error:




'Execution failed for task ':app:transformClassesWithMultidexlistForNoGPlayDebug'.
com.android.build.api.transform.TransformException: Error while generating the main dex list.'




I managed to successfully integrate Firebase into my app, but came across issues while attempting to implement Firebase Analytics. This error pops up after the compiler starts parsing my google-services.json file. Does anybody have any ideas on what might be causing the issue? Here are my project-level and app-level gradle files:



Project-Level



// Top-level build file where you can add configuration options common to all sub-projects/modules.

buildscript
ext.kotlin_version = '1.3.0'

repositories
google()
jcenter()
maven
url "https://maven.google.com"


dependencies

classpath 'com.android.tools.build:gradle:3.2.1'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath 'com.google.gms:google-services:4.2.0'

// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files



project.ext
supportVersion = "27.1.1"
sdkVersion = 27


allprojects
repositories
jcenter()
google()



task clean(type: Delete)
delete rootProject.buildDir



App-Level



apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-android-extensions'

repositories
maven url "https://dl.bintray.com/dasar/maven"
maven url "https://s3.amazonaws.com/repo.commonsware.com"
maven url "https://jitpack.io"
maven url "https://maven.google.com"
mavenCentral()
google()
jcenter()



android
compileSdkVersion project.sdkVersion
defaultConfig
applicationId "com.digitalnode.quickpick"
minSdkVersion 19
targetSdkVersion project.sdkVersion
versionName "v1.1"
versionCode 17
vectorDrawables.useSupportLibrary = true

multiDexEnabled true


lintOptions
disable 'MissingTranslation'
disable 'ExtraTranslation'
abortOnError false


dexOptions
jumboMode = true


// This is handled for you by the 2.0+ Gradle Plugin
aaptOptions
additionalParameters "--no-version-vectors"


compileOptions
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8


signingConfigs
release


buildTypes
release
minifyEnabled true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
resValue "string", "app_name", "LeafPic"
signingConfig signingConfigs.release


debug
applicationIdSuffix ".debug"
resValue "string", "app_name", "QuickPic"



flavorDimensions "default"

productFlavors
noGPlay
dimension "default"


withGPlay
dimension "default"




dependencies
implementation fileTree(include: ['*.jar'], dir: 'libs')

//exifInterface
implementation "com.android.support:exifinterface:$supportVersion"

// google & support
implementation "com.android.support:appcompat-v7:$supportVersion"
implementation "com.android.support:cardview-v7:$supportVersion"
implementation "com.android.support:recyclerview-v7:$supportVersion"
implementation "com.android.support:design:$supportVersion"
implementation "com.android.support:palette-v7:$supportVersion"
implementation "com.android.support:customtabs:$supportVersion"
implementation "com.android.support:support-v4:$supportVersion"

//exo-player
implementation 'com.google.android.exoplayer:exoplayer-core:2.6.0'
implementation 'com.google.android.exoplayer:exoplayer-dash:2.6.0'
implementation 'com.google.android.exoplayer:exoplayer-ui:2.6.0'
implementation 'com.google.android.exoplayer:exoplayer-hls:2.6.0'
implementation 'com.google.android.exoplayer:exoplayer-smoothstreaming:2.6.0'

// utils
implementation 'com.github.bumptech.glide:glide:4.7.1'
annotationProcessor 'com.github.bumptech.glide:compiler:4.7.1'
implementation 'pl.droidsonroids.gif:android-gif-drawable:1.2.12'
implementation 'com.github.Commit451:bypasses:1.1.0'
implementation 'com.jakewharton:butterknife:8.8.1'
annotationProcessor 'com.jakewharton:butterknife-compiler:8.8.1'
implementation 'com.drewnoakes:metadata-extractor:2.11.0'
implementation "com.orhanobut:hawk:2.0.1"
implementation 'com.commonsware.cwac:provider:0.4.3'

// rxJava
implementation 'io.reactivex.rxjava2:rxandroid:2.0.2'
//it is recommended to keep the same version of rxAndroid
implementation 'io.reactivex.rxjava2:rxjava:2.1.13'
// implementation 'com.jakewharton.rxrelay2:rxrelay:2.0.0'

// icons
implementation 'com.mikepenz:iconics-core:3.0.3@aar'
implementation "com.mikepenz:iconics-views:3.0.3@aar"
implementation 'com.mikepenz:google-material-typeface:3.0.1.2.original@aar'
implementation 'com.mikepenz:community-material-typeface:2.0.46.1@aar'
implementation 'com.mikepenz:fontawesome-typeface:4.7.0.2@aar'

// ui
implementation 'uz.shift:colorpicker:0.5@aar'
implementation 'com.github.jetradarmobile:desertplaceholder:1.1.1'
implementation 'de.hdodenhof:circleimageview:2.2.0'
implementation 'com.github.yalantis:ucrop:2.2.2'
implementation 'com.davemorrissey.labs:subsampling-scale-image-view:3.10.0'
implementation 'jp.wasabeef:recyclerview-animators:2.2.7'
implementation 'com.github.HoraApps:Liz:-SNAPSHOT'
implementation 'com.github.lzyzsd:circleprogress:1.2.1'

// debug Only
//debugCompile project(':inappstoragereader')
implementation 'cat.ereza:customactivityoncrash:2.2.0'
debugImplementation 'com.squareup.leakcanary:leakcanary-android:1.5.4'
releaseImplementation 'com.squareup.leakcanary:leakcanary-android-no-op:1.5.4'

implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
implementation 'com.android.support:multidex:1.0.3'

// TODO check them out
implementation 'com.turingtechnologies.materialscrollbar:lib:10.0.3'
implementation 'de.psdev.licensesdialog:licensesdialog:1.8.3'

implementation 'com.google.firebase:firebase-database:16.0.5'

implementation 'com.google.android.gms:play-services-analytics:16.0.5'

implementation 'com.google.firebase:firebase-core:16.0.5'
implementation 'com.google.android.gms:play-services-ads:17.1.0'


Properties props = new Properties()
def propFile = new File('signing.properties')
if (propFile.canRead())
props.load(new FileInputStream(propFile))

if (props != null && props.containsKey('STORE_FILE') && props.containsKey('KEY_ALIAS') && props.containsKey('PASSWORD'))
android.signingConfigs.release.storeFile = file(props['STORE_FILE'])
android.signingConfigs.release.storePassword = props['PASSWORD']
android.signingConfigs.release.keyAlias = props['KEY_ALIAS']
android.signingConfigs.release.keyPassword = props['PASSWORD']
else
println 'signing.properties found but some entries are missing'
android.buildTypes.release.signingConfig = null

else
println 'signing.properties not found'
android.buildTypes.release.signingConfig = null


apply plugin: 'com.google.gms.google-services'









share|improve this question






















  • Did you find any solution for this yet ?

    – bianca
    Dec 15 '18 at 4:27















2















Full Error:




'Execution failed for task ':app:transformClassesWithMultidexlistForNoGPlayDebug'.
com.android.build.api.transform.TransformException: Error while generating the main dex list.'




I managed to successfully integrate Firebase into my app, but came across issues while attempting to implement Firebase Analytics. This error pops up after the compiler starts parsing my google-services.json file. Does anybody have any ideas on what might be causing the issue? Here are my project-level and app-level gradle files:



Project-Level



// Top-level build file where you can add configuration options common to all sub-projects/modules.

buildscript
ext.kotlin_version = '1.3.0'

repositories
google()
jcenter()
maven
url "https://maven.google.com"


dependencies

classpath 'com.android.tools.build:gradle:3.2.1'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath 'com.google.gms:google-services:4.2.0'

// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files



project.ext
supportVersion = "27.1.1"
sdkVersion = 27


allprojects
repositories
jcenter()
google()



task clean(type: Delete)
delete rootProject.buildDir



App-Level



apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-android-extensions'

repositories
maven url "https://dl.bintray.com/dasar/maven"
maven url "https://s3.amazonaws.com/repo.commonsware.com"
maven url "https://jitpack.io"
maven url "https://maven.google.com"
mavenCentral()
google()
jcenter()



android
compileSdkVersion project.sdkVersion
defaultConfig
applicationId "com.digitalnode.quickpick"
minSdkVersion 19
targetSdkVersion project.sdkVersion
versionName "v1.1"
versionCode 17
vectorDrawables.useSupportLibrary = true

multiDexEnabled true


lintOptions
disable 'MissingTranslation'
disable 'ExtraTranslation'
abortOnError false


dexOptions
jumboMode = true


// This is handled for you by the 2.0+ Gradle Plugin
aaptOptions
additionalParameters "--no-version-vectors"


compileOptions
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8


signingConfigs
release


buildTypes
release
minifyEnabled true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
resValue "string", "app_name", "LeafPic"
signingConfig signingConfigs.release


debug
applicationIdSuffix ".debug"
resValue "string", "app_name", "QuickPic"



flavorDimensions "default"

productFlavors
noGPlay
dimension "default"


withGPlay
dimension "default"




dependencies
implementation fileTree(include: ['*.jar'], dir: 'libs')

//exifInterface
implementation "com.android.support:exifinterface:$supportVersion"

// google & support
implementation "com.android.support:appcompat-v7:$supportVersion"
implementation "com.android.support:cardview-v7:$supportVersion"
implementation "com.android.support:recyclerview-v7:$supportVersion"
implementation "com.android.support:design:$supportVersion"
implementation "com.android.support:palette-v7:$supportVersion"
implementation "com.android.support:customtabs:$supportVersion"
implementation "com.android.support:support-v4:$supportVersion"

//exo-player
implementation 'com.google.android.exoplayer:exoplayer-core:2.6.0'
implementation 'com.google.android.exoplayer:exoplayer-dash:2.6.0'
implementation 'com.google.android.exoplayer:exoplayer-ui:2.6.0'
implementation 'com.google.android.exoplayer:exoplayer-hls:2.6.0'
implementation 'com.google.android.exoplayer:exoplayer-smoothstreaming:2.6.0'

// utils
implementation 'com.github.bumptech.glide:glide:4.7.1'
annotationProcessor 'com.github.bumptech.glide:compiler:4.7.1'
implementation 'pl.droidsonroids.gif:android-gif-drawable:1.2.12'
implementation 'com.github.Commit451:bypasses:1.1.0'
implementation 'com.jakewharton:butterknife:8.8.1'
annotationProcessor 'com.jakewharton:butterknife-compiler:8.8.1'
implementation 'com.drewnoakes:metadata-extractor:2.11.0'
implementation "com.orhanobut:hawk:2.0.1"
implementation 'com.commonsware.cwac:provider:0.4.3'

// rxJava
implementation 'io.reactivex.rxjava2:rxandroid:2.0.2'
//it is recommended to keep the same version of rxAndroid
implementation 'io.reactivex.rxjava2:rxjava:2.1.13'
// implementation 'com.jakewharton.rxrelay2:rxrelay:2.0.0'

// icons
implementation 'com.mikepenz:iconics-core:3.0.3@aar'
implementation "com.mikepenz:iconics-views:3.0.3@aar"
implementation 'com.mikepenz:google-material-typeface:3.0.1.2.original@aar'
implementation 'com.mikepenz:community-material-typeface:2.0.46.1@aar'
implementation 'com.mikepenz:fontawesome-typeface:4.7.0.2@aar'

// ui
implementation 'uz.shift:colorpicker:0.5@aar'
implementation 'com.github.jetradarmobile:desertplaceholder:1.1.1'
implementation 'de.hdodenhof:circleimageview:2.2.0'
implementation 'com.github.yalantis:ucrop:2.2.2'
implementation 'com.davemorrissey.labs:subsampling-scale-image-view:3.10.0'
implementation 'jp.wasabeef:recyclerview-animators:2.2.7'
implementation 'com.github.HoraApps:Liz:-SNAPSHOT'
implementation 'com.github.lzyzsd:circleprogress:1.2.1'

// debug Only
//debugCompile project(':inappstoragereader')
implementation 'cat.ereza:customactivityoncrash:2.2.0'
debugImplementation 'com.squareup.leakcanary:leakcanary-android:1.5.4'
releaseImplementation 'com.squareup.leakcanary:leakcanary-android-no-op:1.5.4'

implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
implementation 'com.android.support:multidex:1.0.3'

// TODO check them out
implementation 'com.turingtechnologies.materialscrollbar:lib:10.0.3'
implementation 'de.psdev.licensesdialog:licensesdialog:1.8.3'

implementation 'com.google.firebase:firebase-database:16.0.5'

implementation 'com.google.android.gms:play-services-analytics:16.0.5'

implementation 'com.google.firebase:firebase-core:16.0.5'
implementation 'com.google.android.gms:play-services-ads:17.1.0'


Properties props = new Properties()
def propFile = new File('signing.properties')
if (propFile.canRead())
props.load(new FileInputStream(propFile))

if (props != null && props.containsKey('STORE_FILE') && props.containsKey('KEY_ALIAS') && props.containsKey('PASSWORD'))
android.signingConfigs.release.storeFile = file(props['STORE_FILE'])
android.signingConfigs.release.storePassword = props['PASSWORD']
android.signingConfigs.release.keyAlias = props['KEY_ALIAS']
android.signingConfigs.release.keyPassword = props['PASSWORD']
else
println 'signing.properties found but some entries are missing'
android.buildTypes.release.signingConfig = null

else
println 'signing.properties not found'
android.buildTypes.release.signingConfig = null


apply plugin: 'com.google.gms.google-services'









share|improve this question






















  • Did you find any solution for this yet ?

    – bianca
    Dec 15 '18 at 4:27













2












2








2


1






Full Error:




'Execution failed for task ':app:transformClassesWithMultidexlistForNoGPlayDebug'.
com.android.build.api.transform.TransformException: Error while generating the main dex list.'




I managed to successfully integrate Firebase into my app, but came across issues while attempting to implement Firebase Analytics. This error pops up after the compiler starts parsing my google-services.json file. Does anybody have any ideas on what might be causing the issue? Here are my project-level and app-level gradle files:



Project-Level



// Top-level build file where you can add configuration options common to all sub-projects/modules.

buildscript
ext.kotlin_version = '1.3.0'

repositories
google()
jcenter()
maven
url "https://maven.google.com"


dependencies

classpath 'com.android.tools.build:gradle:3.2.1'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath 'com.google.gms:google-services:4.2.0'

// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files



project.ext
supportVersion = "27.1.1"
sdkVersion = 27


allprojects
repositories
jcenter()
google()



task clean(type: Delete)
delete rootProject.buildDir



App-Level



apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-android-extensions'

repositories
maven url "https://dl.bintray.com/dasar/maven"
maven url "https://s3.amazonaws.com/repo.commonsware.com"
maven url "https://jitpack.io"
maven url "https://maven.google.com"
mavenCentral()
google()
jcenter()



android
compileSdkVersion project.sdkVersion
defaultConfig
applicationId "com.digitalnode.quickpick"
minSdkVersion 19
targetSdkVersion project.sdkVersion
versionName "v1.1"
versionCode 17
vectorDrawables.useSupportLibrary = true

multiDexEnabled true


lintOptions
disable 'MissingTranslation'
disable 'ExtraTranslation'
abortOnError false


dexOptions
jumboMode = true


// This is handled for you by the 2.0+ Gradle Plugin
aaptOptions
additionalParameters "--no-version-vectors"


compileOptions
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8


signingConfigs
release


buildTypes
release
minifyEnabled true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
resValue "string", "app_name", "LeafPic"
signingConfig signingConfigs.release


debug
applicationIdSuffix ".debug"
resValue "string", "app_name", "QuickPic"



flavorDimensions "default"

productFlavors
noGPlay
dimension "default"


withGPlay
dimension "default"




dependencies
implementation fileTree(include: ['*.jar'], dir: 'libs')

//exifInterface
implementation "com.android.support:exifinterface:$supportVersion"

// google & support
implementation "com.android.support:appcompat-v7:$supportVersion"
implementation "com.android.support:cardview-v7:$supportVersion"
implementation "com.android.support:recyclerview-v7:$supportVersion"
implementation "com.android.support:design:$supportVersion"
implementation "com.android.support:palette-v7:$supportVersion"
implementation "com.android.support:customtabs:$supportVersion"
implementation "com.android.support:support-v4:$supportVersion"

//exo-player
implementation 'com.google.android.exoplayer:exoplayer-core:2.6.0'
implementation 'com.google.android.exoplayer:exoplayer-dash:2.6.0'
implementation 'com.google.android.exoplayer:exoplayer-ui:2.6.0'
implementation 'com.google.android.exoplayer:exoplayer-hls:2.6.0'
implementation 'com.google.android.exoplayer:exoplayer-smoothstreaming:2.6.0'

// utils
implementation 'com.github.bumptech.glide:glide:4.7.1'
annotationProcessor 'com.github.bumptech.glide:compiler:4.7.1'
implementation 'pl.droidsonroids.gif:android-gif-drawable:1.2.12'
implementation 'com.github.Commit451:bypasses:1.1.0'
implementation 'com.jakewharton:butterknife:8.8.1'
annotationProcessor 'com.jakewharton:butterknife-compiler:8.8.1'
implementation 'com.drewnoakes:metadata-extractor:2.11.0'
implementation "com.orhanobut:hawk:2.0.1"
implementation 'com.commonsware.cwac:provider:0.4.3'

// rxJava
implementation 'io.reactivex.rxjava2:rxandroid:2.0.2'
//it is recommended to keep the same version of rxAndroid
implementation 'io.reactivex.rxjava2:rxjava:2.1.13'
// implementation 'com.jakewharton.rxrelay2:rxrelay:2.0.0'

// icons
implementation 'com.mikepenz:iconics-core:3.0.3@aar'
implementation "com.mikepenz:iconics-views:3.0.3@aar"
implementation 'com.mikepenz:google-material-typeface:3.0.1.2.original@aar'
implementation 'com.mikepenz:community-material-typeface:2.0.46.1@aar'
implementation 'com.mikepenz:fontawesome-typeface:4.7.0.2@aar'

// ui
implementation 'uz.shift:colorpicker:0.5@aar'
implementation 'com.github.jetradarmobile:desertplaceholder:1.1.1'
implementation 'de.hdodenhof:circleimageview:2.2.0'
implementation 'com.github.yalantis:ucrop:2.2.2'
implementation 'com.davemorrissey.labs:subsampling-scale-image-view:3.10.0'
implementation 'jp.wasabeef:recyclerview-animators:2.2.7'
implementation 'com.github.HoraApps:Liz:-SNAPSHOT'
implementation 'com.github.lzyzsd:circleprogress:1.2.1'

// debug Only
//debugCompile project(':inappstoragereader')
implementation 'cat.ereza:customactivityoncrash:2.2.0'
debugImplementation 'com.squareup.leakcanary:leakcanary-android:1.5.4'
releaseImplementation 'com.squareup.leakcanary:leakcanary-android-no-op:1.5.4'

implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
implementation 'com.android.support:multidex:1.0.3'

// TODO check them out
implementation 'com.turingtechnologies.materialscrollbar:lib:10.0.3'
implementation 'de.psdev.licensesdialog:licensesdialog:1.8.3'

implementation 'com.google.firebase:firebase-database:16.0.5'

implementation 'com.google.android.gms:play-services-analytics:16.0.5'

implementation 'com.google.firebase:firebase-core:16.0.5'
implementation 'com.google.android.gms:play-services-ads:17.1.0'


Properties props = new Properties()
def propFile = new File('signing.properties')
if (propFile.canRead())
props.load(new FileInputStream(propFile))

if (props != null && props.containsKey('STORE_FILE') && props.containsKey('KEY_ALIAS') && props.containsKey('PASSWORD'))
android.signingConfigs.release.storeFile = file(props['STORE_FILE'])
android.signingConfigs.release.storePassword = props['PASSWORD']
android.signingConfigs.release.keyAlias = props['KEY_ALIAS']
android.signingConfigs.release.keyPassword = props['PASSWORD']
else
println 'signing.properties found but some entries are missing'
android.buildTypes.release.signingConfig = null

else
println 'signing.properties not found'
android.buildTypes.release.signingConfig = null


apply plugin: 'com.google.gms.google-services'









share|improve this question














Full Error:




'Execution failed for task ':app:transformClassesWithMultidexlistForNoGPlayDebug'.
com.android.build.api.transform.TransformException: Error while generating the main dex list.'




I managed to successfully integrate Firebase into my app, but came across issues while attempting to implement Firebase Analytics. This error pops up after the compiler starts parsing my google-services.json file. Does anybody have any ideas on what might be causing the issue? Here are my project-level and app-level gradle files:



Project-Level



// Top-level build file where you can add configuration options common to all sub-projects/modules.

buildscript
ext.kotlin_version = '1.3.0'

repositories
google()
jcenter()
maven
url "https://maven.google.com"


dependencies

classpath 'com.android.tools.build:gradle:3.2.1'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath 'com.google.gms:google-services:4.2.0'

// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files



project.ext
supportVersion = "27.1.1"
sdkVersion = 27


allprojects
repositories
jcenter()
google()



task clean(type: Delete)
delete rootProject.buildDir



App-Level



apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-android-extensions'

repositories
maven url "https://dl.bintray.com/dasar/maven"
maven url "https://s3.amazonaws.com/repo.commonsware.com"
maven url "https://jitpack.io"
maven url "https://maven.google.com"
mavenCentral()
google()
jcenter()



android
compileSdkVersion project.sdkVersion
defaultConfig
applicationId "com.digitalnode.quickpick"
minSdkVersion 19
targetSdkVersion project.sdkVersion
versionName "v1.1"
versionCode 17
vectorDrawables.useSupportLibrary = true

multiDexEnabled true


lintOptions
disable 'MissingTranslation'
disable 'ExtraTranslation'
abortOnError false


dexOptions
jumboMode = true


// This is handled for you by the 2.0+ Gradle Plugin
aaptOptions
additionalParameters "--no-version-vectors"


compileOptions
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8


signingConfigs
release


buildTypes
release
minifyEnabled true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
resValue "string", "app_name", "LeafPic"
signingConfig signingConfigs.release


debug
applicationIdSuffix ".debug"
resValue "string", "app_name", "QuickPic"



flavorDimensions "default"

productFlavors
noGPlay
dimension "default"


withGPlay
dimension "default"




dependencies
implementation fileTree(include: ['*.jar'], dir: 'libs')

//exifInterface
implementation "com.android.support:exifinterface:$supportVersion"

// google & support
implementation "com.android.support:appcompat-v7:$supportVersion"
implementation "com.android.support:cardview-v7:$supportVersion"
implementation "com.android.support:recyclerview-v7:$supportVersion"
implementation "com.android.support:design:$supportVersion"
implementation "com.android.support:palette-v7:$supportVersion"
implementation "com.android.support:customtabs:$supportVersion"
implementation "com.android.support:support-v4:$supportVersion"

//exo-player
implementation 'com.google.android.exoplayer:exoplayer-core:2.6.0'
implementation 'com.google.android.exoplayer:exoplayer-dash:2.6.0'
implementation 'com.google.android.exoplayer:exoplayer-ui:2.6.0'
implementation 'com.google.android.exoplayer:exoplayer-hls:2.6.0'
implementation 'com.google.android.exoplayer:exoplayer-smoothstreaming:2.6.0'

// utils
implementation 'com.github.bumptech.glide:glide:4.7.1'
annotationProcessor 'com.github.bumptech.glide:compiler:4.7.1'
implementation 'pl.droidsonroids.gif:android-gif-drawable:1.2.12'
implementation 'com.github.Commit451:bypasses:1.1.0'
implementation 'com.jakewharton:butterknife:8.8.1'
annotationProcessor 'com.jakewharton:butterknife-compiler:8.8.1'
implementation 'com.drewnoakes:metadata-extractor:2.11.0'
implementation "com.orhanobut:hawk:2.0.1"
implementation 'com.commonsware.cwac:provider:0.4.3'

// rxJava
implementation 'io.reactivex.rxjava2:rxandroid:2.0.2'
//it is recommended to keep the same version of rxAndroid
implementation 'io.reactivex.rxjava2:rxjava:2.1.13'
// implementation 'com.jakewharton.rxrelay2:rxrelay:2.0.0'

// icons
implementation 'com.mikepenz:iconics-core:3.0.3@aar'
implementation "com.mikepenz:iconics-views:3.0.3@aar"
implementation 'com.mikepenz:google-material-typeface:3.0.1.2.original@aar'
implementation 'com.mikepenz:community-material-typeface:2.0.46.1@aar'
implementation 'com.mikepenz:fontawesome-typeface:4.7.0.2@aar'

// ui
implementation 'uz.shift:colorpicker:0.5@aar'
implementation 'com.github.jetradarmobile:desertplaceholder:1.1.1'
implementation 'de.hdodenhof:circleimageview:2.2.0'
implementation 'com.github.yalantis:ucrop:2.2.2'
implementation 'com.davemorrissey.labs:subsampling-scale-image-view:3.10.0'
implementation 'jp.wasabeef:recyclerview-animators:2.2.7'
implementation 'com.github.HoraApps:Liz:-SNAPSHOT'
implementation 'com.github.lzyzsd:circleprogress:1.2.1'

// debug Only
//debugCompile project(':inappstoragereader')
implementation 'cat.ereza:customactivityoncrash:2.2.0'
debugImplementation 'com.squareup.leakcanary:leakcanary-android:1.5.4'
releaseImplementation 'com.squareup.leakcanary:leakcanary-android-no-op:1.5.4'

implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
implementation 'com.android.support:multidex:1.0.3'

// TODO check them out
implementation 'com.turingtechnologies.materialscrollbar:lib:10.0.3'
implementation 'de.psdev.licensesdialog:licensesdialog:1.8.3'

implementation 'com.google.firebase:firebase-database:16.0.5'

implementation 'com.google.android.gms:play-services-analytics:16.0.5'

implementation 'com.google.firebase:firebase-core:16.0.5'
implementation 'com.google.android.gms:play-services-ads:17.1.0'


Properties props = new Properties()
def propFile = new File('signing.properties')
if (propFile.canRead())
props.load(new FileInputStream(propFile))

if (props != null && props.containsKey('STORE_FILE') && props.containsKey('KEY_ALIAS') && props.containsKey('PASSWORD'))
android.signingConfigs.release.storeFile = file(props['STORE_FILE'])
android.signingConfigs.release.storePassword = props['PASSWORD']
android.signingConfigs.release.keyAlias = props['KEY_ALIAS']
android.signingConfigs.release.keyPassword = props['PASSWORD']
else
println 'signing.properties found but some entries are missing'
android.buildTypes.release.signingConfig = null

else
println 'signing.properties not found'
android.buildTypes.release.signingConfig = null


apply plugin: 'com.google.gms.google-services'






java android firebase gradle google-analytics






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Nov 11 '18 at 23:42









TheFiveHundredYearsTheFiveHundredYears

327




327












  • Did you find any solution for this yet ?

    – bianca
    Dec 15 '18 at 4:27

















  • Did you find any solution for this yet ?

    – bianca
    Dec 15 '18 at 4:27
















Did you find any solution for this yet ?

– bianca
Dec 15 '18 at 4:27





Did you find any solution for this yet ?

– bianca
Dec 15 '18 at 4:27












1 Answer
1






active

oldest

votes


















0














Try downgrading play-service-ads to 16.0.0.



In my case it solves the issue.






share|improve this answer






















    Your Answer






    StackExchange.ifUsing("editor", function ()
    StackExchange.using("externalEditor", function ()
    StackExchange.using("snippets", function ()
    StackExchange.snippets.init();
    );
    );
    , "code-snippets");

    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "1"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader:
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    ,
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );













    draft saved

    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53254376%2ferror-com-android-build-api-transform-transformexception-error-while-generati%23new-answer', 'question_page');

    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    Try downgrading play-service-ads to 16.0.0.



    In my case it solves the issue.






    share|improve this answer



























      0














      Try downgrading play-service-ads to 16.0.0.



      In my case it solves the issue.






      share|improve this answer

























        0












        0








        0







        Try downgrading play-service-ads to 16.0.0.



        In my case it solves the issue.






        share|improve this answer













        Try downgrading play-service-ads to 16.0.0.



        In my case it solves the issue.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Jan 23 at 17:42









        CanedoCanedo

        162




        162





























            draft saved

            draft discarded
















































            Thanks for contributing an answer to Stack Overflow!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid


            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.

            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53254376%2ferror-com-android-build-api-transform-transformexception-error-while-generati%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            𛂒𛀶,𛀽𛀑𛂀𛃧𛂓𛀙𛃆𛃑𛃷𛂟𛁡𛀢𛀟𛁤𛂽𛁕𛁪𛂟𛂯,𛁞𛂧𛀴𛁄𛁠𛁼𛂿𛀤 𛂘,𛁺𛂾𛃭𛃭𛃵𛀺,𛂣𛃍𛂖𛃶 𛀸𛃀𛂖𛁶𛁏𛁚 𛂢𛂞 𛁰𛂆𛀔,𛁸𛀽𛁓𛃋𛂇𛃧𛀧𛃣𛂐𛃇,𛂂𛃻𛃲𛁬𛃞𛀧𛃃𛀅 𛂭𛁠𛁡𛃇𛀷𛃓𛁥,𛁙𛁘𛁞𛃸𛁸𛃣𛁜,𛂛,𛃿,𛁯𛂘𛂌𛃛𛁱𛃌𛂈𛂇 𛁊𛃲,𛀕𛃴𛀜 𛀶𛂆𛀶𛃟𛂉𛀣,𛂐𛁞𛁾 𛁷𛂑𛁳𛂯𛀬𛃅,𛃶𛁼

            Crossroads (UK TV series)

            ữḛḳṊẴ ẋ,Ẩṙ,ỹḛẪẠứụỿṞṦ,Ṉẍừ,ứ Ị,Ḵ,ṏ ṇỪḎḰṰọửḊ ṾḨḮữẑỶṑỗḮṣṉẃ Ữẩụ,ṓ,ḹẕḪḫỞṿḭ ỒṱṨẁṋṜ ḅẈ ṉ ứṀḱṑỒḵ,ḏ,ḊḖỹẊ Ẻḷổ,ṥ ẔḲẪụḣể Ṱ ḭỏựẶ Ồ Ṩ,ẂḿṡḾồ ỗṗṡịṞẤḵṽẃ ṸḒẄẘ,ủẞẵṦṟầṓế