Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by shane_sg · Mar 01, 2018 at 01:00 PM · unityeditorfacebookkeystore

Error building player with project that includes the Facebook SDK

I'm currently trying to build my project which includes the latest version of the Facebook SDK (7.11.0). I'm trying to build just a simple project on multiple versions of unity - 5.6.1, 5.6.5 and 2017.3.1 and all of them are giving me the same issues.


On trying to build to a device I get the "Error building Player: Your Android setup is not correct. See Settings in Facebook menu.".

 Your Android setup is not correct. See Settings in Facebook menu.
 UnityEngine.Debug:LogError(Object)
 Facebook.Unity.Editor.XCodePostProcess:OnPostProcessBuild(BuildTarget, String)
 UnityEditor.BuildPlayerWindow:BuildPlayerAndRun()


It still creates an APK however when I try to put this on a device it instantly crashes with a fatal exception when trying to login using Facebook.The error is caused by:

 3-01 12:53:40.350: E/AndroidRuntime(4277): Caused by: java.lang.NoClassDefFoundError: Failed resolution of: Lcom/facebook/FacebookActivity;


If I look at the Facebook Settings menu I can't see any errors other than a warning that it's missing the android debug keystore however I know this is there as I can see it. I've tried deleting it and using Android Studio to create a new one to no avail and I've also used keytool to manually generate one - still says it's missing and it doesn't seem to matter which version of Unity. I've seen some people reference changing a CS file in the SDK to fix this but I don't seem to have the CS files in the Facebook SDK to do this.

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by leppryt · Apr 18, 2020 at 08:57 AM

Any updates on this one? TIA

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

76 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Can't get rid off the OpenSSL error in facebook settings for android! 0 Answers

Error while using Facebook sdk and google Admob ad plugin 1 Answer

Keystore not working , cant generate new keystore while alias selection on existing key is empty 2 Answers

unity ads works fine in the editor but not in android device 0 Answers

You cannot show two modal windows at once UnityEngine.GUI:ModalWindow! I do not have UnityEngine.GUI in my Assembly Browser even 2 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges