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

Adding Required Packages

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

Contents


More Related Answers

  • python install required packages
  • no required module provides package
  • get required packages from python project
  • hardhat required npm packages install

  • Adding Required Packages

    0

    Configure multidex

    Installing packages

    First, we need to enable multidex in our project.

    Configure multidex

    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
    Tags: whatever
    Link to this answer
    Share Copy Link
    Contributed on Jul 03 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.