Home  >  Forum  >  Android
Post New Query

Android: java.lang.SecurityException: Not allowed to bind to service Intent


joined on
November 18,2013
Asked on July 26,2015
I am creating a AIDL application, but getting error as follows.

07-20 05:00:57.710: E/AndroidRuntime(925): Caused by: java.lang.SecurityException: Not allowed to bind to service Intent { act=app.myapp }
07-20 05:00:57.710: E/AndroidRuntime(925):     at android.app.ContextImpl.bindServiceCommon(ContextImpl.java:1597)
07-20 05:00:57.710: E/AndroidRuntime(925):     at android.app.ContextImpl.bindService(ContextImpl.java:1561)
07-20 05:00:57.710: E/AndroidRuntime(925):     at android.content.ContextWrapper.bindService(ContextWrapper.java:517)

joined on
November 09,2013
Replied on July 26,2015

1. Check if you have action tag with the name "app.myapp" in service tag in AndroidManifest.xml file.
        <service android:name="<your-service-class>" android:process=":remote">
            <intent-filter>
                <action android:name="app.myapp"/>
            </intent-filter>
        </service>

2.  If step one is fine, you should check by uninstalling the application completely and then re-install.

Write Answer



Sitewide-Feb4of4234x60





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