[英]How to import libstreaming in Android Studio?
I am a old developer with Eclipse IDE now I switched to Android Studio. 我是Eclipse IDE的老开发人员,现在我改用Android Studio。 I want to use the below tutorial
我想使用以下教程
I want to import the libstreaming library to Android Studio. 我想将libstreaming库导入Android Studio。
With the help of Fritte's comment on this page , I did the following to import libstreaming into my Android Studio (v1.5.1) project: 在Fritte在此页面上的评论的帮助下,我执行了以下操作将libstreaming导入我的Android Studio(v1.5.1)项目:
libstreaming
into an other directory libstreaming
到另一个目录 Path to libstreaming
Path to libstreaming
文件”>“新建”>“导入模块”>“ Path to libstreaming
You can then add libstreaming as a dependency in your app by adding compile project(':libstreaming')
to the dependencies section of your build.gradle (Module:app) file. 然后,您可以通过在build.gradle(Module:app)文件的依赖项部分添加
compile project(':libstreaming')
,将libstreaming作为依赖项添加到您的应用程序中。 Eg, mine now looks like this: 例如,我的现在看起来像这样:
dependencies { compile fileTree(dir: 'libs', include: ['*.jar']) testCompile 'junit:junit:4.12' compile 'com.android.support:appcompat-v7:23.1.1' compile project(':libstreaming') }
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.