android2019. 8. 1. 09:59

AndroidManifest에 서비스를 등록하면 exported 라는 속성을 지정할 수 있다.

default 값은 true이며, 이는 다른 앱이나 시스템에서 해당 서비스를 access 할 수 있음을 의미.

해당 값이 false일 경우, 오로지 앱내부에서만 실행 가능함.

 

 

The "exported" attribute describes whether or not someone else can be allowed to use it.

So if you have "exported=false" on an Activity, no other app, or even the Android system itself, can launch it. Only you can do that, from inside your own application.

So settings "exported=false" on the Activity marked as the LAUNCHER Activity would basically tell the system that it cant launch your application, ever.

As for the error you mentioned, i don't see any services in your manifest? Where is that warning shown for you?

 

출처 : 

https://stackoverflow.com/questions/49471423/android-manifests-androidexported-false-prevents-app-from-running-on-device

Posted by easy16