如何在没有Android Studio的情况下更新Android模拟器? [英] How to update Android emulator without Android Studio?

查看:509
本文介绍了如何在没有Android Studio的情况下更新Android模拟器?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我没有Android Studio,只有Android SDK.当我使用Android虚拟设备(AVD)管理器启动我的一个Android模拟器时,收到以下消息:

I don't have Android Studio, just the Android SDK. When I launch one of my Android emulators using the Android Virtual Devices (AVD) Manager, I get the following message:

您的模拟器已过时,请通过启动Android Studio进行更新.

根据这些步骤,似乎即使没有Android Studio,也可以仅通过使用Android SDK Manager来更新仿真器.但是没有"SDK工具"选项卡.

According to the steps, it seems that one could update the emulator even without Android Studio just by using the Android SDK Manager. But there is no SDK Tools tab.

作为独立应用程序启动的SDK Manager是否不同于Android Studio中的SDK Manager?

Is the SDK Manager which is launched as a standalone application different from the SDK Manager available in the Android Studio?

此外,如您所见,所有内容都是最新的,并且Android SDK工具的版本比

Also, as you can see, everything is up-to-date and the version of Android SDK Tools is even newer than the one that is offered for downloading on the Android website (25.2.3 at the time of writing this question).

那我该如何更新模拟器?我不需要/想要Android Studio.

So how do I update the emulator? I don't need/want Android Studio.

推荐答案

您在正在启动Android模拟器"运行窗口中看到的说明特定于通过Android Studio进行更新. Android Studio内部的SDK Manager与独立工具不同.我们添加了新的SDK程序包,其中包括旧的SDK Manager不了解如何处理或更新的程序包,包括新的模拟器.

The instructions you see in the "Starting Android Emulator" run window are specific to updating via Android Studio. The SDK Manager inside of Android Studio is different than the standalone tool. We added new SDK packages that the old SDK Manager does not understand how to process nor update, including the new Emulator.

您有两种更新模拟器的方法:

You have two ways going forward to update the emulator:

  1. 使用新的命令行SDK Manager:$ ./sdkmanager --update 阅读更多

在Android Studio中使用新的 SDK管理器

Use the new SDK Manager in Android Studio

基于窗口输出,看起来您的AVD可能很旧,因此您可能需要创建新的AVD或更新其最新功能以及更好的仿真器性能.稳定性.

Based on the window output, it also looks like your AVDs might be old, so you may want to create new AVDs or update for the latest features and better emulator performance & stability.

SDK工具发行说明说它已被弃用:

这篇关于如何在没有Android Studio的情况下更新Android模拟器?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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