![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
bug
lx6101989
这个作者很懒,什么都没留下…
展开
-
javax.crypto.BadPaddingException: error:1e000065:Cipher functions:OPENSSL_internal:BAD_DECRYPT 的解决
javax.crypto.BadPaddingException: error:1e000065:Cipher functions:OPENSSL_internal:BAD_DECRYPT在做AES 解密时碰到的错误代码如下 /** * 解密AES加密过的字符串 * * @param content * AES加密过过的内容(字节码) * @param md5password * 加.原创 2020-11-20 16:43:45 · 8519 阅读 · 3 评论 -
llegalAccessError: tried to access method org.springframework.core.io.support.SpringFactoriesLoader.
Exception in thread "main" java.lang.IllegalAccessError: tried to access method org.springframework.core.io.support.SpringFactoriesLoader.loadFactoryNames(Ljava/lang/Class;Ljava/lang/ClassLoader;)Ljava/util/List; from class org.springframework.boot.SpringA原创 2020-09-24 14:57:43 · 1767 阅读 · 0 评论 -
flutter : ‘!navigator._debugLocked‘: is not true.
错误代码展示 jumpToPage(String itemNameList) { switch(itemNameList){ case "AnimatedContainer": Navigator.push(context, MaterialPageRoute( builder: (context) => new AnimatedContainerPage())); break; }修改为jumpToPag原创 2020-07-07 17:57:53 · 4543 阅读 · 0 评论 -
Flutter 踩坑 资源下载不下来的
Could not get resource 'http://jcenter.bintray.com/org/jetbrains/kotlin/kotlin-stdlib-jdk8Could not get resource 'http://jcenter.bintray.com/com/google/protobuf/protobuf-java-util/Could not get resource 'http://jcenter.bintray.com/com/google/protobu...原创 2020-06-12 17:41:53 · 4429 阅读 · 0 评论 -
java.lang.NoSuchFieldError: No static field XXX of type I in class
模块化重构遇到的问题,把原来的app module 变成了libary 用新的app module 依赖 删除了new app module 的MainActivity 后 没有删除layout_main 报了这个错误,删除后 好了原因是 出现了相同的布局名称 ,这里是转化后的libary 本身就有layout_main 新建的 app module 默认创建 layout_main 就报错了。...原创 2020-06-11 11:59:15 · 2841 阅读 · 0 评论 -
Literpal java.lang.ClassCastException: libcore.reflect.WildcardTypeImpl cannot be cast to java.lan
使用Literpal 遇到java.lang.ClassCastException: libcore.reflect.WildcardTypeImpl cannot be cast to java.lang.Class类型是public interface BaseSubListDataBean extends MultiItemEntity { String getN...原创 2020-02-29 18:12:14 · 1398 阅读 · 0 评论 -
Binary XML file line #300: Binary XML file line #36: Error inflating class <unknown>
对应位置的控件是: <TextView android:id="@+id/tv_file_name" android:layout_width="wrap_content" android:layout_height="wrap_content" android:ellipsize="middle" an...原创 2019-11-14 11:12:53 · 233 阅读 · 0 评论 -
/closure-library/closure/goog/streams/full_test_cases.js:635: ERROR - Parse error. '(' expected
搞电池优化 用Doker 安装 Battery Historian 失败,只好用Go 手动安装 Battery Historian 参考博客https://www.jianshu.com/p/0fa57924f228走到3.运行Battery Historian1) go run setup.go 这一步报了github.com/google/battery-his...原创 2019-10-10 15:24:54 · 671 阅读 · 0 评论 -
LitPal 在delete 之后 再 save 不成功的bug
出问题的代码是这么写的:mDataList = new ArryList();ListAdapter adpter = new ListAdapter(mDataList);获取数据.....List responseData = Response.getData();mDataList.clear();mDataList.addAll(responseData);adap...原创 2019-07-27 17:18:19 · 255 阅读 · 0 评论 -
BaseRecyclerViewAdapterHelper 使用常见错误整理
BaseMultiItemQuickAdapter 的使用:BUG 1:java.lang.NullPointerException: Attempt to invoke virtual method 'int android.util.SparseIntArray.get(int, int)' on a null object reference这个问题是:构造方法里面,没有调用...原创 2019-06-20 10:46:56 · 3123 阅读 · 0 评论 -
android studio不能新建module
点击新建module报了下面这个错误Incomplete or corrupted installation - "D:\prebuilts\studio\jdk\win64" directory does not existjava.lang.Error: Incomplete or corrupted installation - "D:\prebuilts\studio\jdk\win...原创 2019-01-09 10:44:49 · 5444 阅读 · 2 评论 -
bug: Could not get resource 'https://jcenter.bintray.com/com/
android studio 编译时碰上了 > Could not get resource 'https://jcenter.bintray.com/com/android/tools/build/gradle/1.3.1/gradle-1.3.1.pom'. > Could not HEAD 'https://jcenter.bintray.co...原创 2019-01-03 18:06:06 · 10681 阅读 · 5 评论 -
No signature of method: static org.gradle.api.java.archives.Manifest.srcFile() is applicable for arg
bugNo signature of method: static org.gradle.api.java.archives.Manifest.srcFile() is applicable for argument types: (java.lang.String) values: [src/main/debug/AndroidManifest.xml]Open File原代原创 2017-07-27 15:28:35 · 6775 阅读 · 10 评论 -
极光IM + 极光推送,集成中遇到的问题
问题表现:后台发送极光消息推送后,android端提示很抱歉,程序出现异常,即将退出”后崩溃,没有崩溃日志。添加下面代码后JMessageClient.registerEventReceiver(this)继续报:很抱歉,程序出现异常,即将退出 但是没有崩溃。然后从集成步骤开始陆续排查问题。集成中的坑极光IM的Demo使用的Jcore是1.17版本的但是极光推送的Demo使用的jcore是1.19...原创 2018-03-15 12:25:58 · 5875 阅读 · 0 评论 -
记录一个有趣的bug:由onTouchEvent造成ArrayIndexOutOfBoundsException崩溃的bug
bug描述:某个页面拼命的点,有时候会崩溃,有时候又不会。崩溃日志显示是索引越界错误。关键代码大致是这样:public class A extends View{ int index = 0 ArryList list; public A(Context context, AttributeSet attrs, int defStyleAttr){ ...........原创 2018-03-16 16:06:29 · 469 阅读 · 0 评论 -
Could not find com.android.tools.build:aapt2:3.2.0-alpha14-4748712.
android studio 升级到了3.0 取消了apt 报了这个错Could not find com.android.tools.build:aapt2:3.2.0-alpha14-4748712.Searched in the following locations: file:/D:/android_sdk/extras/m2repository/com/android/tools...原创 2018-05-16 11:13:21 · 44165 阅读 · 27 评论 -
SecurityException: Uid 0312 does not have permission content://com.android.providers...
在小米六上获取相册剪裁图片的时候碰上的。最后自己一行行删除代码删掉这一句后,好了,原因不明,也忘了为什么自己加了这一句。 // 7.0加入访问权限// intent.addFlags(Intent.FLAG_GRANT_WRITE_URI_PERMISSION// | Intent.FLAG_GRANT_READ_URI_PERMISSION);...原创 2018-05-29 15:31:27 · 9758 阅读 · 0 评论 -
Cordova Failed to run "javac -version"
和其他人不一样,javac是确认安装成功可以运行的。也确定环境中只有一个版本的jdk。运行后报了这个错误D:\MyDemo\test2>cordova requirementsAndroid Studio project detectedRequirements check results for android:Java JDK: not installedFailed to ...原创 2018-07-16 12:03:03 · 875 阅读 · 0 评论 -
<generated>:0: error: invalid symbol: 'null'
在values -> attrs 文件夹中的自定义属性里<resources> <declare-styleable name="wallet_info_input_view">attrs_wallet <attr name="title_text" format="string"/> <原创 2018-08-08 10:13:43 · 517 阅读 · 0 评论 -
FlycoTabLayout tab布局错乱
发现在FlycoTabLayout 源码中tabView = View.inflate(mContext, R.layout.layout_tab, null);就是说标题来源于一个叫layout_tab布局 然后在引入的另外一个功能模块里,也有一个叫layout_tab的布局,编译的时候,覆盖了FlycoTabLayout的layout_tab的资源,导致FlycoTabLay...原创 2018-09-13 09:50:07 · 690 阅读 · 0 评论 -
java.lang.IllegalStateException: Expected BEGIN_ARRAY but was BEGIN_OBJECT at line 1 column 2 path $
Gson的代码mJsonDataFromAssets = JAssetsUtils.getJsonDataFromAssets(this, "chineseCountryJson.json");Gson gson = new Gson();List contryList = gson.fromJson(mJsonDataFromAssets, new TypeToken>() {原创 2017-07-24 16:06:55 · 5614 阅读 · 0 评论