티스토리 뷰

반응형

다음의 에러 해결 방법을 알아보도록 합니다.

 

아래 사진과 같이 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

 

그럼 에러에 대한 설명을 마치겠습니다.

반응형
댓글