Tag Archives: android

Signing an APK in Gradle

After migrating to Android Studio and
getting Android Annotations working, my Android app is ready for deployment as an APK. However, I realized shortly that the signing component didn’t get migrated over and I had to implement it again.

I tried to see if I can find something akin to the maven release plugin and integration with Jenkins, alas to no avail. This means that I would need to create a separate release job or do some extra programmatic configuration to build.gradle to support this.

At the very least I am able to move the keystore configuration out of the build.gradle and push it to a configuration file in the build server similar to the Maven settings.xml.
Continue reading Signing an APK in Gradle

Migrated from Eclipse to Android Studio

So I finally took the time (actually it was probably my third time attempting to do this) to migrate my smallish Android app from Eclipse ADT and Maven to Android Studio and Gradle as a weekend project. The migration finally went successfully this long weekend and I have merged my fork into the main line so I am going to stop using Eclipse/Maven for my Android projects from now on as Android Studio being the official IDE now will likely get the most current updates for a while (at least that is what I am betting on).

However, if asked for my advice, I would definitely not recommend moving over to the new tooling as of yet. The new tooling just stands alone and does not play well with other tools that may have already been established on the enterprise.
Continue reading Migrated from Eclipse to Android Studio