Home  >  Forum  >  Android
Post New Query

AndroidManifest.xml: Exported service does not require permission

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

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/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.
joined on
November 09,2013
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

Copyright ©2017 concretepage.com, all rights reserved |Privacy Policy | Contact Us