How to publish Android apps with Android Studio?

Setting up Android Studio

Download the last version of Android Studio: click here

Then install Android Studio.

Choose Standard:

knowledgebase_publish_android_01

Select this setting (ā€œI do not have a previous version of Studio or I do not want to import my settingsā€):

knowledgebase_publish_android_02

How to create an APK

  1. Login in BuzApps.net App Design.
  2. Click “Manage” on the appropriate app
  3. While in the Editor, click the “Publication” tab.
  4. Click “Download” next to the text “Android Version

And unzip the downloaded file.

Then go back to the main menu of Android Studio:

knowledgebase_publish_android_03

Click on ā€œImport Projectā€. You will see a warning message, don’t worry about that it is the normal process, click on Ok.

Then choose the Android Source folder you have unzipped, and click on ā€œimportā€.

When your project is imported, from the left menu, click on your folder ā€œandroid_sourceā€ and open the tree.

From the main menu click on Build >Generate Signed APK.

Then, click next and you get this screen:

knowledgebase_publish_android_04

Okay, so you have chosen ā€œCreate newā€. Now we suppose that you are someone very organized (if not already, take a look to the article about iOS publication and organize your folders the same way), and thus that you have already create a folder for your app publication on your computer. Before having downloaded the android sources file, you have created a folder on your computer named ā€œMy Awesome Appā€, for instance, with two subfolders: one for the graphic items, like screenshots of this app, and one for the certificates which will be named ā€œcertificateā€. Thus, on your computer we have a folder named ā€œMy Awesome Appā€ with the subfolder ā€œcertificateā€ and the other subfolder ā€œgraphicsā€.

Okay now let’s go back to Android Studio. You have clicked on ā€œCreate newā€, and you get this screen:

knowledgebase_publish_android_05

Now click on the button to browse in your computer folder and go to the ā€œcertificateā€ folder, in the main folder ā€œMy Awesome Appā€, and below in the ā€œFile nameā€ field, enter ā€œcertificateā€, and click ok:

knowledgebase_publish_android_06

Enter a password for the Key Store, enter an alias name (the name of the app is OK), and a password the Key Alias, set the validity period to 99 years, and enter the name of the app owner. Then click Ok:

knowledgebase_publish_android_07

In the summary screen click next :

knowledgebase_publish_android_08

Then in the next screen, choose ā€œreleaseā€ for ā€œBuild Typeā€ and then click on Finish. Your APK is built.

NOTE:

From Android Studio 2.0 you can encounter the error ā€œError:’com.android.build.gradle.BasePlugin’ does not implement the Plugin interface.ā€. To fix this problem, just go in the menu of Android Studio in File > settings > build execution deployment > build tools > gradle, and then check the option ā€œUse default gradle wrapperā€ like in the image below:

knowledgebase_publish_android_09

To fill out the app sheet on Google Play

Store Listing

In the Store Listing page, fill out the two descriptions with the description that are in the App details page in the backend of your Commercial Edition. In the Graphic Asset section, the mandatory elements are a 512Ɨ512 icon, at least 2 screenshots whatever if it is for tablets or phones (you can use the ones you have generated for the iPhone version (use ones created for iPhone 5 or iPads), and a 1024x500px image that will illustrate the app.

Then, in the Categorization section, choose ā€œApplicationā€ for Application Type. Then select the appropriate category for this app, and then sleect a content rating for this app.

APK

Click on ā€œUpload your first APK to productionā€ and upload the APK that has been created.

Go in Pricing & Distribution

Select if it’s a paid or free app. It can be a paid only if the developer account has enabled Google Merchant Services. Then select all the countries or just specific one(s). Then scroll down and check ā€œContent guidelinesā€ and ā€œUS export lawsā€. And Save.

Publish

In the upper right corner click on ā€œDraftā€ and select ā€œPublishā€.

Voila! Your app is published.