How to build multiple APK files automatically?

Is there any way to automatically build ALL of the applications modules in my project into their corresponding APK files?

It would be even better if the version number in the manifest file was incremented also before the build.

Any ideas on this?

0
Avatar
Permanently deleted user

What do you mean by "build automatically"? When you perform "Make" in the IDE, it builds all modules in your project.

0
Avatar
Permanently deleted user

Thanks for your reply, but I think we are talking about different things.

Under the "Build" menu in IntelliJ there is an option "Build Signed APK"

My project has a number of Application Modules. To create new APK files I need to run this menu option for each one.

I am just looking for a way to automate this, increment version numbers before a batch build etc.

0
Avatar
Permanently deleted user

Sorry about the delay. You may try to configure Android artifacts and build them in one action (Project Structure | Artifacts)

0

请先登录再写评论。