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.