inflearn logo
강의

Khóa học

Chia sẻ kiến thức

Kotlin kết thúc ở phần 3 feat. Phát triển Android

Phần 1 Ngữ Pháp Cơ Bản

run 클릭 시 에러 발생

643

joeune929849

4 câu hỏi đã được viết

0

5분 30초 정도에서 println 하는 부분에서

run을 누르니 에러가 떠서 수업을 진행하지 못하고 있습니다ㅠㅠ

 

구글링해봐도 정확한 해답을 못찾겠어서 질문 올립니다.

어떤 문제일까요??

 

> Task :app:processDebugAndroidTestManifest FAILED

C:\Users\user-pc\AndroidStudioProjects\practice\app\build\intermediates\tmp\manifest\androidTest\debug\tempFile1ProcessTestManifest12737616324960338379.xml Error:

android:exported needs to be explicitly specified for <activity>. Apps targeting Android 12 and higher are required to specify an explicit value for `android:exported` when the corresponding component has an intent filter defined. See https://developer.android.com/guide/topics/manifest/activity-element#exported for details.

C:\Users\user-pc\AndroidStudioProjects\practice\app\build\intermediates\tmp\manifest\androidTest\debug\tempFile1ProcessTestManifest12737616324960338379.xml Error:

android:exported needs to be explicitly specified for <activity>. Apps targeting Android 12 and higher are required to specify an explicit value for `android:exported` when the corresponding component has an intent filter defined. See https://developer.android.com/guide/topics/manifest/activity-element#exported for details.

C:\Users\user-pc\AndroidStudioProjects\practice\app\build\intermediates\tmp\manifest\androidTest\debug\tempFile1ProcessTestManifest12737616324960338379.xml Error:

android:exported needs to be explicitly specified for <activity>. Apps targeting Android 12 and higher are required to specify an explicit value for `android:exported` when the corresponding component has an intent filter defined. See https://developer.android.com/guide/topics/manifest/activity-element#exported for details.

 

See http://g.co/androidstudio/manifest-merger for more information about the manifest merger.

 

에러 kotlin 코틀린에러 android 코틀린실행에러

Câu trả lời 2

1

Seongtaek Heo

저도 같은 오류 떴었는데 manifests 에서 activity 안에 android:exported="false" 추가해주니까 해결됐어요!

 

<activity
android:name=".MainActivity"
android:exported="false">
<intent-filter>
<action android:name="android.intent.action.MAIN" />

<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>

0

wuman1300802

저도 같은 문제인데 andriod:exported="false"를 하면 반드시 exported 되어야 한다고 오류가 뜨네요 ㅠㅠ 해결방법이 없을까요

0

joeune929849

https://carpet-part1.tistory.com/502

이거 보고 해결했습니다!!

kafka 이벤트 발행 실패 시 at-least-once를 보장하는 방법이 궁금합니다.

1

27

1

domain에 @Entity 와 Repository를 함께 둔 이유가 궁금합니다

1

20

1

혹시 강의 내용하면서 실습했던 것을 개인 깃에다 올려도 될까요?

0

12

1

안드로이드 조직 계정 수익 인증 관련

0

30

2

아무도 모르게 책 내시면 모르실 줄 알고!!

1

40

2

Jib 이미지 빌드에서 docker credential 관련으로 이슈가 있다면

1

56

1

스크립트에 대해 질문 있습니다.

1

50

1

같은 사용자가 연속된 중복 호출할 경우 어떻게 되는지 궁금합니다!

2

51

1

AdMob 계정 승인이 1개월 이상 지연되고 있습니다. 앱 검토와 순서가 어떻게 되는 건가요

0

85

2

구글 플레이 API 업데이트 관련 문의

0

64

2

예전 로드맵과 현재 강의 순서

0

40

1

소스 코드 좀 올려주세요.

0

49

2

개념과 격벽에 대한 이해를 팀과 공유하고 합의하는 방법

1

85

2

JWT토큰 발급 시, subject 값을 다양하게 넣어서 여러 개의 토큰을 만드는 이유

0

51

2

광고 캠페인 종류와 키워드 플래너 관련 질문

0

85

2

안드로이드 기기 실행 오류

0

68

2

activity_main.xml 파일이 없어요...

0

303

1

3강에서 MainActivity.kt에서 activity_main.xml에 있는 nav_host_fragment를 가져오는게 안됩니다

0

839

1

3강에서 앱 구현할 때 활용할 이미지는 어디에서 구할 수 있을까요?

0

724

1

안녕하세요 질문있습니다 ㅠㅠ

0

364

0

nav_graph 프래그먼트 안보임

0

528

2

button 에러

1

411

1

ignoreNulls 함수

0

204

0

1편 기본 문법 47분) val 이름 mNotNull 에 대하여

0

282

0