---
title: "Android Fire Project(1)Recall Env and Knowledge"
author: "sillycat"
date: "2015-02-11T12:28:12Z"
tags: []
categories: ["移动开发"]
slug: "android-fire-project-1-recall-env-and-knowledge"
draft: false
lastmod: "2015-02-11T12:28:12Z"
id: 2185090
url: "https://sillycat.iteye.com/blog/2185090"
---

Android Fire Project(1)Recall Env and Knowledge

 

**1. Android SDK Standalone Tool**

Download from here [http://developer.android.com/sdk/installing/index.html?pkg=tools](http://developer.android.com/sdk/installing/index.html?pkg=tools)

The file I get is android-sdk\_r24.0.2-macosx.zip. Unzip the file and link to /opt

 

&gt; sudo ln -s /Users/carl/tool/android-sdk-macosx /opt/android-sdk

 

Adding the path

export ANDROID\_HOME=/opt/android-sdk

 

**2. Gradle Installation**

[https://gradle.org/](https://gradle.org/)

Download the file [https://downloads.gradle.org/distributions/gradle-2.2.1-bin.zip](https://downloads.gradle.org/distributions/gradle-2.2.1-bin.zip)

 

Unzip and place the file

export GRADLE\_HOME=/opt/gradle

export PATH="/opt/gradle/bin:$PATH"

&gt; gradle -v

\------------------------------------------------------------  
Gradle 2.2.1  
\------------------------------------------------------------

Build time:   2014-11-24 09:45:35 UTC  
Build number: none  
Revision:     6fcb59c06f43a4e6b1bcb401f7686a8601a1fb4a

Groovy:       2.3.6  
Ant:          Apache Ant(TM) version 1.9.3 compiled on December 23 2013  
JVM:          1.6.0\_65 (Apple Inc. 20.65-b04-466.1)

OS:           Mac OS X 10.10.2 x86\_64

 

 

**3. Easy Example**

[https://github.com/luohuazju/sillycat-android-cms](https://github.com/luohuazju/sillycat-android-cms)

[https://github.com/luohuazju/easy/tree/master/EasyAndroidGCM](https://github.com/luohuazju/easy/tree/master/EasyAndroidGCM)

[https://github.com/luohuazju/easy/tree/master/EasyRestClientAndroid](https://github.com/luohuazju/easy/tree/master/EasyRestClientAndroid)

 

Import these projects to Android Studio

Change the SDK location

File -&gt; Project Structure into Project Structure -&gt;SDK Location -&gt;SDK location select Android SDK location

 

Import the project in Eclipse

Install the plugin for eclipse: ANDROID - [https://dl-ssl.google.com/android/eclipse/](https://dl-ssl.google.com/android/eclipse/)

 

Android Spring Framework to handle the Base Layer

[http://sillycat.iteye.com/blog/1065583](/blog/1065583)   I

[http://sillycat.iteye.com/blog/1065584](/blog/1065584)   II

[http://sillycat.iteye.com/blog/1074171](/blog/1074171)   III

 

Android Native UI

[http://sillycat.iteye.com/blog/1833829](/blog/1833829) List Adapter

[http://sillycat.iteye.com/blog/1835292](/blog/1835292)  Endless Pagenation

[http://sillycat.iteye.com/blog/1835909](/blog/1835909)  Android Menu

[http://sillycat.iteye.com/blog/1837717](/blog/1837717)  Detail Page

 

Grade and Other Android Basic

[http://sillycat.iteye.com/blog/1074642](/blog/1074642) Gradle concept

[http://sillycat.iteye.com/blog/2043335](/blog/2043335) Feel and Install Android Studio

[http://sillycat.iteye.com/blog/1830389](/blog/1830389) Android Emulator

[http://sillycat.iteye.com/blog/1971869](/blog/1971869)  How to build apk

 

Android Talker Project

[http://sillycat.iteye.com/blog/1669221](/blog/1669221)

[http://sillycat.iteye.com/blog/1743376](/blog/1743376)

[http://sillycat.iteye.com/blog/1763034](/blog/1763034)

 

GCM Related Project

[http://sillycat.iteye.com/blog/1838431](/blog/1838431)  GCM Emulator

[http://sillycat.iteye.com/blog/1844837](/blog/1844837)

 

[http://sillycat.iteye.com/blog/1769191](/blog/1769191) GCM-1

[http://sillycat.iteye.com/blog/1769196](/blog/1769196) GCM-2

[http://sillycat.iteye.com/blog/1838432](/blog/1838432) GCM-3

[http://sillycat.iteye.com/blog/1998911](/blog/1998911) GCM-4

[http://sillycat.iteye.com/blog/2002143](/blog/2002143) GCM-5 upgrade android os

 

Android Native UI

[http://sillycat.iteye.com/blog/1065582](/blog/1065582)

[http://sillycat.iteye.com/blog/1831551](/blog/1831551)

[http://sillycat.iteye.com/blog/1831766](/blog/1831766)

[http://sillycat.iteye.com/blog/1842143](/blog/1842143) Other App

[http://sillycat.iteye.com/blog/1842156](/blog/1842156) Share Content

[http://sillycat.iteye.com/blog/1848592](/blog/1848592) UserInfo and Location

[http://sillycat.iteye.com/blog/1844834](/blog/1844834) Audio

[http://sillycat.iteye.com/blog/1845416](/blog/1845416) Photo

[http://sillycat.iteye.com/blog/1841920](/blog/1841920) Sqlite or Saving Data

 

Android Content App

[http://sillycat.iteye.com/blog/2079697](/blog/2079697) PhoneGap Jquery Mobile

 

**References:**

Env Build

[http://sillycat.iteye.com/blog/707399](/blog/707399) window

[http://sillycat.iteye.com/blog/855334](/blog/855334) ubuntu

[http://sillycat.iteye.com/blog/1669221](/blog/1669221) mac

[http://sillycat.iteye.com/blog/2043335](/blog/2043335) studio

 

gradle

[http://sillycat.iteye.com/blog/2090147](/blog/2090147)

[http://sillycat.iteye.com/blog/2079697](/blog/2079697)

[http://sillycat.iteye.com/blog/2043335](/blog/2043335)

[http://sillycat.iteye.com/blog/1074642](/blog/1074642)