run 클릭 시 에러 발생
685
投稿した質問数 4
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.
回答 2
1
저도 같은 오류 떴었는데 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
13
1
유럽지역 앱 출시 시 판매자 전환, 어떻게 하면 좋을까요?
0
43
1
트러블슈팅 케이스 스터디 - P 대형 커머스
0
51
2
강의 내용 질문 `[실습] MDC·UTM·세션ID로 "돈 버는 로거" 만들기`
0
52
1
다계정 관련
0
68
1
강의 소스코드는 어디서 다운받을 수 있나요?
1
73
2
다작 시 firebase 설정
0
107
2
Jib 빌드가 83%에서 멈추는 문제 해결(windows 사용자)
1
77
1
미션 제출 방식 건의
0
63
0
트랜잭션 내 Redis I/O 에 대한 궁금한점
1
69
1
미션 진행 방식에 대한 질문입니다.
0
77
1
파킹 페이지와 대기열 큐 질문입니다.
1
75
1
소리
0
71
1
조회 메서드에서 @Transactional(readOnly=true) 질문
1
76
1
"폴더를 찾을 수 없습니다." 라는 응답만 계속 나옵니다.
0
83
1
해당 결제 부분을 포폴에서 테스트 api를 적용에 대한 궁금증
1
74
1
activity_main.xml 파일이 없어요...
0
324
1
3강에서 MainActivity.kt에서 activity_main.xml에 있는 nav_host_fragment를 가져오는게 안됩니다
0
869
1
3강에서 앱 구현할 때 활용할 이미지는 어디에서 구할 수 있을까요?
0
751
1
안녕하세요 질문있습니다 ㅠㅠ
0
386
0
nav_graph 프래그먼트 안보임
0
557
2
button 에러
1
436
1
ignoreNulls 함수
0
212
0
1편 기본 문법 47분) val 이름 mNotNull 에 대하여
0
298
0

