cannot be cast to android.view.inputmethod.InputConnection
最近一直在使用AS3.1 的Profiler做性能调优,手上的一台华为机子(8.0)一直使用正常,突然换了另一台华为机子(5.1),一运行就崩溃
java.lang.ClassCastException: java.lang.ref.SoftReference cannot be cast to android.view.inputmethod.InputConnectionat com.android.tools.profiler.support.profilers.EventProfiler$InputConnectionHandler.run(EventProfiler.java:289)at java.lang.Thread.run(Thread.java:831)
之前运行都没什么问题。一看以为是输入法的问题,换了几个输入法都一样,Google 解决办法
关闭Profilling即可,原因是这台机子不支持Profiler
链接
cannot be cast to android.view.inputmethod.InputConnection相关推荐
- android.view.ContextThemeWrapper cannot be cast to android.app.Activity
java.lang.ClassCastException: android.view.ContextThemeWrapper cannot be cast to android.app.Activit ...
- 解决方法 android.view.AbsSavedState$1 cannot be cast to android.widget.CompoundButton$SavedState
第一次写博客 就是为了纪念这个困扰我一晚上的纠结问题 其实网上不少类似的问题 但都能看出个大概 什么LinearLayout转换 什么List转换出错 唯有这个很摸不着头脑 这里写出我的问题 ...
- Android ContextThemeWrapper cannot be cast to android.app.Activity
java.lang.ClassCastException: android.view.ContextThemeWrapper cannot be cast to android.app.Activit ...
- Android运行时候报错:android.view.InflateException: Binary XML file line #19: Binary XML file lin
Android运行时候报错:android.view.InflateException: Binary XML file line #19: Binary XML file lin 这个问题自己大致在 ...
- android.view.InflateException: Binary XML file line #7: Binary XML file line #7
错误如下 11-21 08:19:44.040 3608-3608/com.leon.oldrecyclerview E/AndroidRuntime: FATAL EXCEPTION: main ...
- Android编程:解决异常“android.view.InflateException: Binary XML file line # : Error inflating class”
我一般都是在1和4 遇到,记录一下. 今天写程序发现一个问题,就是XML中报出Android.view.InflateException异常,可能的原因有: 1.XML中使用到得组件名称是否书写正确( ...
- Android View框架的measure机制
Android中View框架的工作机制中,主要有三个过程: 1.View树的测量(measure)Android View框架的measure机制 http://www.cnblogs.com/xyh ...
- android view设置按钮颜色_Android 主题换肤技术方案分析
写在前面 Android TV 电视开发,主题换肤,我感觉有两种层级的方式,一种是 系统级,另一种 是应用级, 我记得很早在 Linux 桌面开发的时候,我们之前的公司在GTK+上也实现了一套换肤UI ...
- android 虚方法,尝试在空对象引用上调用虚方法’android.view.View android.view.View.getRootView()’...
我收到这个错误, "Attempt to invoke virtual method 'android.view.View android.view.View.getRootView()' ...
最新文章
- WPF MeshGeometry3D中的Normals和TextureCoordinates属性
- android窗口泄漏,isInEditMode解决可视化编辑器无法识别自定义控件的问题
- partial equation lecture first order pde lecture 1
- Python 学习之列表
- 线性代数的本质笔记-更新ing
- stm32f103c8t6最小系统电路原理图_嵌入式单片机之STM32F103C8T6最小系统板电路设计参考...
- 真相来了!魅族再回应手机不能拨打120一事:系统升级问题
- php页面自动生成,用户通过PHP填写表单后如何自动生成页面?
- 字符串型String
- EXCEL选择下拉框实现复选
- 警惕面试过程中的 PUA
- HTML与CSS如何创建悬停折角纸叠效果
- 会计专业计算机技能大赛,会计技能大赛策划
- lc滤波电路电感电容值选择_几种常见的无源滤波电路
- python怎么新建工程_Python vue坏境搭建及项目创建
- 星座 member.php,计算 星座 PHP
- RabbitMQ-2-工作模式及参数配置
- C语言中的String类
- 怎么查看自己电脑的真实IP地址?
- window下进程通信之共享内存初探