Giter Site home page Giter Site logo

android-skeleton-project's Introduction

Android skeleton project

This repo contains basic skeleton project for Android app using Gradle (plugin 0.12) and IntellijIdea. It has following features:

  1. Three different flavors
  • dev - developers build for debugging (build it with assembleDevDebug command)
  • testLocal - build to be tested by Q&A team. Create local keystore for it and build it with assembleTestLocalRelease.
  • prod - build for production, uses keystore passed either as command line arguments (-p"app.keystore"=....) or in gradle.properties file.
  1. Each flavor has different applicationId (result package name) so you can have all three app types installed simultaneously on device.
  2. Different icons for dev and release builds.
  3. gen_icons.sh script to generate launcher icons from SVG image using inkscape
  4. Stub class CrashLogger to be used with crash reporting services (like Crashlytics, etc). BuildConfig.REPORT_CRASHES flag, determining whether log reports should be sent to service (value set to true in prod flavor) or printed to Log (false in dev).
  5. LogHelper - taken from Google iosched app.
  6. Application class, initializing logger and setting strict mode for dev build.
  7. Proguard rule to keep your app classes and do not use obfuscation.

Getting started

  1. Clone this repo
  2. Import project in IntellijIdea
  3. Change value of applicationId in app/build.gradle
  4. Change package in AndroidManifest.xml
  5. Rename package in source code

android-skeleton-project's People

Contributors

marwinxxii avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.