Solution works for IntelliJ IDEA 11.0 , 11.1.1 (it make works in other versions too)
Are you fed up with Eclipse and you want try Android development on IDEA ?
How to move project from Eclipse to IDEA ?
Well... it is almost straight forward....
- Download and Install Android SDK from http://developer.android.com/sdk/index.html .
- After you installed, Run SDK Manager . (Android SDK Tools/SDK Manager in menu start or similar place in other OS).(Choose everything what is revelant to you or everything if you have no clue).
- run IntelliJ IDEA and ... surprise suprise press ... New Project. (if you wondering why ,look on bottom of note)
- Select Create project from scratch and press Next
- Fill details about your project (and remember to choose Android Module from Select type) and press next
- Specify do you want source directory and where or not (i always choose createdsource directory called 'src'
- If IntelliJ IDEA asked you too choose JDSK choose your JDK path (Default path: C:\Program Files\Java\jdk{version} or C:\Program Files(x86)\Java\jdk{version} or similar path for other OS). and press Next.
- Select Android SDK and Choose a New platform (Default path: C:\Program Files\Android\android-sdk) . Select Target Device and press Finish
- Now . File / Open Project. Select path your Android project and it should works.(You maybe be ask for select platform and etc.)
* WHY I NEED CREATE A NEW PROJECT,WHERE I WANT IMPORT EXISTING PROJECT FROM ECLIPSE ???
It is odd bug in IntelliJ IDEA, that prevent you from setup correctly android sdk correctly,but you can setup everything smoothly
Sources:
http://stackoverflow.com/questions/5271182/how-do-i-set-up-intellij-idea-for-android-application
http://www.jetbrains.com/idea/webhelp/importing-eclipse-project-to-intellij-idea.html
No comments:
Post a Comment