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

Rastislav Marecek
Rastislav Marecek
15,279 Points

Google Play- No Supported Devices

Hi, I have the following permissions and features in my app:

<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.WAKE_LOCK" />
<uses-permission android:name="android.permission.VIBRATE" />
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
<uses-permission android:name="android.permission.GET_ACCOUNTS" />
<uses-permission android:name="com.google.android.c2dm.permission.RECEIVE" />

<uses-feature
    android:name="android.hardware.camera"
    android:required="true" />
<uses-feature
    android:name="android.permission.INTERNET"
    android:required="true" />
<permission
    android:name="<package name>.permission.C2D_MESSAGE"
    android:protectionLevel="signature" />
<uses-permission android:name="<package name>.permission.C2D_MESSAGE" />

There are no supported devices on Google Play. Which ones should I exclude?

Thank you.

2 Answers

Matheus G Oliveira
Matheus G Oliveira
9,682 Points

Hey Rastislav, did you try excluding the

              <uses-feature
               android:name="android.permission.INTERNET"
               android:required="true" />

?

it is already showing up there on the permissions, if it doesnt work, try changing

        <uses-feature
        android:name="android.hardware.camera"
        android:required="true" />

to

        <uses-feature
        android:name="android.hardware.camera"
        android:required="false" />

hope it helps, post here updates.

Greetings

Rastislav Marecek
Rastislav Marecek
15,279 Points

Hi, I changed both required features from true to false and all is good now.