Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
How to integrate .aar file to Eclipse

How to integrate .aar file to Eclipse

  • Download .aar file from bintray, you will get an .aar file: bluecats-android-sdk-${version}.aar
  • Change the extension to .zip from .aar, and unzip it into bluecats-android-sdk folder, for example.
  • In the folder bluecats-android-sdk, you will see a .jar file: classes.jar, change the name to a meaningful name, like bluecats-android-sdk.jar, copy it to your Eclipse project's "libs" folder.
  • In the folder bluecats-android-sdk/jni, you will see several ABI folders, copy all the folders into your Eclipse project's "libs" folder.
  • Your "libs" folder of eclipse project looks like this:
libs/
    bluecats-android-sdk.jar
    armebi/
          libbluecats_sdk.so
    armebi-v7a/
              libbluecats_sdk.so
    ...
    ...
    ...
  • Add bluecats-android-sdk.jar to your build path of eclipse project.
  • Merge manually the AndroidManifest.xml into your own AndroidManifest.xml to include the permission and service declarations.
  • add necessary 3rd party libraries: Gson, android Support
@mahdi-malv

This comment has been minimized.

Copy link

commented Mar 25, 2019

What about the resources?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.