Monday, June 21, 2010

Android app requires un-needed permissions

After finishing writing Android app, during installation the application request permissions for:
* Storage
* Phone calls

However those permissions are not requested in the AndroidManifest.

Solution:
This is a backward compatibility issue with Android 1.5 or less. Just add: android:targetSdkVersion="4" to the uses-sdk tag, for example:

(you must compile the application with platform SDK 1.6 or later).

No comments: