0
How do I generate an APK, android studio project via command line? I wonder if you have how to call a file . bat and it export the apk in a folder.
0
How do I generate an APK, android studio project via command line? I wonder if you have how to call a file . bat and it export the apk in a folder.
-3
Android uses the Ant building system. So you can create a xml build. and archive build properties. for your project.
You will need to create the xml build. file first however:
android update project -p.
This will generate a file xml build..
You should probably customize the construction steps and goals for your project. A good idea would be to have the build.properties file generated by your IDE for the specific build. Then include it through the build.xml file.
In particular, it will be necessary to specify in the file build properties., where the signature keys are, and what the password is:
Build.Properties:
key.store=Keystore.dat
key.alias=signing_key
key.store.password=password123
key.alias.password=password123
The process of building using ant also allows you to do the replacements of variables in Java files, which may be another idea. Would allow you to customize the construction process still on one customer per customer basis.
By default, the build is triggered by:
ant clean ant release
Browser other questions tagged android android-studio
You are not signed in. Login or sign up in order to post.