小编dan*_*dan的帖子

Android Compose 预览“渲染问题”,API 34 和 Compose UI 1.5.0

我最近使用 Compose 启动了一个新应用程序。我安装了 AS Hedgehog 2023.1.1。我正在使用 API 34,但在撰写预览中出现错误。“渲染问题”伴随

Layout fidelity warning

The graphics preview in the layout editor may not be accurate: 
    - The current rendering only supports APIs up to 33. You may encounter crashes if using with higher APIs. To avoid, you can set a lower API for your preview.
Run Code Online (Sandbox Code Playgroud)

如何为预览设置较低的 API?

谷歌搜索我只找到告诉我降低整个应用程序的 API 级别的结果,或者 2 年前的答案指出使用非常旧的 compose 版本。

android android-studio android-jetpack-compose

12
推荐指数
1
解决办法
3214
查看次数

创建已更改文件/目录/等的列表.在两个标签之间使用git

我需要在使用git控制的项目中的两个标签之间生成更改日志,特别是android源代码.此列表应包括已编辑,移动,重命名,删除,创建的任何文件/目录/等.

任何帮助都会很棒.如果你有办法在整个Android源码上做到这一点......甚至更好.

git diff android changelog

6
推荐指数
1
解决办法
1116
查看次数