如何修改外部库并导入Android Studio项目?

我在https://github.com/hanks-zyh/PasscodeView处使用此库/实现,但我想稍微修改一些按钮和功能。我已将git repo下载为ZIP文件,将其解压缩,并尝试基于此线程how to import your own github forked library into android studio导入到我的项目中,然后放入 我的应用gradle文件中的implementation project(":PasscodeView-master")。 同步时,我会收到此错误

ERROR: Plugin with id 'com.novoda.bintray-release' not found.

由于找不到合适的方法,将外部库导入Android Studio的最佳方法是什么?

cookiejzg 回答:如何修改外部库并导入Android Studio项目?

尝试一下:

File > Project Structure > Dependencies Tab > Add module dependency (scope = compile)

其中模块依赖项是项目库Android文件夹。

本文链接:https://www.f2er.com/3089403.html

大家都在问