How to edit external library for android studio 3.1.2?

感情迁移 提交于 2019-12-25 02:26:12

问题


I'm trying to edit a external library base of answers in here, but it's not working on android studio 3.1.2(which it's the version i'm using).

Base on what people said, i should get library from github, import module. I want to change digits of this Elegant Button library.

So what i did was I've downloaded this library with download/zip, then File > new > Import Module and did some configuration and decencies and still it's not working. looks like these method won't work with new version of android studio. can anyone explain how to edit with android studio 3.1.2?


回答1:


Add external library to project

Steps:

Unzip the file

Go to Android studio - File - New Import Module

Import the module and click OK

Once you added the library add the library to app gradle also

implementation project(path: ':library-name')


来源:https://stackoverflow.com/questions/51894689/how-to-edit-external-library-for-android-studio-3-1-2

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!