gpt4 book ai didi

android - 平台 L 是预览版,需要应用程序 list 将 minSdkVersion 设置为 'L'

转载 作者:可可西里 更新时间:2023-11-01 18:45:15 29 4
gpt4 key购买 nike

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

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

enter image description here

list 就像

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

我该如何解决这个错误?

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 enter image description here

关于android - 平台 L 是预览版,需要应用程序 list 将 minSdkVersion 设置为 'L',我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/24507717/

29 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com