작성
·
251
0
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
package="com.example.twice" >
<application
android:allowBackup="true"
android:dataExtractionRules="@xml/data_extraction_rules"
android:fullBackupContent="@xml/backup_rules"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="@style/Theme.Twice"
tools:targetApi="31" >
<activity
android:name=".SplashActivity2"
android:exported="false" >
</activity>
//여기서 부터
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
//여기까지 어떠한 내용으로 고쳐야 하나요?
<activity
android:name=".MainActivity"
android:exported="true" >
</activity>
</application>
</manifest>
가상 핸드폰으로 볼려고 하니 안나오고
밑에 처럼 빨간색으로 에러 나오거든요. ㅠ 알려주세요.
답변 3
1
0
0
intent filter 부분을 splash 안으로 넣어보시겠어요? 아래와 같이 하시면 됩니다.
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
package="com.example.twice" >
<application
android:allowBackup="true"
android:dataExtractionRules="@xml/data_extraction_rules"
android:fullBackupContent="@xml/backup_rules"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="@style/Theme.Twice"
tools:targetApi="31" >
<activity
android:name=".SplashActivity2"
android:exported="true" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
//여기서 부터
//여기까지 어떠한 내용으로 고쳐야 하나요?
<activity
android:name=".MainActivity"
android:exported="true" >
</activity>
</application>
</manifest>
굿입니당