0

I am in need of some serious help. I have this project where I need to Import/ export stuff from the is24-api-android-sdk that can be found on GitHub (here). I opened up a new application with a blank activity for starters. Then downloaded the zip file. I unpacked it and tried to add the sdk via import module but it always wants me to specify the gradle or android eclipse project but there are no gradle files. I also tried to add it via maven or compile the dependency straight on but i find no information how to do this that way.

I'm just stuck big time and not sure how to help myself. Is there any instructions or help you can give me.

Bexx
  • 47
  • 1
  • 10
  • Which project did you choose to import from that zip file? – Krish Jan 31 '17 at 11:17
  • @Bexx Could this help: http://stackoverflow.com/questions/27924504/how-to-convert-apklib-to-aar – Yupi Jan 31 '17 at 11:20
  • @Krish the RestApiSdk project – Bexx Jan 31 '17 at 11:22
  • @Bexx Ok, that project is not android studio project . So you should import that as a eclipse project.For that you have to follow this steps: File->New->New Module->Import Eclipse ADT Project->Next->and select RestApiSdk project .It will work. – Krish Jan 31 '17 at 12:21
  • @Krish that worked. and how do i add it to my app since it is now imported but i cannot use it – Bexx Jan 31 '17 at 13:08
  • If you add it as a module you can simply use it like a library project. – Krish Jan 31 '17 at 13:13
  • @Krish i always get this error when i try to get the provided lines of code from the github Read Me page to work 'dependency on module restApiSdk' error: Error:Dependency IS24Application:restApiSdk:unspecified on project app resolves to an APK archive which is not supported as a compilation dependency. File: /Users/Rebecca/Desktop/IS24Application/restApiSdk/build/outputs/apk/restApiSdk-release-unsigned.apk – Bexx Jan 31 '17 at 13:19
  • add the module dependency to your project by adding it is gradle file. – Krish Jan 31 '17 at 13:25

0 Answers0