Including OpenSky API in Android Studio

4 years 6 months ago #919 by KG54
Hi,
I am trying to use the OpenSky API in and android studio project. I added a dependency to the app build.gradle file like so:
dependencies {
implementation 'org.opensky:opensky-api:1.3.0'
}
But when I try to sync the gradle project files (compile them) android studio gives me an error saying: ERROR: Failed to resolve: org.opensky:opensky-api:1.3.0
What is the proper way to add this API as a dependency in Android Studio?

Please Log in or Create an account to join the conversation.

3 years 9 months ago #1202 by matejculjkar
Have you managed to resolved this problem? I am also having problems

Please Log in or Create an account to join the conversation.

3 years 9 months ago #1207 by yaturner
The project on the GitHub repository ( git clone github.com/openskynetwork/opensky-api.git ) contains a pom file in the java/src/test/java directory , I believe that is what Android Studio needs to locate the library

Please Log in or Create an account to join the conversation.

Powered by Kunena Forum
This website uses cookies to offer you the best experience of our services. By using this website you agree to our privacy policy!