Importing the library in Android studio
I have been following a tutorial which shows how to import the libstreaming library in eclipse. Could you please let me know the way to import the library in Android studio?
To import the library to Android Studio you can try this:
- Open your project in Android Studio
- Download the library (using Git, or a zip archive to unzip)
- Copy and paste the
libstreamingfolder to your project's folder - On the root of your project directory create/modify the settings.gradle file. It should contain something like the following:
include 'app', ':libstreaming'
- Gradle clean & build/close the project and reopen/re-import it.
- Edit your project's build.gradle to add this in the "depencies" section:
dependencies {
//...
compile project(':libstreaming')
}
Then your Android view should look something like this:

I am sorry to bother you...I did it already!!Thanks for helping.
:+1: That's great.. I'm glad it's working for you now.
Not working for me.
Error:A problem occurred configuring project ':app'.
Cannot evaluate module libstreaming : Configuration with name 'default' not found.
How did you do it?
@kikepp10 try the solutions in this post: http://stackoverflow.com/questions/22547364/configuration-with-name-default-not-found-android-studio
@kikepp10 I had the same problem as you under Android Studio 1.5.
I did the following to resolve the issue:
- Create a new Android Project
- Clone
libstreaminginto an other directory - In your new Android Project: File->New->Import Module->
Path to libstreamingNow you should see the project structure as shown in the screenshot and you can addlibstreamingas a dependency to your app
Seems like there is an easier way for doing this now: https://github.com/ar-android/libstreaming
@shacharr how do we used this One Plz help
This link has the solution.
ok thnxx
On Mon, 19 Nov 2018 at 05:09, manikandasankar [email protected] wrote:
This link https://stackoverflow.com/questions/33539445/how-to-import-libstreaming-in-android-studio has the solution.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/fyhertz/libstreaming/issues/153#issuecomment-439839485, or mute the thread https://github.com/notifications/unsubscribe-auth/ApU4VZMV-cezFd9kuFf8OX0Z2VPOkk-Dks5uwoNogaJpZM4Gch2k .
@serpro Thanks. I'm way up to android studio 4.1.2 and you're suggestion of using the import was enough to point me in the right direction. Don't know why I forget about the import.
here are my steps.
1.download the https://github.com/fyhertz/libstreaming live streaming as a zip, in a clean directory.
2.open android studio 4.1.2 and import. this turned it into an android studio project
3.went back to my "app" in android studio and right clicked on the project "open module settings"
4 using the project structure "modules" I pressed the '+' sign and pointed to the libstreaming directory from step two.
This created the view like in serpro's studio image and updated the gradle settings files.