Custom Class Loading in Dalvik with Gradle (Android New Build System)

后端 未结 3 1680
太阳男子
太阳男子 2020-12-12 13:26

As per the introduction of Custom Class Loading in Dalvik by Fred Chung on the Android Developers Blog:

The Dalvik VM provides facilities for develope

3条回答
  •  死守一世寂寞
    2020-12-12 13:55

    See my answer over here. The key points are:

    • Use the additionalParameters property on the dynamically created dexCamelCase tasks to pass --multi-dex to dx and create multiple dex files.
    • Use the multidex class loader to use the multiple dex files.

提交回复
热议问题