Importing Vitamio library into android studio
I am trying to put together a small project that feeds rtmp. I happened; http://www.truiton.com/2015/03/stream-rtmp-live-android/
and
http://karanbalkar.com/2014/11/tutorial-92-live-streaming-using-vitamio-in-android/
These are setup instructions in Android Studio and eclipse, however I am using Android Studio. What have I done. 1. Downloaded the package from https://github.com/yixia/VitamioBundle 2. Unzip the package to the folder I created. Opened a blank project in android studio and followed https://www.youtube.com/watch?v=1MyBO9z7ojk applied to this package.
At the end of the day, I got an error message
Error: There was a problem configuring project ': app'.
Unable to evaluate VitamioBundle-master: No configuration with the name "default" found.
I have tried several things and repeated this process and not sure what I am doing wrong.
I just in the first step just imported the library and didn't succeed. Can anyone help me on how to do this successfully in android studio?
I ran into your problem. But I am trying many tricks to import Vitamio into Android Studio and finally succeed.
- Open or create your project
- Right click on the "application" folder in the project explorer (on the left side of the IDE)
- Open module settings (F4)
- In the Project Structure window, click the plus button in the upper left corner.
- Select "Import" Gradle Projects (press Enter)
- Open the Vitamio project project in source directory form (press Enter)
- Android studio will create gradle and then vitamio will be listed in the app module.
- In the Project Structure window, enter the Dependencies tab and click the plus button and select Module Dependencies.
- Click OK, your project should be ready for the Vitamio library.
This should work with another module. Hope this helps.
source to share