inflearn logo
강의

강의

N
챌린지

챌린지

멘토링

멘토링

N
클립

클립

로드맵

로드맵

지식공유

묻고 답해요

174만명의 커뮤니티!! 함께 토론해봐요.

SplashActivity 관련 질문입니다.

미해결

[왕초보편] 앱 8개를 만들면서 배우는 안드로이드 코틀린(Android Kotlin)

길게 썼었는데 인프런 게시판이 이상한지 다 날라갔네요 ㅠㅠ 1. 현재 트와이스 앱만들기 1강을 듣고 있습니다. 2. 궁금한점은 SplashActivity 활성화가 안되어서 이구요. 3. 강의와 달리 제 Manifest.xml 파일은 기본완성되어 있는 내용이 조금 달랐습니다. <? xml version ="1.0" encoding ="utf-8" ?> <manifest xmlns: android ="http://schemas.android.com/apk/res/android" package ="com.bikmim.twice" > <application android :allowBackup ="true" android :icon ="@mipmap/ic_launcher" android :label ="@string/app_name" android :roundIcon ="@mipmap/ic_launcher_round" android :supportsRtl ="true" android :theme ="@style/Theme.Twice" > <activity android :name =".SplashActivity" android :exported ="true" /> <activity android :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> 저는 처음에 이렇게 되어 있었구요. android:exported="true" /> 이 부분뒤에 <? xml version ="1.0" encoding ="utf-8" ?> <manifest xmlns: android ="http://schemas.android.com/apk/res/android" package ="com.bikmim.twice" > <application android :allowBackup ="true" android :icon ="@mipmap/ic_launcher" android :label ="@string/app_name" android :roundIcon ="@mipmap/ic_launcher_round" android :supportsRtl ="true" android :theme ="@style/Theme.Twice" > <activity android :name =".SplashActivity" android :exported ="true" /> <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> 이렇게 잘라서 넣었는데요 ERROR:D:\Android-Studio-Works\Twice\app\build\intermediates\packaged_manifests\debug\AndroidManifest.xml:26: AAPT: error: unexpected element <intent-filter> found in <manifest><application>. 이런 에러 메세지가 떴습니다. 강의에서 나오는 것처럼 토씨하나 안들리게 눈으로 보면서 exported 부분 제거하고 <activity ~~~ </activity> 이런거 다시 다 손으로 치고 하면서 한글자 한글자 수정하면 동작은 하던데요. 뭔가 버전이 달라서 그런가.. 매번 이렇게 수정해줘야 하나요? 현재 윈도우 10, 안드로이드 스튜디오 최신버전 사용하고 있습니다.

  • SplashActivity
  • android
  • firebase
  • kotlin
BIKMIM 댓글 2 좋아요 0 조회수 1360

인기 태그

인프런 TOP Writers

주간 인기글