I searched on Google and SO but cannot find the answer.
This is the first time I'm working with a gradle system, and now I'm going to create a signed APK for upload to a Google game (the project is imported from eclipse).
Now I read the part here http://tools.android.com/tech-docs/new-build-system/user-guide#TOC-Building-and-Tasks , which you must add signingConfigs to your build.gradle
I added these lines, and now I saw that you need to run ./gradlew assembleRelease , but doing this in my cmd "gradle" return is not recognized as an internal or external command, operating program, or batch file. I also tried right-clicking on build.gradle and running it, stating that it was successful, but as soon as I look in the build / apk folder there is only a file named app-debug-unaligned.apk
So, how do I generate a signed apk using the gradle system?
android android-studio android-gradle gradle apk
Gooey Jan 04 '14 at 13:13 2014-01-04 13:13
source share