简体   繁体   中英

How to create configuration APKs for external sdk library added to an android project?

I'm using an external sdk in my android app. Just like my resources, the sdk also has a set of images in multiple dpi folders. Is there a way to create configutation APKs for these resource while creating an android app bundle (.aab file)

I've tried to create an app bundle and the base-master apk turned out to contain all the resources of the library module.

I've been using this method to add the external sdk

Is there a workaround to this? or am I missing something here which can split the sdk also?

I think, the sdk I was using is not properly configured for app-bundle configuration split.

I created my own sdk and put in resources there. When I used that sdk in a different anroid app and created app-bundle, android was able to create individual configuration apks for different dpi images. It worked out perfectly fine.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM