注册

android 导入demo后报错

:easeUI:processDebugJavaRes UP-TO-DATE
:easeUI:compileDebugJavaWithJavac
C:\Users\lenovo\AndroidStudioProjects\ChatDemoUI3.01\easeUI\src\main\java\com\hyphenate\easeui\ui\EaseChatFragment.java
Error:(177, 27) 错误: 找不到符号
符号:   方法 setColorSchemeResources(int,int,int,int)
位置: 类型为SwipeRefreshLayout的变量 swipeRefreshLayout
C:\Users\lenovo\AndroidStudioProjects\ChatDemoUI3.01\easeUI\src\main\java\com\hyphenate\easeui\widget\emojicon\EaseEmojiconScrollTabBar.java
Error:(103, 49) 错误: 找不到符号
符号:   方法 getX(View)
位置: 类 ViewCompat
注: 有关详细信息, 请使用 -Xlint:deprecation 重新编译。
注: 某些输入文件使用或覆盖了已过时的 API。
注: 某些输入文件使用了未经检查或不安全的操作。
注: 有关详细信息, 请使用 -Xlint:unchecked 重新编译。
2 个错误
Error:Execution failed for task ':easeUI:compileDebugJavaWithJavac'.
> Compilation failed; see the compiler error output for details.
已邀请:
http://docs.easemob.com/doku.php?id=start:200androidcleintintegration:135easeuiuseguide
 
 
 

compile 'com.android.support:support-v4:23.0.1'
改成具体的版本号 就行

要回复问题请先登录注册