【问题标题】:How to modify external library and import into Android Studio project?如何修改外部库并导入 Android Studio 项目?
【发布时间】:2020-03-12 13:11:38
【问题描述】:

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

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

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

【问题讨论】:

    标签: android android-studio github build.gradle build-dependencies


    【解决方案1】:

    试试这个:

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

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

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2016-04-22
      • 1970-01-01
      • 2015-01-13
      • 2019-12-31
      • 2016-04-19
      • 2013-12-18
      • 2013-05-22
      相关资源
      最近更新 更多