嗨,我在android studio的Java Android应用中遇到了gradle设置问题。
我正在尝试编译github存储库https://github.com/MatthewLM/peercoinj
我的代码:
compile 'com.github.matthewlm:peercoinj:0.13.1'
这是输出:
Could not find com.github.matthewlm:peercoinj:0.13.1.
我希望你可以帮助我
最佳答案
版本可能已更改。您可以尝试将该行更改为:
compile 'com.github.matthewlm:peercoinj:+'
请注意,尽管这种方法不是首选,因为它会导致生成不稳定(例如,第三方可能会发布其代码的较新版本,这可能会破坏您的代码中的某些内容)。希望能帮助到你。祝你好运。
关于java - java gradle找不到要编译的github存储库,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/51411548/