dynamic-class-loaders

how to build an APK and separate libraries that the app loads dynamically

喜欢而已 提交于 2019-11-26 15:35:30
问题 The short summary is: How do I build an APK and separate libraries (by which I mean sets of classes (and ideally, resources too) in some form, such as JAR, AAR or DEX files), but not include those libraries in the APK; instead, the app loads them at run time? Detail So my main question is how to build such an app (e.g. Gradle configuration). How do I specify which classes go into which JAR or DEX files? Do I create an Android Studio module for each DEX file I want to end up with? A closely