【发布时间】:2021-07-24 11:00:08
【问题描述】:
我正在尝试构建我的应用
xmlns:android="http://schemas.android.com/apk/res/android"xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".ChatForm">
<ScrollView
android:layout_width="match_parent"
android:layout_height="match_parent">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical" >
<TextView
android:id="@+id/textView"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="TextView" />
<argument
android:name="numQuestions"
app:argType="integer"/>
<argument
android:name="numCorrect"
app:argType="integer"/>
</LinearLayout>
</ScrollView>
但问题是我在编译过程中遇到如下错误:
C:\Users\ASUS\AndroidStudioProjects\AplikasiForensik\app\src\main\res\layout\activity_chat_form.xml:29:AAPT:错误:找不到属性 argType(又名 com.example.aplikasiforensik:argType)。
【问题讨论】:
标签: android-studio kotlin