A collection of templates:
- Clone or download this repository to your local machine, then extract and open the folder
- Run
newproject.sh
script to create a new project with the following inputs:
-h, --help Display this usage message and exit
-t, --template [TEMPLATE] Select template: "rx" - RxJavaTemplate or "crt" - CoroutineTemplate (i.e. rx)
-p, --package-name [PACKAGE_NAME] New package name (i.e. com.example.package)
-n, --app-name [APP_NAME] New app name (i.e. MyApp, "My App")
Example:
-
Init a new project with
RxJavaTemplate
./newproject.sh -t rx -p co.myproject.example -n "My Project"
-
Init a new project with
CoroutineTemplate
./newproject.sh -t crt -p co.myproject.example -n "My Project"
- Update
android_version_code
andandroid_version_name
RxJavaTemplate/build.gradle
CoroutineTemplate/build.gradle
This project is maintained and funded by Nimble.
Learn more about our Android templates on the Wiki.