I've searched on Google and SO but cannot find my answer.
This is the first time I'm working with the Gradle system and I am now at the point of generating a signed APK to upload to Google Play (project is imported from eclipse).
Now, I've read the part here that you should add signingConfigs
to your build.gradle
.
I've added these lines and now I saw that you need to run ./gradlew assembleRelease
but running this in my CMD returns
'gradle' is not recognized as an internal or external command, operable program or batch file.
I've also tried to right click on the build.gradle and run it, saying it was sucessful but once I look in the build/apk folder only a file called app-debug-unaligned.apk
.
So, how do I generate the signed APK using the Gradle system?