Parse platform 解析Android空白项目错误
我从以下网站下载了Android Blank项目(v.1.11.0): 当我使用build.gradle将项目加载到Android Studio时,我收到一个错误,说gradle项目同步失败,在点击“重试”链接后,我收到以下错误: 错误:未能找到:com.parse:parse android:1.11.0 打开文件Parse platform 解析Android空白项目错误,parse-platform,Parse Platform,我从以下网站下载了Android Blank项目(v.1.11.0): 当我使用build.gradle将项目加载到Android Studio时,我收到一个错误,说gradle项目同步失败,在点击“重试”链接后,我收到以下错误: 错误:未能找到:com.parse:parse android:1.11.0 打开文件在“项目结构”对话框中打开 错误:未能找到:com.parse.bolts:bolts任务:1.3.0 打开文件在“项目结构”对话框中打开 起初,有更多的人没有发现这样的错误,但在“
在“项目结构”对话框中打开 错误:未能找到:com.parse.bolts:bolts任务:1.3.0 打开文件
在“项目结构”对话框中打开 起初,有更多的人没有发现这样的错误,但在“重试”之后,只剩下这两个错误
dependencies {
compile 'com.android.support:appcompat-v7:22.2.0'
compile 'com.parse.bolts:bolts-tasks:1.3.0'
compile 'com.parse:parse-android:1.11.0'
}
我尝试将依赖项修改为“com.parse.bolts:bolts tasks:1.+”,但仍然找不到任何内容
我刚开始,请帮忙。谢谢大家!
dependencies {
compile 'com.parse.bolts:bolts-android:1.+'
compile 'com.parse:parse-android:1.+'
}
或者转到“分析>应用程序>文档>快速启动”
ParseObject testObject = new ParseObject("TestObject");
testObject.put("foo", "bar");
testObject.saveInBackground();
它应该会起作用。如果您有任何问题,请留言,我会尽力帮助您的!:) 你好,格雷戈里,你提到的我都做了,但还是没用。似乎我的Android studio找不到com.parse,但是它发现com.Android很好。你知道是什么导致了这个问题吗?它给了你什么错误和什么选择?另外,请更新整个build.gradle文件中的问题我刚才自己解决了这个问题。我必须在本地将sdk下载到libs文件夹中,并指定对它们的依赖关系。谢谢^_^
// Enable Local Datastore.
Parse.enableLocalDatastore(this);
Parse.initialize(this, "APPLICATION_KEY", "CLIENT_KEY");
ParseObject testObject = new ParseObject("TestObject");
testObject.put("foo", "bar");
testObject.saveInBackground();