平台 L 是预览版,需要应用程序清单将 minSdkVersion 设置为“L"

编程入门 行业动态 更新时间:2024-10-24 18:17:52
本文介绍了平台 L 是预览版,需要应用程序清单将 minSdkVersion 设置为“L"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

从sdk/extras/android/"导入 appcompat v7 时,我的 logcat 中出现此错误

I have this error in my logcat when imported appcompat v7 from " sdk/extras/android/ "

Platform L 是预览版,需要设置应用程序清单minSdkVersion 为L"

Platform L is a preview and requires application manifest to set minSdkVersion to 'L'

清单就像

<?xml version="1.0" encoding="utf-8"?> <!-- Copyright (C) 2012 The Android Open Source Project Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at www.apache/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> <manifest xmlns:android="schemas.android/apk/res/android" package="android.support.v7.appcompat"> <uses-sdk android:minSdkVersion="7"/> <application /> </manifest>

我该如何解决这个错误?

how can i resolve this error?

或者我如何在包中使用 android 4.2.2 导入它explorer,现在显示的是andoid L(Preview)

or how can i import it with android 4.2.2 in the package explorer,which now it is showing andoid L(Preview)

推荐答案

在projects Properties -> Android 你必须选择Android-L以外的,以 Android 4.4W 为例,因为它们具有相同的 API 编号 - API-20

In projects Properties -> Android You have to choose other than Android-L, In example Android 4.4W, because they have the same API number - API-20

更多推荐

平台 L 是预览版,需要应用程序清单将 minSdkVersion 设置为“L"

本文发布于:2023-11-17 06:51:21,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1609209.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:设置为   应用程序   清单   预览版   平台

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!