Remove All Ads from XDA

Help in moving from Eclipse ADT to Android Studios

75 posts
Thanks Meter: 12
By Aultex, Member on 29th June 2014, 03:16 PM
Post Reply Email Thread
I had been working on Eclipse ADT but due to the errors and nuisances of the 23.0 update I have decided to move to Android Studio. The problem is, importing projects to Android Studio and getting used to it is turning out to be a bigger problem. Please try to help me on any of the below mentioned problems and questions:
  1. How do i properly import projects from eclipse?
    the projects were made with target API 19 and min sdk 8. I have followed all proper steps given by google and searched on Stackoverflow too. When I direct import, no matter what I do, (replace, not replace jar dependencies etc) the projects imported always have errors, like support library defines min sdk version L etc. When I don't, the app crashes. Can you tell me the exact proper procedure for import? the apps were up and running by Eclipse, no problem with them
  2. What is Gradle exaclty? What is Maven?
    I know the answers are on wiki but they are too complex for a rookie coder. Can someone explain in simple language?
  3. How are support libraries handled in Android studios?
    In eclipse you just copy over the .jar file and add it to build path. How do I manage support in Android Studio?

Image 1 : import with jar replacement, giving error.
image 2: import without jar replacement, looks fine. Though I haven't added the activity element of ActionTab.activity to AndroidManifest.xml
image 3: the imported project's ActionTab activity after I added its activity element to AndroidManifest.xml All hell breaks lose.

I have spent past 2 days trying to figure this thing out, but I got no luck.
Please help me if you have the answers. Images are attached with this post.
Attached Thumbnails
Click image for larger version

Name:	import with jar replacement.png
Views:	73
Size:	148.3 KB
ID:	2823788   Click image for larger version

Name:	import without jar replacement at first.png
Views:	62
Size:	140.7 KB
ID:	2823811   Click image for larger version

Name:	import without jar replacement after I mod manifestxml.png
Views:	57
Size:	166.3 KB
ID:	2823812  
3rd July 2014, 12:05 PM |#2  
Junior Member
Thanks Meter: 0
Android Studio is a new Android development environment based on IntelliJ IDEA. It provides new features and improvements over Eclipse ADT and will be the official Android IDE once it's ready. On top of the capabilities you expect from IntelliJ, Android Studio offers:

Flexible Gradle-based build system.
Build variants and multiple APK generation.
Expanded template support for Google Services and various device types.
Rich layout editor with support for theme editing.
Lint tools to catch performance, usability, version compatibility, and other problems.
ProGuard and app-signing capabilities.
Built-in support for Google Cloud Platform, making it easy to integrate Google Cloud Messaging and App Engine.
Post Reply Subscribe to Thread

android studio, eclipse, import

Guest Quick Reply (no urls or BBcode)
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes