Answer the question
In order to leave comments, you need to log in
Where can I get Odnoklassniki SDK for Android Studio?
Good evening!
Unlike many other projects, Odnoklassniki does not have a "magic line" that can be simply inserted into the app/gradle.build file .
That is, you need a JAR file - to add it to the Android Studio project manually.
There are 2 sources on the net for such a file - the
first one is in the Odnoklassniki example at https://github.com/apiok/android_example/tree/mast...
The second one is in their SDK on GitHub: https://github.com/apiok/ ok-android-sdk
And they differ - for example, the requestAuthorization() method has different parameters.
I decided to try to take the second one (after I had problems with the first one - about which I plan to ask a separate question - but after I clarify the issue of the official SDK for Odnoklassniki here):
git clone https://github.com/apiok/ok-android-sdk.git
cd ok-android-sdk
./gradlew
Config: release
Store: /Users/afarber/src/ok-android-sdk/ok-android-sdk-key.keystore
Alias: ok-android-sdk
Error: Missing keystore
FAILURE: Build failed with an exception.
* What went wrong:
A problem was found with the configuration of task ':odnoklassniki-android-sdk-example:packageRelease'.
> File '/Users/afarber/src/ok-android-sdk/ok-android-sdk-key.keystore' specified for property 'signingConfig.storeFile' does not exist.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question