Android Build: Dex Jumbo Mode in Gradle

前端 未结 6 1892
一向
一向 2020-12-08 01:43

I am using following line in android ant build (project.properties):

dex.force.jumbo=true

Now we are migrating from ant to Gradle. Is it po

6条回答
  •  不知归路
    2020-12-08 02:33

    this error means that your method have got over 65536

    just add multiDexEnabled on default config at build.gradle file

    defaultConfig {
       ...
       multiDexEnabled true
       ... 
    }
    

    this way also work: https://blog.csdn.net/H_O_W_E/article/details/77742907

提交回复
热议问题