Android: exported, AndroidManifest. xml in androidmanifest
Android: exported = "false"
The service cannot be used across processes.
Permission Denied!
Android: exported = "true"
Android: exported
This attribute indicates whether the service can be called or interacted with by other application components. If it is set to true, it can be called or interacted. Otherwise, it cannot. If it is set to false, only components of the same application or applications with the same user ID can start or bind the service.
Its default value depends on the filter contained in the service. Without a filter, the service can only be called by specifying a specific class name. This means that the service can only be used within the application (because other external users do not know the class name of the Service ), therefore, the default value of this attribute is false. On the other hand, if at least one filter is included, it means that the service can provide services to other external applications, so the default value is true.
This attribute is not the only method that limits the exposure of services to other applications. You can also use permissions to restrict external entities that can interact with the service.
In Android, when do I need to add a declaration in AndroidManifestxml?
When you have a new activity, you need to add permissions.
How to view AndroidManifestxml in Android
Recommend a tool
ApkTool
Use her to decompress the files in *. apk correctly, including AndroidManifest. xml.