Android lib-project generated from command line misconfigured by default -
i need generate android library projects , build them command line. i'm running issue misconfigured default when generated , i'm not sure how fix other manually editing misconfigured files.
i run android command commandline this:
android create lib-project -n test -t 2 -k net.marklar.test -g -v 1.1.3 -p .
this causes project generated declares dependency on gradle 1.12 in test/gradle/wrapper/gradle-wrapper.properties, though android gradle plugin requires 2.1+ work:
distributionurl=http\://services.gradle.org/distributions/gradle-1.12-all.zip
once replace line in gradle-wrapper.properties still have issue build.gradle file has following line:
runproguard false
runproguard has been renamed minifyenabled in plugins version 1.0.0+. replacing line minifyenabled fixes build.
does know have setup incorrectly cause projects generated old/deprecated configuration?
Comments
Post a Comment