Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

20150916 pull到本地最新代码,报错 #24

Closed
zolazhang opened this issue Sep 16, 2015 · 3 comments
Closed

20150916 pull到本地最新代码,报错 #24

zolazhang opened this issue Sep 16, 2015 · 3 comments

Comments

@zolazhang
Copy link

/GitHub/SimplifyReader/library/src/main/java/com/github/obsessive/library/widgets/SmoothImageView.java:173: 错误: 找不到符号
if (getDrawable() instanceof ColorDrawable) return;
^
符号: 类 ColorDrawable
位置: 类 SmoothImageView
注: 某些输入文件使用或覆盖了已过时的 API。
注: 有关详细信息, 请使用 -Xlint:deprecation 重新编译。
注: 某些输入文件使用了未经检查或不安全的操作。
注: 有关详细信息, 请使用 -Xlint:unchecked 重新编译。
1 个错误

:library:compileReleaseJavaWithJavac FAILED

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':library:compileReleaseJavaWithJavac'.

    Compilation failed; see the compiler error output for details.

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

@zolazhang
Copy link
Author

import uk.co.senab.photoview.PhotoView;

缺少这个

@chentao0707
Copy link
Owner

你下载的项目中是否依赖成功了PhotoView?

@stay4cold
Copy link

里面没有导入ColorDrawable的类,导入后就不会出错了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants