Unable to resolve target 'android-23'

简介:

编译项目出错如下:

Description      Resource Path Location   Type

The project was not built since its buildpath is incomplete. Cannot find the class file for java.lang.Object. Fix thebuild path then try building this project                         

Description      Resource Path Location   Type

Unable to resolve target 'android-23'                   Unknown Android Target Problem

Description      Resource Path Location   Type

error: No resource identifier found forattribute 'letterSpacing' in package 'android'   


原因

    目标设备是Android 6.0, 需要使用的API为23,查看Project Properties中Android选项,查看到当前只有Android 4.4.2的版本API 19,所以需要更新SDK





     本文转自fengyuzaitu 51CTO博客,原文链接:http://blog.51cto.com/fengyuzaitu/1418872,如需转载请自行联系原作者

相关文章
|
6月前
|
安全 开发工具 Android开发
几个Flutter常见诊断错误与解决Android toolchain - develop for Android devices X Unable to locate Android SDK
几个Flutter常见诊断错误与解决Android toolchain - develop for Android devices X Unable to locate Android SDK
1806 0
|
3月前
|
Java Android开发
解决Android编译报错:Unable to make field private final java.lang.String java.io.File.path accessible
解决Android编译报错:Unable to make field private final java.lang.String java.io.File.path accessible
410 1
|
5月前
|
开发工具 Android开发 Windows
Android Studio安装Unable to access Android SDK add-on list处理方法
Android Studio安装Unable to access Android SDK add-on list处理方法
170 0
|
6月前
|
Android开发
Unable to resolve dependency for ':app@debug/compileClasspath': Could not resolve com.android.suppor
Unable to resolve dependency for ':app@debug/compileClasspath': Could not resolve com.android.suppor
41 1
|
11月前
|
网络协议 Android开发 虚拟化
Android Studio无法运行程序调试程序出现Unable to connect to ADB.Check the Event Log for possible issues.Verify th
Android Studio无法运行程序调试程序出现Unable to connect to ADB.Check the Event Log for possible issues.Verify th
100 0
Android Studio无法运行程序调试程序出现Unable to connect to ADB.Check the Event Log for possible issues.Verify th
Unable to determine application id: com.android.tools.idea.run.ApkProvisionException: ERROR: APK pat
Unable to determine application id: com.android.tools.idea.run.ApkProvisionException: ERROR: APK pat
396 0
|
Android开发
Android Studio的怪错:AndroidManifest.xml unresolve symbol package/connot resolve symbol/Animations
Android Studio的怪错:AndroidManifest.xml unresolve symbol package/connot resolve symbol/Animations
75 0
Android Studio的怪错:AndroidManifest.xml unresolve symbol package/connot resolve symbol/Animations
|
JSON Java Android开发
android studio中出现Cannot resolve symbol 'json'问题完整简单解决方案
android studio中出现Cannot resolve symbol 'json'问题完整简单解决方案
597 0
android studio中出现Cannot resolve symbol 'json'问题完整简单解决方案
|
开发工具 Android开发
Flutter Unable to locate Android SDK.
Flutter Unable to locate Android SDK.
411 0
Flutter Unable to locate Android SDK.
|
Android开发
Error running Android Debugger (8600): Unable to open debugger port (localhost:8600): java.net.Conne
Error running Android Debugger (8600): Unable to open debugger port (localhost:8600): java.net.Conne
251 0