简体   繁体   English

H如何将外部库添加到Android Studio项目中?

[英]HHow to add an external library to an Android Studio project?

How to add this library ( https://github.com/swapnil1104/CurveGraphView ) to Android Studio project?如何将此库 ( https://github.com/swapnil1104/CurveGraphView ) 添加到 Android Studio 项目? I've tried so many things and still can't figure it out...我已经尝试了很多东西,但仍然无法弄清楚......

I just started to learn, so if you can in more detail.我刚开始学,所以如果你能更详细一点。 I tried to import through the build.gradle file, well, I constantly see an error enter image description here我尝试通过 build.gradle 文件导入,好吧,我经常看到错误enter image description here

You are tru to use this gradle link to implementation in gradle file.您确实可以使用此 gradle 链接来实现 gradle 文件。

implementation 'com.github.swapnil1104:CurveGraphView:2.1'实施 'com.github.swapnil1104:CurveGraphView:2.1'

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM