Just bump up your min SDK level up..
<uses-sdk android:minSdkVersion="integer"
android:targetSdkVersion="integer"
android:maxSdkVersion="integer" />
On Fri, Dec 14, 2012 at 1:50 PM, Andrew Pennebaker
<[email protected]> wrote:
> Thank you, that's a good explanation. How exactly should I edit
> AndroidManifest to remove these permissions?
>
> On Dec 14, 2012 1:28 PM, "Mark Murphy" <[email protected]> wrote:
>>
>> On Fri, Dec 14, 2012 at 1:22 PM, Andrew Pennebaker
>> <[email protected]> wrote:
>> > The SDK docs say that by default, Android apps do not request any
>> > permissions. However, when I generated a Hello World app, it requires
>> > three
>> > permissions:
>> >
>> > android.permission.READ_EXTERNAL_STORAGE
>> > android.permission.READ_PHONE_STATE
>> > android.permission.WRITE_EXTERNAL_STORAGE
>> >
>> > I have not asked for any of these. They do not appear in my
>> > AndroidManifest.xml, nor do they show up when I grep my project. How are
>> > these silly permissions getting into my APK?
>>
>> Because you failed to put in a <uses-sdk> element, or you have your
>> android:minSdkVersion set very low, most likely. This is one of the
>> reasons why the Eclipse new-project wizard sets up a reasonable
>> default <uses-sdk> element.
>>
>> What you are seeing are permissions that were added after Android 1.0
>> shipped and are "grandfathered in" for apps written to support Android
>> 1.0.
>>
>> --
>> Mark Murphy (a Commons Guy)
>> http://commonsware.com | http://github.com/commonsguy
>> http://commonsware.com/blog | http://twitter.com/commonsguy
>>
>> Aqui estão alguns sites onde você pode perguntar ou responder dúvidas
>> sobre desenvolvimento de aplicações para Android:
>> http://www.andglobe.com
>>
>> --
>> You received this message because you are subscribed to the Google
>> Groups "Android Developers" group.
>> To post to this group, send email to [email protected]
>> To unsubscribe from this group, send email to
>> [email protected]
>> For more options, visit this group at
>> http://groups.google.com/group/android-developers?hl=en
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en