Android Manifest's android:exported=“false” prevents app from running on device

前端 未结 1 1299
闹比i
闹比i 2020-12-20 00:11

Good day,

In my simple Andorid app which is really just a webview app, I added \"android:exported=\"false\" in Android Manifest to avoid the \"Exported service witho

相关标签:
1条回答
  • 2020-12-20 00:40

    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?

    0 讨论(0)
提交回复
热议问题