进口parse.com库到Android的工作室0.8.2 [英] Import parse.com library into Android studio 0.8.2

查看:242
本文介绍了进口parse.com库到Android的工作室0.8.2的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图解析-1.5.1.jar文件导入到我在以下步骤的Andr​​oid Studio项目:
- 文件 - >项目结构
- 点击加号按钮,然后单击导入.jar或.AAR包
- 选择我的jar文件,然后点击完成

I'm trying to import the Parse-1.5.1.jar file into my project in Android studio following these steps: - File -> Project structure - Click on the plus button and click on Import .JAR or .AAR package - Choose my jar file and then hit finish

但随后从解析库中的任何命令是公认的。例如:无法解析符号的parseObject和android工作室不建议我进口任何

But then any command from the parse library is recognized. For example : "Cannot resolve symbol ParseObject" and android studio doesn't propose me to import anything.

我不能找到计算器这些版本的Andr​​oid工作室和分析。

I can't find on stackoverflow any instruction for these version of Android studio and Parse.

任何建议?

推荐答案

今天,我也开始与解析。所有你需要做的是:

Today i too started with Parse. All you need to do is:


  • 复制解析-1.5.1.Jar文件(CTRL + C)和粘贴它的 APP-> libs文件夹

  • 确保的build.gradle 应用程序文件夹中包含此行:编译文件树(导演:'库',包括:['的* .jar'])

  • Copy the parse-1.5.1.Jar file (Ctrl+c) and paste it in app->libs folder
  • Ensure build.gradle inside the app folder contains this line: compile fileTree(dir: 'libs', include: ['*.jar'])

就是这样。你只需要点击同步工程与摇篮文件按钮,在顶部重建项目。现在您就可以从解析库使用的类。

That's it. You just need to click on Sync Project with Gradle Files button on the top to rebuild your project. You'll now be ready to use the classes from the Parse Library.

希望这有助于。所有最优秀的

Hope this helps. All the best

这篇关于进口parse.com库到Android的工作室0.8.2的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆