简体   繁体   English

android studio 中的虚拟设备均未提供 api 31,如果我选择 api 为 >=31,如何运行我的代码?

[英]None of the virtual devices in android studio offer api 31, how can i run my code if i selected the api as >=31?

I selected the API for my android studio app to be 31 or higher to be able to use the jetpack plug-ins, but none of the virtual device configuration phones have this API, so I can't run my code.我为我的 android studio 应用程序选择了 API 为 31 或更高版本,以便能够使用 jetpack 插件,但是虚拟设备配置手机都没有这个 API,所以我无法运行我的代码。 How can I go around this?我go怎么绕这个? Thank you!谢谢!

在此处输入图像描述

I don't know why it not showing on your device, But on my device Manager, it properly shows up to 32, and Tiramisu .我不知道为什么它没有显示在您的设备上,但在我的设备管理器上,它正确显示最多 32 和Tiramisu See the below image.请参见下图。 First, try to Refresh ,首先,尝试Refresh 在此处输入图像描述 if more API 31,32 not show then follow my second step.如果更多API 31,32 not show ,请执行我的第二步。 这是我的设备管理器


2nd - If you do not find your API level in the Recommended area, Just click on Other Images as below image 2nd - 如果您在Recommended区域找不到您的 API 级别,只需单击下图的Other Images图像

其他图片

You can see all of an API levels here.您可以在此处查看所有API levels If problem not solved yet, let me know如果问题还没有解决,请告诉我

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 当我在播放控制台上上传带有 API 31 的 aab 文件时。它在 android 12 设备上不起作用 - When i upload aab file with API 31 on play console.it doesn't work in android 12 devices 我在make API 31的时候找不到这个错误,我的每个项目都有这3个错误 - I can't find this error when I make API 31, there are these 3 errors in each of my projects Android API 31、如何获取SSID? - Android API 31, how to get the SSID? 如何将目标 API 升级到 31 android - How to upgrade target API to 31 android 当在 Android 12、API 31 上未调用 onCreate() 时,如何在应用中创建根启动器 Activity? - How do I create a root launcher Activity in an app, when onCreate() is not called on Android 12, API 31? 我可以在Android Studio中运行API级别7(即eclair)的代码吗? - Can i run my code of API level 7 i.e eclair in android studio? Android Studio:从通知打开应用到 MainActivity API 31 - Android Studio : Open app to MainActivity from notification API 31 如何防止在 Api 上的 android 中打开状态栏菜单 31 - How to prevent opening status bar menu in android on Api 31 此编译器不支持 API 级别 31 - Android - API level of 31 is not supported by this compiler - Android 我如何解决这个问题“依赖项中指定的 minCompileSdk (31)” - how I can solve this problem "The minCompileSdk (31) specified in a dependency "
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM