在AndroidManifest.xml中 <?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android"package="com.hh.practice"><applicationandroid:allowBackup="true"android:icon="@drawable/ic_launcher" 设置显示图标android:label="@string/app_name " 设置app显示名称:practiceandroid:roundIcon="@drawable/ic_launcher" 设置圆形显示图标android:supportsRtl="true"android:theme="@style/Theme.Chaper3"><activityandroid:name=".MainActivity"android:exported="true"><intent-filter><action android:name="android.intent.action.MAIN" /><category android:name="android.intent.category.LAUNCHER" /></intent-filter></activity></application></manifest>