Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Android

Tyler Cassity
Tyler Cassity
4,873 Points

Play store asking for permissions, but manifest doesn't require any.

Hello,

I have a question that i cant seem to find an answer to. I have made a simple app for android, and have published it on the play store. In eclipse, it says there are no required permissions... but when downloading it from the play store it has a couple permissions needing to be approved. Any help will be appreciated! I will add links to screenshots of both the manifest, and the download prompt from the play store! http://imgur.com/WyOJpIV http://imgur.com/57Vt7aq

3 Answers

Ben Jakuben
STAFF
Ben Jakuben
Treehouse Teacher

Can you paste in the XML code from the AndroidManifest.xml tab?

Tyler Cassity
Tyler Cassity
4,873 Points

<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.sgtbears.pokemonweakness" android:versionCode="6" android:versionName="1.2.1" >

<application
    android:icon="@drawable/ic_launcher"
    android:label="@string/app_name"
    android:theme="@style/AppTheme" >
    <activity
        android:name=".MainActivity"
        android:theme="@android:style/Theme.NoTitleBar" >
        <intent-filter>
            <action android:name="android.intent.action.MAIN" />

            <category android:name="android.intent.category.LAUNCHER" />
        </intent-filter>
    </activity>
</application>

</manifest>

Ben Jakuben
STAFF
Ben Jakuben
Treehouse Teacher

Based on your manifest, it doesn't seem like your app should be triggering those permissions. If you'd like, zip up your project and email it to help@teamtreehouse.com and I can take a look to see what else might be causing this.