需要应用程序清单将

需要应用程序清单将

本文介绍了平台 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"

清单就像

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

或者我如何在包中使用 android 4.2.2 导入它explorer,现在显示的是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"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-11 23:50