<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[Kewen_C的博客]]></title><description><![CDATA[]]></description><link>https://blog.youkuaiyun.com/Kewen_C</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; Kewen_C]]></copyright><item><title><![CDATA[GLSurfaceView createContext failed: EGL_BAD_CONFIG]]></title><link>https://blog.youkuaiyun.com/Kewen_C/article/details/146243820</link><guid>https://blog.youkuaiyun.com/Kewen_C/article/details/146243820</guid><author>Kewen_C</author><pubDate>Thu, 13 Mar 2025 22:42:25 +0800</pubDate><description><![CDATA[原因：每个手机的可渲染类型的默认值是不同的，有些手机的默认EGL_OPENGL_ES_BIT（1.x）,但setEGLContextClientVersion为2或以上，就会导致配置不匹配奔溃。因此要指定EGL_RENDERABLE_TYPE的值。如果设置版本setEGLContextClientVersion(3)的类型值为EGL_OPENGL_ES3_BIT_KHR；如果设置版本setEGLContextClientVersion(2)的类型值为EGL_OPENGL_ES2_BIT；]]></description><category></category></item><item><title><![CDATA[使用瀑布流布局StaggeredGridLayoutManager出现奔溃问题]]></title><link>https://blog.youkuaiyun.com/Kewen_C/article/details/143761975</link><guid>https://blog.youkuaiyun.com/Kewen_C/article/details/143761975</guid><author>Kewen_C</author><pubDate>Thu, 14 Nov 2024 11:16:44 +0800</pubDate><description><![CDATA[奔溃的场景：RecyclerView滑到最底部，切换其他Fragment, 再切换回原来的Fragment, 再上滑出现奔溃。前提：ViewPaper2使用无动画的方式切换Fragment。以上是详细的报错日志。]]></description><category></category></item><item><title><![CDATA[使用TextureView报signal 11]]></title><link>https://blog.youkuaiyun.com/Kewen_C/article/details/123004705</link><guid>https://blog.youkuaiyun.com/Kewen_C/article/details/123004705</guid><author>Kewen_C</author><pubDate>Fri, 18 Feb 2022 20:00:00 +0800</pubDate><description><![CDATA[2022-02-18 15:25:14.610 3674-3674/? A/DEBUG: signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x734bc2f494
2022-02-18 15:25:14.610 3674-3674/? A/DEBUG:     x0  0000000000000000  x1  000000734adf0108  x2  0000000000000425  x3  00000000000005d4
2022-02.]]></description><category></category></item><item><title><![CDATA[Jenkins编译出错：No toolchains found in the NDK toolchains folder for ABI with prefix]]></title><link>https://blog.youkuaiyun.com/Kewen_C/article/details/122989296</link><guid>https://blog.youkuaiyun.com/Kewen_C/article/details/122989296</guid><author>Kewen_C</author><pubDate>Thu, 17 Feb 2022 22:45:00 +0800</pubDate><description><![CDATA[FAILURE: Build failed with an exception.
15:33:34 
15:33:34 * What went wrong:
15:33:34 Execution failed for task ':app:stripReleaseDebugSymbols'.
15:33:34 &gt; No toolchains found in the NDK toolchains folder for ABI with prefix: arm-linux-androideabi

以.]]></description><category></category></item><item><title><![CDATA[IllegalArgumentException: parameter must be a descendant of this view]]></title><link>https://blog.youkuaiyun.com/Kewen_C/article/details/122988966</link><guid>https://blog.youkuaiyun.com/Kewen_C/article/details/122988966</guid><author>Kewen_C</author><pubDate>Thu, 17 Feb 2022 22:30:00 +0800</pubDate><description><![CDATA[Back traces starts.
java.lang.IllegalArgumentException: parameter must be a descendant of this view
	at android.view.ViewGroup.offsetRectBetweenParentAndChild(ViewGroup.java:6278)
	at android.view.ViewGroup.offsetDescendantRectToMyCoords(ViewGroup.java:62.]]></description><category></category></item><item><title><![CDATA[魅族MX4升级包版本过旧,请使用最新的升级包升级]]></title><link>https://blog.youkuaiyun.com/Kewen_C/article/details/105157856</link><guid>https://blog.youkuaiyun.com/Kewen_C/article/details/105157856</guid><author>Kewen_C</author><pubDate>Sat, 28 Mar 2020 11:54:51 +0800</pubDate><description><![CDATA[MX4 Flyme6.3.0.2A 或 Flyme6.8.1.23beta 降级回出厂系统 Flyme4.2.8.2A ，其一：在文件管理使用update.zip降级，实际上是没刷成功的，相当于清除数据重启一下手机。其二：按住“音量+键”和“电源键”界面降级会出现升级包版本过旧,请使用最新的升级包升级。如果出现这两种情况，要降级回出厂系统就要遵循逐级降级，不能一步到位。因此可以先刷个中间版本，比如...]]></description><category></category></item><item><title><![CDATA[Android adb启动不了：Unable to establish connection to adb]]></title><link>https://blog.youkuaiyun.com/Kewen_C/article/details/81144581</link><guid>https://blog.youkuaiyun.com/Kewen_C/article/details/81144581</guid><author>Kewen_C</author><pubDate>Sat, 21 Jul 2018 14:49:53 +0800</pubDate><description><![CDATA[关于解决adb启动异常的文章在网上有很多,但对于我的都没能解决。

1、试过通过DOS命令杀死一些其他的adb端口占用，没能解决。

2、试过重新下载platform-tools，没能解决。

3、试过卸载VMware、VirtualBox软件，也没能解决。

花费了很多时间，很绝望。最后想不到是防火墙给挡住了，关掉电脑的防火墙，adb正常运行了。最后再重新开启防火墙，重刷adb还正常，诡异，估计...]]></description><category></category></item><item><title><![CDATA[如何在 Android Studio 把本地代码托管到 GitHub 上]]></title><link>https://blog.youkuaiyun.com/Kewen_C/article/details/77914022</link><guid>https://blog.youkuaiyun.com/Kewen_C/article/details/77914022</guid><author>Kewen_C</author><pubDate>Sat, 09 Sep 2017 11:31:02 +0800</pubDate><description><![CDATA[本篇参考资料《Android应用性能优化最佳实践》罗彧成]]></description><category></category></item><item><title><![CDATA[generateAsync is deprecated]]></title><link>https://blog.youkuaiyun.com/Kewen_C/article/details/77587807</link><guid>https://blog.youkuaiyun.com/Kewen_C/article/details/77587807</guid><author>Kewen_C</author><pubDate>Fri, 25 Aug 2017 23:13:48 +0800</pubDate><description><![CDATA[final AppBarLayout appBarLayout = (AppBarLayout) findViewById(R.id.app_bar);
Bitmap bitmap = BitmapFactory.decodeResource(getResources(),R.mipmap.ic_launcher_round);Palette.generateAsync(bitmap, new P]]></description><category></category></item><item><title><![CDATA[如何在Android Studio中删除引用的lib包]]></title><link>https://blog.youkuaiyun.com/Kewen_C/article/details/61414084</link><guid>https://blog.youkuaiyun.com/Kewen_C/article/details/61414084</guid><author>Kewen_C</author><pubDate>Sat, 11 Mar 2017 10:53:49 +0800</pubDate><description><![CDATA[在Android模式下，当然也可以在其他模式下，右击app > Open Module Settings

出现的Project Structure窗口下，点击app > Dependencies

最后删除你想的lib包。]]></description><category></category></item><item><title><![CDATA[Gradle 's dependency cache may be corrupt]]></title><link>https://blog.youkuaiyun.com/Kewen_C/article/details/60572537</link><guid>https://blog.youkuaiyun.com/Kewen_C/article/details/60572537</guid><author>Kewen_C</author><pubDate>Mon, 06 Mar 2017 11:04:27 +0800</pubDate><description><![CDATA[今天更新Android Studio为3.0后，运行项目就出现Gradle 's dependency cache may be corrupt错误。
   
   打开Gradle Scripts > gradle-wrapper.properties里查看，发现distributionUrl下的地址怪怪的。
   

   后来把地址改为https://downloads.gradl]]></description><category></category></item><item><title><![CDATA[优化SimpleAdapter适配器加载效率]]></title><link>https://blog.youkuaiyun.com/Kewen_C/article/details/54749237</link><guid>https://blog.youkuaiyun.com/Kewen_C/article/details/54749237</guid><author>Kewen_C</author><pubDate>Fri, 27 Jan 2017 01:07:19 +0800</pubDate><description><![CDATA[在主Activity中：
listview=(ListView)findViewById(R.id.listview);getData();//为list添加数据overrideSimpleAdapter=new OverrideSimpleAdapter(getContext(),list,R.layout.list_item_layout,              new String[]]]></description><category></category></item><item><title><![CDATA[如何指定listview的某item滚动到在第一行]]></title><link>https://blog.youkuaiyun.com/Kewen_C/article/details/54748915</link><guid>https://blog.youkuaiyun.com/Kewen_C/article/details/54748915</guid><author>Kewen_C</author><pubDate>Fri, 27 Jan 2017 00:55:30 +0800</pubDate><description><![CDATA[listview.setSelection(position);//position为某item的索引号]]></description><category></category></item><item><title><![CDATA[android数据库版本升级，在onUpgrade方法如何写，防止跨级重新创建数据表而报错]]></title><link>https://blog.youkuaiyun.com/Kewen_C/article/details/51934366</link><guid>https://blog.youkuaiyun.com/Kewen_C/article/details/51934366</guid><author>Kewen_C</author><pubDate>Sun, 17 Jul 2016 21:38:25 +0800</pubDate><description><![CDATA[android数据库版本升级，在onUpgrade方法如何写，防止跨级重新创建数据表而报错。
采用switch语句，很好解决用户从第一版本跨级升到第三版本，数据库表创建没出错。]]></description><category></category></item></channel></rss>