Android Dynamic Feature Modules: My Experience

val intent = Intent().setClassName(packageName,
"<complete class path of camera activity>")
startActivity(intent)
java -jar <jar file path> build-apks --bundle=<aab file path> --output=<output file path>
java -jar ~/Desktop/release/bundletool-all-0.7.2.jar build-apks --bundle=~/Desktop/release/app.aab --output=~/Desktop/release/out.apks
unzip out.apks -d apks
java -jar ~/Desktop/release/bundletool-all-0.7.2.jar build-apks --bundle=~/Desktop/release/app.aab --output=~/Desktop/release/out.apks --ks <keytore file path> --ks-key-alias <alias>

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store