将 compose 示例项目导入 android studio 4.2 版 [英] Import compose sample projects to android studio version 4.2

查看:46
本文介绍了将 compose 示例项目导入 android studio 4.2 版的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试导入 撰写示例项目,但我遇到了以下错误:

I'm trying to import compose sample projects, but I'm facing this error:

Invalid injected android support version '202.7660.26.42.7322048', expected to be of the form 'w.x.y.z'

Android Studio 目前已更新至最新版本 4.2.

The android studio is currently updated to its newest version 4.2.

我该如何解决这个问题?

How can I fix this?

推荐答案

版本202.7660.26.42.7322048

Android Studio 4.2
Build #AI-202.7660.26.42.7322048, built on April 29, 2021

如当前 (1.0.0-beta08) 中的建议 撰写的官方设置您应该使用测试版频道中的 Android Studio:

As suggested in the current (1.0.0-beta08) official setup of compose you should use the Android Studio in the beta channel:

Android Studio Arctic Fox | 2020.3.1 Beta 03

这篇关于将 compose 示例项目导入 android studio 4.2 版的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆