Java – No resource found matching the given name (at ‘value’, value ‘@string/facebook_app_id’ )

No resource found matching the given name (at ‘value’, value ‘@string/facebook_app_id’ )… here is a solution to the problem.

No resource found matching the given name (at ‘value’, value ‘@string/facebook_app_id’ )

I’m trying to add facebook to my app, and I’m following exactly the steps they told me (I’m doing Eclipse setup):

https://developers.facebook.com/docs/android/getting-started?locale=es_LA#eclipse

But I get an error on this line in my AndroidManifest.xml:

<meta-data android:value="@string/facebook_app_id" android:name="com.facebook.sdk.ApplicationId"/>

Error

says: Error: No resource found matching the given name (at Value, the value is “@string/facebook_app_id”).

Solution

Add this line (between resource tags) in values/string.xml

<string name="facebook_app_id">Facebook</string>

Related Problems and Solutions