无法导入 ParseImageView - Android [英] Unable to import ParseImageView - Android

查看:18
本文介绍了无法导入 ParseImageView - Android的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在我的项目中使用 Parse.我能够从解析库中导入所有其他类,如

I am using Parse for my project. I am able to import all other classes from the parse library like

import com.parse.ParseException;
import com.parse.ParseFile;
import com.parse.ParseGeoPoint;
import com.parse.ParseQuery;
import com.parse.ParseQuery.CachePolicy;

我无法单独导入 ParseImageView.

import com.parse.ParseImageView;

我是否应该为此添加任何其他 JAR 文件.请帮忙.提前致谢.

Should I add any additional JAR file for that. Please help. Thanks in advance.

推荐答案

注意https://github.com/ParsePlatform/Parse-SDK-Android/releases

1.10.0

  • 新:ParseImageView 和 ParseQueryAdapter 现在是 ParseUI 的一部分.

解决方法如下:

将 Parser-UI-widget 模块导入您的项目

Import Parser-UI-widget module to your project

在依赖项中编译项目(':ParseUI-widget')build.gradle

compile project (': ParseUI-widget') in the dependencies of build.gradle

例如

dependencies {
    compile fileTree(include: ['*.jar'], dir: 'libs')
    testCompile 'junit:junit:4.12'
    compile 'com.android.support:appcompat-v7:23.0.1'
    compile 'com.android.support:design:23.0.1'
    // Parse
    compile 'com.parse.bolts:bolts-android:1.2.1'
    compile 'com.parse:parse-android:1.10.3'
    compile project(':ParseUI-Widget')
}

这篇关于无法导入 ParseImageView - Android的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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