Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

137
Views
error while relaese android react native apk

I have various problems in relaese apk build. At the moment I solved it by renaming all the library packages and consequently all the imports that give me problems. But I need an idea not to do this every time. Do you have any solutions about it?

The errors if I don't rename the libraries are:

C:\Users\manue\OneDrive\Desktop\MyApp\node_modules\react-native-device-info\android\build.transforms\9166b1d6d34e6b3b03f3d84907b6a605\transformed\classes\classes.dex, C:\Users\manue\OneDrive\Desktop\MyApp\android\app\build\intermediates\external_libs_dex\release\mergeExtDexRelease\classes2.dex

other 7 libraries also give me these errors:

react-native-async-storage-async react-native-sound react-native-background-timer react-native-device-info react-native-splash-screen react-native-google-signin react-native-community-netinfo

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

Adding the following code to build.gradle app module solved my problem

android{
defaultConfig {

    // Enabling multidex support.
    multiDexEnabled true
}

 dexOptions {
    javaMaxHeapSize "4g"
}
}
dependencies {
//...
compile 'com.android.support:multidex:1.0.0'
}
about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!