Dr_abandon的博客

学无止境,乘风破浪

Android 导入环信,初始化失败 java.lang.UnsatisfiedLinkError: Couldn't load hyphenate from loader dalvik.system

错误 06-13 15:06:51.813 8467-8467/com.wlkj.ciyun.sj E/AndroidRuntime: FATAL EXCEPTION: main ...

2018-06-13 15:59:59

阅读数:10

评论数:0

Android studio The versions of the Android Gradle plugin and Gradle are not compatible.

错误: The versions of the Android Gradle plugin and Gradle are not compatible. 原因是:Android的Gealle插件和Gradle的版本是不兼容的。 需要修改工程里的bulid.grade的 classpath...

2018-06-08 10:36:50

阅读数:17

评论数:0

android FileNotFoundException错误:创建文件失败 No such file or directory

在Android真机上测试时 String savePAth = Environment.getExternalStorageDirectory() + "/DownFile/"; 创建时一直失败。 需要把路径改为: Strin...

2018-05-30 15:14:33

阅读数:69

评论数:0

Android 有时环信初始化失败,创建applocation失败

java.lang.RuntimeException: Unable to create application com.wlkj.ciyun.sj.config.MyApp: java.lang.NullPointerException at android.app.Activi...

2018-05-04 09:48:34

阅读数:70

评论数:0

Android Generate 不能用,重写方法快捷键不能用

Android错误: cannot add an action twice: Generate Butterknife Injections (Plugin for generating ButterKnife injections from selected layout XMLs in ac...

2018-05-03 16:15:57

阅读数:29

评论数:0

Android 关于环信java.lang.UnsatisfiedLinkError: Couldn't load hyphenate from loader dalvik.system

关于环信问题: java.lang.UnsatisfiedLinkError: Couldn’t load hyphenate from loader dalvik.system.PathClassLoader[DexPathList[[zip file “/data/app/com.wlkj.c...

2018-04-26 10:49:01

阅读数:41

评论数:0

listview滑动冲突处理

在android中,有时候会遇到子控件和父控件都要滑动的情况,尤其是当子控件为listview的时候。这种情况较常见,典型的launcher,每个屏幕上放上listview就会出现这种情况。 当view的onTouchEvent返回true,即消耗点击事件,viewgroup的onIntercep...

2018-03-13 11:18:49

阅读数:29

评论数:0

Android Error:Failed to complete Gradle execution. Cause: The version of Gradle you are using (3.3)

Android 打包错误: Error:Failed to complete Gradle execution.Cause: The version of Gradle you are using (3.3) does not support the forTasks() method on ...

2018-03-09 17:00:15

阅读数:1124

评论数:0

Android 环信获取好友异常,被catch掉

try { //拿到好友列表 List list = EMClient.getInstance().contactManager().getAllContactsFromServer(); ...

2017-09-29 14:38:10

阅读数:307

评论数:0

Android开发中java.lang.RuntimeException: Unable to start activity ComponentInfo xxx: java.lang.NullPoin

错误提示: java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.easeutest/com.example.easeutest.ContactActivity}: java.lang.Nul...

2017-09-28 16:00:28

阅读数:187

评论数:0

错误ExecutionException: com.android.dex.DexIndexOverflowException: method ID not in [0, 0xffff]: 65536

Error:Execution failed for task ‘:app:transformClassesWithDexForDebug’. com.android.build.api.transform.TransformException: java.util.concurrent.E...

2017-09-15 14:35:40

阅读数:191

评论数:0

android.view.WindowManager$BadTokenException: Unable to add window -- token null is not for an appli

08-01 06:58:20.188 9791-9791/com.wlkj.ciyun E/AndroidRuntime: FATAL EXCEPTION: main Pro...

2017-08-01 15:07:56

阅读数:170

评论数:0

Error:Execution failed for task ':arc-1-8:processDebugManifest'. > Manifest merger failed : Attribut

在Manifest.xml的application标签下添加tools:replace=”Android:icon, android:theme” 并且记住在manifest根标签上加入xmlns:tools=”http://schemas.android.com/tools”

2017-01-08 16:09:35

阅读数:373

评论数:0

android.content.res.Resources$NotFoundException: Resource ID #0x0,错误

这个错误,是在代码中,你给了一个布局,或一个控件的id为0了或是数字 演示错误示例如下,返回的布局为0也是会报这个错误的 public class FansFragment extends BaseFragment{ @Override protected void init...

2016-12-16 12:33:23

阅读数:437

评论数:0

提示
确定要删除当前文章?
取消 删除
关闭
关闭