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

Saj*_*ath 15 sdk android android-5.0-lollipop

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

平台L是预览,需要应用程序清单将minSdkVersion设置为'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

          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>
Run Code Online (Sandbox Code Playgroud)

我该如何解决这个错误?

或者如何在包浏览器中使用android 4.2.2导入它,现在它正在显示andoid L(预览)

R-J*_*R-J 16

在项目中属性 - > Android你必须选择除Android-L以外的其他Android 4.4W,因为它们具有相同的API编号--API-20 在此输入图像描述


map*_*dev 8

设置这个

 <uses-sdk android:minSdkVersion="7"/>
Run Code Online (Sandbox Code Playgroud)

<uses-sdk android:minSdkVersion="L"/>
Run Code Online (Sandbox Code Playgroud)