无法导入 ParseImageView - Android

2023-12-09

我在我的项目中使用 Parse。我可以从解析库导入所有其他类,例如

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

我无法导入ParseImageView alone.

import com.parse.ParseImageView;

我应该为此添加任何额外的 JAR 文件吗?请帮忙。提前致谢。


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

1.10.0

  • 新增内容:ParseImageView 和 ParseQueryAdapter 现在是 ParseUI 的一部分。

解决方案如下:

  • 克隆项目https://github.com/ParsePlatform/ParseUI-Android

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

  • 编译项目(':ParseUI-widget')的依赖项 构建.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')
}
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)

无法导入 ParseImageView - Android 的相关文章

随机推荐