SDK 平台工具版本 ((23)) 太旧,无法检查使用 API 23 编译的 API [英] The SDK platform-tools version ((23)) is too old to check APIs compiled with API 23

查看:22
本文介绍了SDK 平台工具版本 ((23)) 太旧,无法检查使用 API 23 编译的 API的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在 Android Studio 中每个文件的第一行都收到这个奇怪的错误.一切正常,直到我更新了我的 Android Studio.有人可以向我解释发生了什么以及如何摆脱这种错误吗?我将不胜感激.

I am getting this strange error on the first line of each file in my Android Studio. Everything was OK until I updated my Android Studio. Could someone explain to me what's going on and how to get rid of such error? I'd appreciate any help with it.

P.S:尽管有这个错误,我还是可以成功编译和运行我的代码.

P.S: Despite this error, I can compile and run my code successfully.

推荐答案

从 sdk 管理器将您的 android sdk 平台工具更新到修订版 23.0.1.在 android studio 中点击 File->Invalidate Caches/Restart...

Update your android sdk platform-tools to the revision 23.0.1 from sdk manager. In android studio click File->Invalidate Caches/Restart...

就是这样.错误现在必须消失.

That's it. The error must be gone now.

这篇关于SDK 平台工具版本 ((23)) 太旧,无法检查使用 API 23 编译的 API的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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