run 클릭 시 에러 발생
633
4 câu hỏi đã được viết
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.
Câu trả lời 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
5
1
실무 내용 문의드려요
0
26
2
앱 초기 진입시 전면광고 관련 질문
0
53
2
원하지 않은 외국인 유입
0
78
2
페이징 처리에서 offset/limit에 대한 질문
1
59
1
안녕하세요 질문있습니다.
0
46
2
프로젝트 의존 관계
0
53
2
usecase 사용 기준
1
71
2
android crud중 c 영상이 12초만 있는 잘린 영상이에요.
0
50
2
6강에 비디오가 이상해요
0
46
2
진입 여부 판단 기준 질문
0
151
3
피그마 first draft 기능 질문
0
89
3
upup 질문
0
104
2
data.ai 필터링 검색이 안됩니다!
0
77
1
다양한 관점의 코드 경험을 위해 개선하지 않은 코드
1
75
1
앱 리텐션에 대한 질문
0
82
2
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

