inflearn logo
강의

강의

N
챌린지

챌린지

멘토링

멘토링

N
클립

클립

로드맵

로드맵

지식공유

코틀린 3강으로 끝내기 feat. 안드로이드 개발

1편 기본 문법

run 클릭 시 에러 발생

633

초보

작성한 질문수 4

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 코틀린실행에러

답변 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

정_

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

0

초보

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

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

install까지 설치 하였는데 start 가안됩니다.

1

21

1

앱내 광고 빈도 관련 문의사항

0

30

2

실무 내용 문의드려요

0

28

2

앱 초기 진입시 전면광고 관련 질문

0

59

2

원하지 않은 외국인 유입

0

82

2

페이징 처리에서 offset/limit에 대한 질문

1

61

1

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

0

49

2

프로젝트 의존 관계

0

53

2

usecase 사용 기준

1

73

2

android crud중 c 영상이 12초만 있는 잘린 영상이에요.

0

51

2

6강에 비디오가 이상해요

0

47

2

진입 여부 판단 기준 질문

0

154

3

피그마 first draft 기능 질문

0

91

3

upup 질문

0

109

2

data.ai 필터링 검색이 안됩니다!

0

78

1

다양한 관점의 코드 경험을 위해 개선하지 않은 코드

1

75

1

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

0

296

1

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

0

826

1

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

0

718

1

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

0

358

0

nav_graph 프래그먼트 안보임

0

520

2

button 에러

1

402

1

ignoreNulls 함수

0

201

0

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

0

272

0