Skip to content

leown/android-base

 
 

Repository files navigation

Android app skeleton Build Status

##Prerequisites

  • JDK 8
  • JAVA_HOME pointing to your jdk8
  • ANDROID_HOME pointing to your android-sdk

##Plugins for Android Studio for comfortable work

##What's included:

##What's not included

  • Crashlytics: they live in their own world, and including their plugin in template project just fails the build, if apikey is not specified. Also, getting apikey without an IDE plugin is impossible. You can get it here
  • Test coverage: still in the process of figuring out what's the best way to enable unit test coverage for Android with Robolectric. Any suggestions will be highly appreciated

##Setup

  1. Clone application as new project with original remote named "android-base"

    git clone --depth 1 git://github.com/fs/android-base.git --origin android-base [MY-NEW-PROJECT]
    

    Note: we use depth parameter here in order to not copy the history of changes in base project

  2. Create your new repository on the GitHub and push master into it. Make sure master branch is tracking origin repo.

    cd [MY-NEW-PROJECT]
    git remote add origin [email protected]:[MY-GITHUB-ACCOUNT]/[MY-NEW-PROJECT].git
    git push -u origin master
    
  3. Import the project into your favourite IDE (only Android Studio and IntelliJ IDEA 13 are supported at the moment). Just select the root build.gradle and your IDE will do the rest. It will ask you to change the language level - do it, we're using Java 8 now

###Configuration

###Making a release build

  • Just uncomment these lines and fill them up with your credentials

##Notes on ProGuarding TODO

Credits

Android app skeleton is maintained by Adel Nizamutdinov. It was written by Flatstack with the help of our contributors

About

kick-start your next Android app

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%