平台L是preVIEW并要求应用程序清单来设置的minSdkVersion为“L”应用程序、清单、平台、minSdkVersion

2023-09-04 04:56:21 作者:剩蛋姐

我在我的logcat此错误时,从SDK /演员/安卓/

进口appcompat V7   

平台L是preVIEW并要求应用程序清单设置   的minSdkVersion以L

和清单就像

 < XML版本=1.0编码=UTF-8&GT?;
<  - !版权所有(C)2012年Android开源项目

     Apache许可证下授权,版本2.0(以下简称许可证);
     你可能不使用这个文件除了在遵守许可。
     您可以在获得许可证的副本

          http://www.apache.org/licenses/LICENSE-2.0

     除非适用法律要求或书面同意,软件
     该许可证下发布分布在原样的基础上,
     无担保或任何形式的条件,无论是EX preSS或暗示的保证。
     查看许可证的特定语言的管理权限和
     该许可证下的限制。
 - >
<舱单的xmlns:机器人=htt​​p://schemas.android.com/apk/res/android
          包=android.support.v7.appcompat>
    <使用-SDK安卓的minSdkVersion =7/>
    <应用/>
< /舱单>
 

我怎样才能解决这个问题?

  

或如何导入其与包裹的Andr​​oid 4.2.2   探险家,现在它显示andoid L(preVIEW)

解决方案 自动播放的程序列表如何清理

在项目属性 - > Android的你一定要选择比Android-L等, 在示例机器人4.4W,因为它们具有相同的API号码 - 的API-20

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

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

and the manifest is like

<?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

          http://www.apache.org/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="http://schemas.android.com/apk/res/android"
          package="android.support.v7.appcompat">
    <uses-sdk android:minSdkVersion="7"/>
    <application />
</manifest>

how can i resolve this error?

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

解决方案

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