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?
출처 :
'android' 카테고리의 다른 글
application 에서 별도의 process로 service 실행. (0) | 2019.08.29 |
---|---|
Android audio tutorial (link) (0) | 2019.08.27 |
BroadcastQueue: Background execution not allowed: receiving Intent (0) | 2019.07.30 |
broadcast monitor (history 보기) (0) | 2019.07.15 |
No Jack server running. Try 'jack-admin start-server' 대처 (0) | 2019.07.03 |