自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(9)
  • 收藏
  • 关注

原创 解决:VMware Workstation 无法连接到虚拟机

VMware Authorization Service 当前未运行

2023-03-05 13:45:27 1647

原创 gradlew报错:Android Gradle plugin requires Java 11 to run

Android Gradle plugin requires Java 11 to run. You are currently using Java 1.8

2023-02-21 14:50:45 760

原创 AS升级后,GreenDao报错

First problem: Pb(324) The type java.lang.Object cannot be resolved

2023-02-20 15:53:39 449

原创 Android运行报错 Cause: duplicate entry: META-INF/MANIFEST.MF

解决:修改‘appcompat-v7’版本

2022-06-27 16:12:36 872

原创 Android 根据FFD8 FFD9获取图片

byte数组中包含jpeg数据,以FFD8开始、FFD9结束,查找标记位置,转换bitmap private byte[] tagStartBytes = hexStringToBytes("FFD8"); private byte[] tagEndBytes = hexStringToBytes("FFD9"); private Bitmap getBitmap(byte[] originBytes) { int startIndex = 0; .

2022-03-14 10:33:27 10318

原创 Android串口通信

情况:定制设备,灯光板串口通信参考:Android开发之串口通信:AndroidSerialPort - 简书依赖:implementation 'com.aill:AndroidSerialPort:1.0.8'使用:public class SerialManager { //串口命令示例 private final String CMD_LIGHT_OPEN = "6a610111"; private final String CMD_LIGHT_CL.

2022-03-09 11:19:59 8251 2

原创 Error inflating class com.google.android.material.bottomnavigation.BottomNavigationView

Caused by: android.view.InflateException: Binary XML file line #17: Error inflating class com.google.android.material.bottomnavigation.BottomNavigationViewCaused by: java.lang.reflect.InvocationTargetExceptionCaused by: java.lang.IllegalArgumentExceptio

2021-09-02 10:57:34 1914

原创 android studio adb无法启动,且5037端口没有被占用

参考:https://blog.csdn.net/wuyoudeyuer/article/details/107151339报错:Unable to create Debug Bridge: Unable to start adb server: * daemon not running; starting now at tcp:5037Process did not terminate within specified timeout, killing it'D:\Android\sdk\plat

2021-08-31 21:25:36 1121

原创 关于eclipse-logcat不单独打印项目日志的经验

1. 本人碰到的问题:真机运行项目时logcat不打印日志,但其他项目可以正常打印。2.解决思路打开ApplicationManifest.xml文件查看代码,发现application属性中有 “android:debuggable="false"” ,去掉之后 重新运行程序,可以了

2017-07-11 09:45:15 396

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

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