自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 在 Android 开发中一些常见的报错类型

例如: ```groovy implementation('com.example.library:library:1.0') { exclude group: 'com.conflicting.group', module: 'conflicting-module' } ``` - 检查项目目录,删除重复的类文件。解决办法: - 确保自定义 View 的 `onMeasure` 方法正确处理 `MeasureSpec` 参数,根据不同的测量模式计算 View 的大小。原因: - 引用的资源文件不存在。

2025-02-19 10:19:45 520

原创 报错The markup in the document following the root element must be well-formed.

3. 特殊字符未转义 XML 中有一些特殊字符,像 `<`、`>`、`&` 等,必须进行转义处理。在编写 XML 文件时,要养成良好的编码习惯,确保代码格式正确。常见的特殊字符转义如下: | 特殊字符 | 转义字符 | | --- | --- | | `<` | `<` | | `>` | `>` | | `&` | `&` | | `"` | `"` | | `'` | `'` | 例如,将 `android:text="1 < 2"` 改为 `android:text="1 < 2"`。

2025-02-19 10:12:29 1021

原创 解决Gradle报错Caused by: org.gradle.api.internal.plugins.PluginApplicationException

报错问题Caused by: org.gradle.api.internal.plugins.PluginApplicationException: Failed to apply plugin 'com.android.internal.application'.

2022-10-26 14:00:52 3335

空空如也

空空如也

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

TA关注的人

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