gpt4 book ai didi

android - 此处不允许使用 JetBrain Idea android xml 元素

转载 作者:塔克拉玛干 更新时间:2023-11-02 08:42:19 32 4
gpt4 key购买 nike

此处不允许使用 JetBrain Idea android xml 元素。

I found this tutorial but I still don't understand how to resolve this problem

我得到了这样的东西 http://clip2net.com/s/2I0HI?dw=1

<GridLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:columnCount="10"
android:rowCount="10">

<TextView
style="@style/GlobalTextView"
android:layout_gravity="right"
android:text="@string/lbl_player_kicking_kicking"
android:background="@drawable/bg_top"
android:layout_column="1"
android:layout_row="1"
android:padding="10dp" />

<TextView
style="@style/GlobalTextView"
android:layout_gravity="right"
android:background="@drawable/bg_bottom"
android:text="@string/lbl_player_receiving_rec"
android:layout_column="1"
android:layout_row="2"
android:padding="10dp" />
</GridLayout >

最佳答案

确保您在项目中使用的是 SDK 级别 14 或更高级别。

打开项目属性,文件> 项目结构 并选择项目。在 Project SDK 下,它必须显示 Android 4.0 平台(或更新版本)。

关于android - 此处不允许使用 JetBrain Idea android xml 元素,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14317176/

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