问题描述
限时送ChatGPT账号..我第一次安装了 Android Studio 0.8.2,我有很多无法解析符号"错误.新项目和从eclipse导出的项目都会出现错误.
I'v just installed Android Studio 0.8.2 for my first time and I have a lot of "Cannot resolve symbol" errors. The errors occur on both new projects and projects which were exported from eclipse.
JDK 版本:jdk1.8.0_11
JDK version: jdk1.8.0_11
Android 工作室错误:
Android studio errors:
项目的成绩文件
推荐答案
在菜单栏中
选择工具>-android>-SDK 管理器
Select tools>-android>-SDK manager
并为项目的目标 SDK 版本下载 SDK 构建工具、SDK 平台和 Google API(Google API 存储包,例如import android.view.Menu"等)(屏幕截图中显示 20 个).如果您不确定必须下载哪些项目,您可以选择所有项目.(当然下载需要更多时间).
and download the SDK build tools, SDK platform and Google API's( the Google API stores packages such as "import android.view.Menu" etc.) for the target SDK version of your project(20 as shown in your screenshot). if you are not sure which items you have to download , you can select all of them.(will take more time to download of course).
重启IDE
这篇关于如何克服 Android Studio 无法解析 android 类的符号的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
更多推荐
[db:关键词]
发布评论