Breaking News: Grepper is joining You.com. Read the official announcement!
Check it out

Configure multidex#

Sumit Rawal answered on July 2, 2023 Popularity 1/10 Helpfulness 1/10

Contents


More Related Answers

  • why enable multidex android
  • what is multidex support in android
  • multiDex
  • multidex enable true

  • Configure multidex#

    0

    Since some Firebase SDKs (particularly Firestore) include a significant number of classes, we may exceed the Android build system’s 64K method limit and receive an error while merging dex archives. (The maximum amount of method references in a .dex file is 64K.)

    If we see this error, it is recommended that we enable multidex for Android.

    If our app only targets Android 21 or higher (minSdkVersion), multidex is already enabled by default, and the multidex support library isn’t required.

    If our minSdkVersion is 20 or lower, we’ll need to use the multidex support library and make the following changes to our app project:

    Open the /android/app/build.gradle file. Under dependencies, add the multidex module and enable it within the defaultConfig key:

    Popularity 1/10 Helpfulness 1/10 Language whatever
    Source: Grepper
    Link to this answer
    Share Copy Link
    Contributed on Jul 02 2023
    Sumit Rawal
    0 Answers  Avg Quality 2/10


    X

    Continue with Google

    By continuing, I agree that I have read and agree to Greppers's Terms of Service and Privacy Policy.
    X
    Grepper Account Login Required

    Oops, You will need to install Grepper and log-in to perform this action.