티스토리 뷰
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
- 2021년 사건사고
- 미제사건
- 리사이클러뷰
- lazy init
- 대한민국 미제사건
- notifyDataSetChanged
- 애드뷰
- findViewById
- RecyclerView
- 안드로이드 어댑터
- 리스트뷰
- 안드로이드 앱 만들기
- 2007년 사건사고
- 탭레이아웃
- tabLayout
- 선형 레이아웃
- 상대적 레이아웃
- ToDo List 앱 만들기
- Bmi Calculator
- android adapter
- addView
- 자바스크립트 배열
- 2019년 사건사고
- bmi 계산기 만들기
- 안드로이드 프로젝트
- 뷰 바인딩
- 메소드 오버라이딩
- 인텐트
- view binding
- 안드로이드 스튜디오 에러
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
글 보관함