client-sdk-android icon indicating copy to clipboard operation
client-sdk-android copied to clipboard

Unable to run sample app

Open sahaypratik opened this issue 3 years ago • 7 comments

While running the build I am getting this error "Unresolved reference: livekit" in livekit-android-sdk module. Its not able to import classes in livekit. What's the fix or workaround so that I can setup and run sample app

sahaypratik avatar Jun 22 '22 06:06 sahaypratik

Have you followed the instructions for setting up the dev environment?

https://github.com/livekit/client-sdk-android#dev-environment

davidliu avatar Jun 22 '22 09:06 davidliu

me too. Unresolved reference: livekit

import io.livekit.android.util.LKLog import livekit.LivekitRtc this line import org.webrtc.*

YanxuLi avatar Jun 27 '22 05:06 YanxuLi

@YanxuLi have you set up your dev environment? The protocol submodule is required to compile the sdk/app from source.

davidliu avatar Jun 27 '22 10:06 davidliu

@YanxuLi have you set up your dev environment? The protocol submodule is required to compile the sdk/app from source.

I used the remote library and it worked . By the way, can I use LiveKit in my Java project ?

YanxuLi avatar Jun 27 '22 12:06 YanxuLi

@YanxuLi which remote library did you use and how to did you it implement in the sample app? If possible can you share repo of working project.

sahaypratik avatar Jul 01 '22 12:07 sahaypratik

@davidliu protocol submodule is not an android/ java library so there is no way to import it in android project so how should I add it to the project and initialize it, can you please guide me through the process.

sahaypratik avatar Jul 03 '22 02:07 sahaypratik

Again, https://github.com/livekit/client-sdk-android#dev-environment

davidliu avatar Jul 03 '22 02:07 davidliu