[Android SDK] Android Clean Start: Another way of creating an Android Project

The cleanest way to create an Android project, without support library or any dependencies that we may not need. You need to add everything manually, but it gives you full control of your code.

 

Example:

/home/olmo/android-sdk-linux/tools/android list targets

Output looks like that:

----------
 id: 2 or "android-23"
 Name: Android 6.0
 Type: Platform
 API level: 23
 Revision: 2
 Skins: HVGA, QVGA, ...
 Tag/ABIs : android-wear/x86, default/x86, default/x86_64

The id I want is 2, used for the –target option.

final project creation line is:

/home/olmo/android-sdk-linux/tools/android create project --package es.voghdev.hellofirebase --path . --target 2 --activity MainActivity

Then my empty Android application is created. Hope you like this method!

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s