2

I have designed a android project in Eclipse,But its need a library file which is AAR format.I have tried to convert AAR to JAR by following below provided steps

Extract the AAR file using standard zip extract
Find the classes.jar file in the extracted files
Rename it to your liking and use the wanted jar file in your project

But its not working out.is there any other way to do this conversion OR is there any way to add aar file as library project to Eclipse ADT

Sritam Jagadev
  • 955
  • 4
  • 18
  • 46

1 Answers1

3

is there any way to add aar file as library project to Eclipse ADT

No, except perhaps if you switch to using Maven for your Eclipse builds.

is there any other way to do this conversion

You have to try to convert the AAR into a more-or-less regular Android library project. This Stack Overflow answer provides a recipe, and this blog post of mine provides more information on the process.

However, using Eclipse with the ADT plugin is no longer a good idea, as official support for that will end by the end of the year.

Community
  • 1
  • 1
CommonsWare
  • 986,068
  • 189
  • 2,389
  • 2,491