AndroidManifest.xml: Exported service does not require permission

Asked on July 20, 2015
My AndroidManifest.xml is as follows.

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android=""
    android:versionName="1.0" >
    <uses-sdk android:minSdkVersion="11" android:targetSdkVersion="20" />
        android:allowBackup = "true"
        android:label="@string/app_name" >
        <activity android:name=".MainActivity">
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.LAUNCHER" />
        <service android:name=".MyService" android:process=":remote">
                <action android:name="service.MyApp" />

I am getting warning in service tag as 

Exported service does not require permission

How to resolve it.

Replied on July 26, 2015
We can resolve warning "Exported service does not require permission" adding android:exported="false" in service tag.

<service android:name="com.concretepage.CalService" android:process=":remote" android:exported="false">

But then remote process will not be able to access the this process.

Write Answer

©2023 | Privacy Policy | Contact Us