Quantcast
Channel: Active questions tagged react-native+android - Stack Overflow
Viewing all articles
Browse latest Browse all 29632

React native android Task :app:transformClassesWithMultidexlistForRelease FAILED

$
0
0

I am trying to create an release apk for the app and getting the following error Task:app:transformClassesWithMultidexlistForRelease FAILED Sometimes it shows Expiring Daemon because JVM heap space is exhausted but i have set JVM memory to maximum in android studio

The problem did not persist earlier i have created multiple builds for the same application

what i have tried to fix it

1) Tried npx jetify

2) Tried adding aapt options in app/build.gradle

android
{
aaptOptions.cruncherEnabled = false
aaptOptions.useNewCruncher = false
}

3) Tried adding crunchPngs to buildTypes

   buildTypes {

        release {
            ...
            crunchPngs false
            ...           
        }
    }

4) Tried in different laptops to overcome JVM heap space problem

any idea how to fix this?


Viewing all articles
Browse latest Browse all 29632

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>