如何将 Android 项目迁移到 Kotlin 2.0 和新版本的 Jetpack Compose Compiler?

新的 Kotlin K2 编译器已稳定。这里简要介绍一下我在我的 Android 项目为了迁移到 Kotlin 2.0 进行的更改

Android Exception - UncheckedIOException: Could not read workspace metadata from metadata.bin

在 Android 项目中,修改 Gradle 相关的文件后重新同步项目时,同步失败,输出如下错误信息:UncheckedIOException: Could not read workspace metadata from C:\Users\itmob.cn\metadata.bin

翻译:2024 年 9 月 3 日 Android 15 已发布至 AOSP

今天,我们发布了 Android 15,并在Android 开源项目(AOSP)上提供源代码 。Android 15 将在未来几周内在受支持的 Pixel 设备上推出

怎么获取 git 存储库的统计数据?查看自己在 Git 仓库中贡献有多少?

本文我们来介绍下使用 git 管理代码时,怎么获取 git 存储库的统计数据,了解自己到底提交了多少代码

Android Exception - AppsFilter interaction: PackageSetting -> PackageSetting BLOCKED

当我们尝试通过 Intent 打开另一个程序时,Logcat 中可能出现一下错误:AppsFilter interaction: PackageSetting{7eda3ef cn.itmob.demo/10275} BLOCKED

Android Exception - AAPT: error: unexpected element found in

尝试 Android 15 新增的更精确 Intent 解析的功能时,出现如下两种错误:Element uri-relative-filter-group is not allowed here

Android 15 新功能和 API 详解:更精确的 Intent 解析,UriRelativeFilterGroup 和 UriRelativeFilter

Android 15 增加了新的 API UriRelativeFilterGroup 和 UriRelativeFilter 来扩展 IntentFilter 的功能,使其支持更精确的 Intent 解析

Android 15 新功能和 API 详解:支持 16 KB 页面大小

随着设备制造商不断打造出 物理内存 (RAM),从 Android 15 开始,Android 系统支持将设备配置为使用 16 KB 页面大小

Android Exception: 解决 Unresolved reference 错误

在 Android Studio 中编译程序时偶尔会遇到 Unresolved reference: xxx 报错,这通常意味着代码中引用了一个无法解析的引用

Android 15 新功能和 API 详解:应用程序启动信息,ApplicationStartInfo

Android 15(API 级别 35)引入了 ApplicationStartInfo API,可以通过它更深入地了解应用的整个启动过程,包括启动状态、启动阶段所用的时间、在 Application 类被实例化时应用的启动方式等,使开发者能够优化应用启动过程的每一步
Your browser is out-of-date!

Update your browser to view this website correctly. Update my browser now

×