Maven build Android application - BuildConfig -
While trying to use Maven to create an Android project, I have recognized that the Maven-Android-Plugin Build does not automatically generate during the configuration class. build time. I have found a ticket about that problem and a Google Groups thread
Problem:
Google Groups:
Quick hack buildico During the creation of the buildConfig.DEBUG suggests to create another micro-maven project to set the variable. Profile switch will help me create a multi-module project for every single small application.
The suggestions in the Google Groups thread are okay for me (implementing ant task from SDK to create BuildConfig class) but try to dig through build.xml and get this work done I have left
Did anyone get practical solutions to the BuildConfig problem with Maven + Android?
Thanks to Jake Wharton and Manfred Moser, the Android Maven plugin since 3.3.2 Buildconfig generation Supported.
3.3.2 Check the changelog for release.
Comments
Post a Comment