MWM-for-Android icon indicating copy to clipboard operation
MWM-for-Android copied to clipboard

Permissions

Open sdemills opened this issue 12 years ago • 2 comments

This is a request for help rather than a fault...

From the Manifest, the following permissions...

    <uses-permission android:name="android.permission.ACCOUNT_MANAGER" />
<uses-permission android:name="android.permission.CALL_PRIVILEGED" />
<uses-permission android:name="android.permission.MODIFY_PHONE_STATE" />

Eclipse won't compile this for me because it errors those permissions saying that they are only granted to System Apps.

For now, I have commented them out.

What needs to be done to get Eclipse to accept these permissions?

Cheers Steve

sdemills avatar Jan 30 '13 08:01 sdemills

You could try targeting an older Android version - it's possible your environment has automatically targeted the later one (or you haven't downloaded the sdk data for the version that the project is set to target)

benjymous avatar Jan 30 '13 13:01 benjymous

Hi Richard. Thanks for the reply.

Which do you target? The project properties says Android 4.2 API Level 17 which matches the targetSdkVersion given in the manifest.

Steve.

sdemills avatar Jan 30 '13 14:01 sdemills