Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9267113
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T14:28:28+00:00 2026-06-18T14:28:28+00:00

I am developing an Android-App that uses the Facebook-SDKv3, so I created an entry

  • 0

I am developing an Android-App that uses the Facebook-SDKv3, so I created an entry in the strings.xml:

<resources>
  <string name="facebook_app_id">"12345678910"</string>
</resources>

and added the following to the Manifest:

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

I always get this Exception:

02-06 16:35:01.231: W/Bundle(8316): Key com.facebook.sdk.ApplicationId expected String but value was a java.lang.Integer. The default value was returned.

02-06 16:35:01.231: W/Bundle(8316): Attempt to cast generated internal exception:

02-06 16:35:01.231: W/Bundle(8316): java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.String

02-06 16:35:01.231: W/Bundle(8316): at android.os.Bundle.getString(Bundle.java:1061)

02-06 16:35:01.231: W/Bundle(8316): at com.facebook.internal.Utility.getMetadataApplicationId(Utility.java:159)

I already tried to put the Numbers in “” but this did not solve the Problem, hope somebody can help me.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T14:28:29+00:00Added an answer on June 18, 2026 at 2:28 pm

    Change it from android:resource to android:value

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have accomplished developing an android app that uses the facebook sdk to integrate
I'm developing an Android app that uses Osmdroid to display the maps in offline
The scenario is, i'm developing an android app that uses the internet. This is
I'm developing an android app that uses the OpenCV and Tesseract library. I only
I am currently developing an app for Android that uses the Google Maps API
I'm developing for Android and I have an app (called Forget-Me-Not) that uses a
I am developing a simple android app.In that i want to store a string
I'm developing an android app that has a lot of bitmaps that uses a
We're developing an app with some map features, with <uses-library android:name=com.google.android.maps /> in the
I am developing an android app that uses threads. Can you please tell me

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.