티스토리 뷰
Setting & Error Solutions
[Error] Manifest merger failed: 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.
IT Knowledge Share 2021. 7. 20. 17:31반응형
다음의 에러 해결 방법을 알아보도록 합니다.
아래 사진과 같이 AndroidManifest.xml 파일로 이동하고, 액티비티 태그에 andorid:exported 속성 값을 true로 바꿔주면 문제가 해결됩니다. 디폴트 값은 false로 되어 있기 때문에, true로 바꿔주셔야 합니다.
반응형
<activity android:name=".MainActivity"
android:exported="true">

더욱 자세한 내용은 아래의 문서를 참고하시기 바랍니다.
https://developer.android.com/guide/topics/manifest/activity-element#exported
<액티비티> | Android 개발자 | Android Developers
Declares an activity (an Activity subclass) that implements part of the application's visual user interface. All activities must be represented by {@code } elements in the manifest file. Any that are not declared there will not be seen by the system…
developer.android.com
그럼 에러에 대한 설명을 마치겠습니다.
반응형
'Setting & Error Solutions' 카테고리의 다른 글
반응형
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- bmi 계산기 만들기
- 뷰 바인딩
- 탭레이아웃
- 리스트뷰
- 대한민국 미제사건
- findViewById
- 안드로이드 프로젝트
- 2019년 사건사고
- 안드로이드 스튜디오 에러
- view binding
- 선형 레이아웃
- RecyclerView
- 메소드 오버라이딩
- tabLayout
- 안드로이드 앱 만들기
- addView
- notifyDataSetChanged
- 2021년 사건사고
- 미제사건
- ToDo List 앱 만들기
- 자바스크립트 배열
- 인텐트
- 상대적 레이아웃
- 애드뷰
- 2007년 사건사고
- 안드로이드 어댑터
- 리사이클러뷰
- lazy init
- android adapter
- Bmi Calculator
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
글 보관함