A
A
AndreyGorlov2019-12-13 20:41:18
Java
AndreyGorlov, 2019-12-13 20:41:18

Working with VK Api why not working in Android Studio?

I'm trying to start working with the VK API, but I'm having problems:

VKRequest request= VKApi.friends().get(VKParameters.from(VKApiConst.FIELDS, "first_name", "last_name"))

I do as it is written in vk.com/dev/android_sdk, but for some reason VKApi is highlighted in red and there is no suggestion to add a library with this class. What could be causing such a problem?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
G
GavriKos, 2019-12-13
@GavriKos

Due to the fact that the library must be downloaded and added by hand. VKApi is not included in the standard Android SDK

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question