Eli
Eli

Reputation: 150

how to get android studio project libs for eclips?

i import a project into android studio but i want work with android studio and want work with eclipse . i don't have any problem with import into eclipse but i don't know how load libs into eclipse from Android Studio .

in Gradle :

dependencies {
compile 'com.android.support:appcompat-v7:21.0.2'
compile 'com.android.support:cardview-v7:21.0.+'
compile 'com.android.support:recyclerview-v7:21.0.+'
compile 'com.melnykov:floatingactionbutton:1.1.0'
compile 'com.jpardogo.materialtabstrip:library:1.0.6'
}

how get this libs from android studio ?

Upvotes: 0

Views: 107

Answers (2)

Gabriele Mariotti
Gabriele Mariotti

Reputation: 364928

Android Studio uses an aar format for these libraries.

You can't use this format in Eclipse.

You have to build locally these libraries in your workspace.

  • For support libraries you can follow this guide:
  • For com.jpardogo.materialtabstrip you can clone this library from github and import the library folder as library project in eclipse (mark the java folder as source)
  • For com.melnykov:floatingactionbutton you can follow the same way using this repo. In this case you can build a jar and put it in the libs folder.

BTW I suggest you using only Android Studio IDE.

Upvotes: 1

Muhammad Waleed
Muhammad Waleed

Reputation: 2601

for eclips.go to sdk\extras\android\support\v7 choose the project and copy jar file from the lib folder and past your project lib folder right click on jar file
and add to bulid path. you can use all the class of project

Upvotes: 0

Related Questions