目录
javax.crypto.IllegalBlockSizeException: data not block size aligned
android.view.ViewRootImpl$CalledFromWrongThreadException: Only the original thread that created a view hierarchy can touch its views.
String和byte[]间的转换
Caused by: org.gradle.api.file.UnableToDeleteFileException: Unable to delete directory 'E:\daima_new
错误:Unparseable date: "2020/07/16 14:37:56" (at offset 4)
AndroidStudio不显示build文件
javax.crypto.IllegalBlockSizeException: data not block size aligned数据块大小未对齐
des加密需要是8的整数倍;
android.view.ViewRootImpl$CalledFromWrongThreadException: Only the original thread that created a view hierarchy can touch its views.
在子线程是不能更新ui的,可以使用handler将参数传出,进行ui更新;
String和byte[]间的转换
byte[] byteArray = str.getBytes();
Caused by: org.gradle.api.file.UnableToDeleteFileException: Unable to delete directory 'E:\daima_new
重新复制项目到其他目录打开,试试;
这是因为上次编译的缓存没清空导致,手动clean一下即可。
错误:Unparseable date: "2020/07/16 14:37:56" (at offset 4)解释:at offset 4,在16 的地方解析错误,倒叙数4个时间格式;
2020-07-16 14:37:56
AndroidStudio不显示build文件