Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试添加一个库 geocoder-java 来查找地址的坐标。
我在“build.gradle”中尝试如下:
dependencies { ... compile 'com.google.code.geocoder-java:geocoder-java:0.16' ... }
我做了清理和编译,库已经下载。
但是当我尝试使用这些类时,结果是“无法解析符号”。
问题是 IntelliJ。
解决问题:View > Tool Windows > Gradle > 点击刷新按钮
参考: https ://www.jetbrains.com/help/idea/2016.3/synchronizing-changes-in-gradle-project-and-intellij-idea-project.html