javaandroidfacebooksocialauth

no package identifier when getting value for resource number 0x00000000


I am new to Android app development. I try to connect my app with facebook using SocialAuth SDK. but am getting a error as

"no package identifier when getting value for resource number 0x00000000" and thread id=1: thread exiting with uncaught exception (group=0xb2a40ba8) then it goes to FATAL EXCEPTION: main.

I have tried to clean and build the project, but nothing happens, still getting same errors.

Can anyone help me to resolve this problem.?


Solution

  • 08-04 11:28:15.642: E/AndroidRuntime(2227): android.content.res.Resources$NotFoundException: Resource ID

    You have to put Icon for facebook named facebook.png into your res (Resource) folder it's not able to find it right now that's why you are getting ResourcesNotFoundException.