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 trialWill Schwarz
2,795 PointsPermission Denied: Missing Internet Permission
I'm still running into an Internet Permission issue, my network status permission works, but for whatever reason I still don't have the Internet permission
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.schwarzrules.blogreader" >
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
<application
android:allowBackup="true"
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:theme="@style/AppTheme" >
<activity
android:name=".MainListActivity"
android:label="@string/app_name" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
</application>
</manifest>
Will Schwarz
2,795 PointsYes, I'm using a Nexus 5 through Genymotion. It's not connected to broadband but is showing a wifi connection, does that require a separate permission? Hadn't even thought to use my phone to troubleshoot.
2 Answers
Justin Horner
Treehouse Guest TeacherHello Will,
Since you're using the emulator for testing, I would start diagnosing the issue by completely restarting the emulator to make sure the new Internet permission is being applied.
I hope this helps. If you still have the issue let me know and we'll try something else :)
Will Schwarz
2,795 PointsJustin, that did the trick! Simple troubleshoot that I didn't even think of.
Justin Horner
Treehouse Guest TeacherAwesome! I'm glad to hear that worked for you. Happy coding :)
Justin Horner
Treehouse Guest TeacherJustin Horner
Treehouse Guest TeacherHello Will,
Are you using an emulator for testing?