`
sillycat
  • 浏览: 2566573 次
  • 性别: Icon_minigender_1
  • 来自: 成都
社区版块
存档分类
最新评论

Feel Android Studio(1)Install and Update Android Studio

 
阅读更多

Feel Android Studio(1)Install and Update Android Studio

1. Prepare the Git environment
First of all, I need to deal with the fork problem on github.com
>git config --list
>git config --global remote.origin.url=https://github.com/luohuazju/ProjectName.git

This is a wrong path, I will try to get rid of it.
>git config --global --unset remote.origin.url


>git remote -help

check all the remote URLs
>git remote -v

>git remote set-url origin https://github.com/luohuazju/ProjectName.git
>git remote set-url --push origin https://github.com/luohuazju/ProjectName
>git remote add luohuazju https://github.com/luohuazju/ProjectName

delete the ones I did not want to keep
>git remote remove origin

Prepare to idea
>mvn idea:idea

2. Set up Android Studio
Setting the SDK path
select the project ---> right click ---> Platform Settings ---> SDKs ----> 'Plus'

Open Android SDK Manager
update all the tools there.

3. Install the latest Gradle
..maybe, I do not need to do this time.
http://sillycat.iteye.com/blog/1074642

4. Import the Project from Eclipse
Update the eclipse plugin to latest version of 2.2.

Select the project we want to export and choose [Android] ---- [Generate Gradle build files]
 
I do not know why. But not working.

So I plan to use maven.
[Edit Configuration] ----> 
Working directory : /Users/carl/work/easy/EasyRestClientAndroid
Command line: clean package android:deploy android:run

Or in the [Edit Configuration] Part, we can directly use Android Application.

5. Use and Update Android Studio
Download the tool from here
http://developer.android.com/sdk/installing/studio.html

I have used Android Studio for a long time, I upgrade my studio to the latest recently and I get this error Message:

Please provide the path to the Android SDK
if you do not have the Android SDK, you can obtain it from d.android.com
select Android SDK /Users/carl/tool/android-sdk/macosx

This version of Android Studio may not work correctly without Android SDK Tool revision 22.6.2 or above. Current revision is 22.6.0. 
Please update your SDK Tools to the latest version.

Solution:
Go to this URL http://developer.android.com/sdk/index.html#download

I got one file from here https://dl.google.com/android/adt/22.6.2/adt-bundle-mac-x86_64-20140321.zip

Or the simplest way is to open the Android SDK Manager and update them there.


References:
http://developer.android.com/sdk/installing/studio.html

Export Eclipse to Gradle
http://blog.csdn.net/tangren03/article/details/8948037

Gradle
http://sillycat.iteye.com/blog/1074642



分享到:
评论

相关推荐

    ComponentOne Studio for WinForms 2013 v1 5/5

    Download the 2013 v1 update to access the new TileControl to achieve a Windows 8 look and feel in your desktop apps as well as feature enhancements for Reports, Editor, and Scheduler. See the what's ...

    ComponentOne Studio for WinForms 2013 v1

    Download the 2013 v1 update to access the new TileControl to achieve a Windows 8 look and feel in your desktop apps as well as feature enhancements for Reports, Editor, and Scheduler. See the what's ...

    ComponentOne Studio for WinForms 2013 v1 1/5

    Download the 2013 v1 update to access the new TileControl to achieve a Windows 8 look and feel in your desktop apps as well as feature enhancements for Reports, Editor, and Scheduler. See the what's ...

    ComponentOne Studio for WinForms 2013 v1 2/5

    Download the 2013 v1 update to access the new TileControl to achieve a Windows 8 look and feel in your desktop apps as well as feature enhancements for Reports, Editor, and Scheduler. See the what's ...

    ComponentOne Studio for WinForms 2013 v1 4/5

    Download the 2013 v1 update to access the new TileControl to achieve a Windows 8 look and feel in your desktop apps as well as feature enhancements for Reports, Editor, and Scheduler. See the what's ...

    EurekaLog_7.5.0.0_Enterprise

    1)....Added: RAD Studio 10 Seattle support 2)....Added: Performance counters for run-time (internal logging with --el_debug) 3)....Fixed: spawned by ecc32/emake processes now start with the same ...

    suipack trial

    The lastest version : 6.6, update date: 7 Jan. 2012, see what's new (Newly supports RAD Studio XE2, fully supports Sunisoft Skin Solutions v2) SUIPack is a suite of real WYSIWYG VCL skin components ...

    Delphi2010皮肤控件AlphaControls6.21FS

    * Improved support of Devexpress Grids (Quantum and Pivot), Scheduler and many other controls which have the LookAndFeel property (patching of DevEx sources is not required anymore! Just install ...

Global site tag (gtag.js) - Google Analytics