Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Android Studio Tips: Publishing with Gradle

DZone's Guide to

Android Studio Tips: Publishing with Gradle

· Java Zone
Free Resource

Build vs Buy a Data Quality Solution: Which is Best for You? Gain insights on a hybrid approach. Download white paper now!

We've heard some tips on what you ought to know before switching from Eclipse to Android Studio, as well as some general thoughts on how great it is to do so, but one of the major and daunting differences between the two IDEs is the build tool: Android Studio uses Gradle instead of Ant. For those who aren't used to it, it can be a bit of a challenge to get used to, so Damian Mee has published a walkthrough of the Gradle build process in Android Studio, which covers all the more subtle tips and tricks one might need to know to succeed.

First, Mee covers some of the basics that need to be addressed in Android Studio itself. He breaks it down into three quick steps:

  • "Know what to click"
  • "Know 'the code'"
  • "Know where to look"

Then, Mee goes into detail on each of the Gradle flows he has used to publish his apps. These are more of an evolution than a list of options, but he still explains each, as they are all helpful in understanding the next stage in the progression. He calls the flows:

  • Convenient flow
  • Shared Repo flow
  • Awesome flow
  • Perfect flow

The last one being his current approach. As the introduction of Gradle is one of the biggest differences in Android Studio, this is a welcome resource and should solve a bit of confusion for newcomers. Check out the full article for more details.

Build vs Buy a Data Quality Solution: Which is Best for You? Maintaining high quality data is essential for operational efficiency, meaningful analytics and good long-term customer relationships. But, when dealing with multiple sources of data, data quality becomes complex, so you need to know when you should build a custom data quality tools effort over canned solutions. Download our whitepaper for more insights into a hybrid approach.

Topics:

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}