关于ProgressBar中环形加载条无法单独正常运行显示

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout     xmlns:android="http://schemas.android.com/apk/res/android"
    android:orientation="vertical"
    android:layout_width="match_parent"
    android:layout_height="match_parent">
    
    <ProgressBar
        android:layout_width="wrap_content"
        android:layout_height="wrap_content" />
    
</LinearLayout>

这串代码是我在Androidstudio上运行的,发现正常编译并没有报错,但是在手机安装后会导致软件闪退,

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout     xmlns:android="http://schemas.android.com/apk/res/android"
    android:orientation="vertical"
    android:layout_width="match_parent"
    android:layout_height="match_parent">
    <TextView
        android:layout_width="400dp"
        android:layout_height="100dp"
        android:text="im super"
        android:textSize="100dp"
        android:textColor="#ff0000"/>
    <ProgressBar
        android:layout_width="wrap_content"
        android:layout_height="wrap_content" />
</LinearLayout>

这边我在他前面随便加入了文本,然后加入环形加载却可以正常运行
我发现网上视频可以单独运行显示,请问是在某个目录加入什么代码导致可以单独运行

贴一下控制台错误日志