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!