The YouTube network problem on Android [solution]

The following solution is for those having a working internet connection; but, popping up YouTube gives you this mean error message: ‘There was a problem connecting to the network – try again’.

Problem OS: Some flavors of Froyo and Gingerbread (including the latest ICS look and feel ROM)

This is a simple case of a bad network entry in the phone’s hosts file.

YouTube app problem in Android


  1. Use Root Explorer and navigate to /system/etc
  2. Make a backup of the hosts file
  3. Open the hosts file using a text editor (from phone or computer) and delete ALL entries for #youtube
  4. Save the file and move it back to the path mentioned in point 1
  5. Permissions for this file: rw-r–r–

Now open the YouTube app. It should work!

Naren Ubi

Blogger, photographer, WordPress and mobile tech enthusiast. Follow me on Twitter @ubiquitense | Like my Facebook Page

10 Responses

  1. yy says:

    I had this problem and I was looking for a solution for long time. Now Youtube works! You are great!!! Thanks a lot!!!

  2. alan says:

    thanks ! great !

    I didn’t find a solution until I came here

    N.B. : you need root explorer, a paid app (or you search a crack version on internet)

  3. rnghk says:


    You are great. It helps me to solve this problem.

    Thank you very much.

  4. Thank you so much! You saved my life! Really worked!!! :D

  5. when i open ”hosts” I only have “ localhost

  6. nancy mcdonald says:

    God I wish I understood tech speak….it seems that this is the solution but I have no idea how to follow your instructions…feeling like Charlie brown here

%d bloggers like this: