Skip to content

multi-dex option #31

@rafaeliga

Description

@rafaeliga

Hey,

I was trying to add the Google maps library to my project and Im getting this error:

"trouble writing output: Too many field references: 67853; max is 65536. You may try using --multi-dex option"

Reference: https://developer.android.com/studio/build/multidex.html

I tried to look at motion-gradle code to add the option that Google suggests: add "multiDexEnabled true" to build.gradle, but seems that the motion-gradle's build.gradle its a java one and I cant add android options, Im not sure about this java part, but that was I found googling/searching for the error too.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions