run 클릭 시 에러 발생
622
4 asked
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.
Answer 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 되어야 한다고 오류가 뜨네요 ㅠㅠ 해결방법이 없을까요
6강에 비디오가 이상해요
0
27
2
진입 여부 판단 기준 질문
0
77
3
피그마 first draft 기능 질문
0
48
3
upup 질문
0
57
2
data.ai 필터링 검색이 안됩니다!
0
47
1
다양한 관점의 코드 경험을 위해 개선하지 않은 코드
1
47
1
앱 리텐션에 대한 질문
0
49
2
저예산+최대지출 캠페인 유지시간
0
64
2
강의가 검은 화면으로 나옵니다.
0
49
1
histories() 응답에 PointHistory.id를 포함한 이유가 궁금합니다/
1
44
2
DI시 eager과 lazy
0
37
2
타입스크립트
0
46
1
actuator에서 health 외의 다른 URL은 404 Notfound 에러가 발생합니다.
0
47
2
SettlementTargetRepository Jquery 질문
1
48
2
부가 기능을 이벤트 핸들러로 분리하는 기준이 있을까요?
1
60
2
주사위앱 소개 및 레이아웃 설정 문제
0
59
2
activity_main.xml 파일이 없어요...
0
291
1
3강에서 MainActivity.kt에서 activity_main.xml에 있는 nav_host_fragment를 가져오는게 안됩니다
0
819
1
3강에서 앱 구현할 때 활용할 이미지는 어디에서 구할 수 있을까요?
0
713
1
안녕하세요 질문있습니다 ㅠㅠ
0
353
0
nav_graph 프래그먼트 안보임
0
514
2
button 에러
1
397
1
ignoreNulls 함수
0
199
0
1편 기본 문법 47분) val 이름 mNotNull 에 대하여
0
270
0

