导入外部库的android工作室0.2.8 [英] import external library in android studio 0.2.8

查看:135
本文介绍了导入外部库的android工作室0.2.8的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图引入外部库,以我的机器人工作室很多答案在这里Android项目说,它可以从模块中settings.But自0.2.8更新完成的项目结构,没有图书馆,模块中的项目结构。如何导入外部库呢?

I was trying to import external Library to my android project in android studio many answers here say it can be done from module in project structure in settings.But since the 0.2.8 update there is no library, module in project structure. how do i import external Library now?

这也许是在0.2.8更新中的错误。不知道

maybe this is a bug in 0.2.8 update. not sure

推荐答案

第1步:选择项目>右键点击>打开模块设置(F12)>项目设置>点击模块

Step 1: Select Project > Right Click > Open Module Settings (F12) > Projects Settings > Click Modules.

第2步:单击项目>你将看到3个标签:来源/路径/依存关系。 第3步:选择依存关系选项卡。你会看到绿色的+按钮的范围称号的权利。点击这一点,它可以让你添加罐和库。

Step 2: Click your Project > you will see 3 tabs : Sources/Path/Dependencies. Step 3 : Select Dependencies tab. You will see green '+' button to the right of 'Scope' title. Click on this and it will allow you to add Jars and libs.

PS:使所添加的罐子范围/库的编译

PS: make the scope of the added jars/libs as Compile

这篇关于导入外部库的android工作室0.2.8的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆