adb.exe is obsolete and has seriousperformance problems with the android emulator. please update to

    技术2022-07-10  143

    文章目录

    前言显示的错误原因解释解决方式

    前言

    我在几年前下载过 sdk,之后有好一段时间没有使用,然后最近使用时候,我先是将模拟器和 idea 配置好,当我打开模拟器时,出现警告类型的弹框,我怀疑是 sdk 版本太低了

    显示的错误

    错误的文本如下:

    adb.exe is obsolete and has seriousperformance problems with the android emulator. please update to a newer version to get significantly faster app/file transfer.

    原因解释

    弹框显示的是 avd 版本太低可能造成影响,实际我使用中没啥影响,就是之前下了 sdk 好久没用,版本太低了

    解决方式

    第一步

    由于我已将安卓的整套环境配置进了 idea 了,所以剩下的我在 idea 进行操作解决,首先得确保下图已经 installed 然后应用确认 此时我们 cmd 检查一下 adb 版本发现已经是新版本了,此时再启动模拟器如果还会报这个警告,那么请参考 stackoverflow 的这篇文章 https://stackoverflow.com/questions/51240223/adb-exe-is-obsolete-and-has-serious-performance-problems

    第二步

    如果第一步没有解决,接着我们可以看到 stackoverflow 最高赞有这句话:更新 SDK Build-Tools,但是这个其实第一步的时候我们已经在 idea 中做了,可是为什么还是没有解决呢?我们还可以发现其他人回答有这样一句话:

    If you already have the latest version of ADB installed, and still getting the error, this is a known issue. Google hasn’t yet provided any other ADB. Click on the “never show again” option and continue.

    就是说如果你已经更新了,但是依然有这个报错,谷歌那边已经知道有这个问题了,但是没有解决,你自己直接点击 never show again 就行了,其他没啥影响的

    Processed: 0.013, SQL: 9