将android连接到本地解析服务器无法解析符号配置 [英] connecting android to local parse server cannot resolve symbol Configuration
问题描述
我已经为Android创建了一个聊天应用程序,并且我刚刚在本地计算机上安装了Parse Server.我正在尝试将应用程序连接到我的解析服务器,但是...
I have created a chat app for android, and I just installed Parse Server on my local machine. I am trying to connect the app to my parse server but...
Parse.initialize(new Parse.Configuration.Builder(this)
.applicationId("@string/parse_app_id")
.clientKey("@string/parse_client_key")
.server("xxxxxxxx")
.build());
在解析时.配置.生成器...我收到未解决的符号错误. 使用Parse 1.4
At Parse.Configuration.Builder... I am getting the unresolved symbol error. Using Parse 1.4
compile files('libs/Parse-1.4.0.jar')
有什么我想念的吗?我应该添加任何依赖项吗? 预先谢谢你!
Is there anything I'm missing? Any dependencies I should add? Thank you in advance!
推荐答案
我刚刚通过删除Parse 1.4.0 jar来解决此问题,而是进行了编译
I just fixed that by removing the Parse 1.4.0 jar, and instead, compiling
compile 'com.parse:parse-android:1.13.1'
希望这对某人有帮助:)
Hope this helps someone :)
如果在编译时存在Parse 1.4.0,它将无法正常工作.我必须将其完全删除.
Also if Parse 1.4.0 is present when you compile, it won't work. I had to delete that completely.
这篇关于将android连接到本地解析服务器无法解析符号配置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!