简体   繁体   中英

Unity Facebook SDK v 7.7 and Google Play Services

BS: I am specifically talking about facebook-unity-sdk-7.7.0 not v 7.3.0 I am using facebook-unity-sdk-7.7.0 and GooglePlayGamesPlugin-0.9.32 in my project. It does not let me build for android and fails with error Unable to convert classes into dex format. See the Console for details. Unable to convert classes into dex format. See the Console for details. . In Facebook SDK 7.3.0 it works by deleting android support v4, but in 7.7 the same thing does not work.

I had the same problem and this was the way I solved it: Delete the following files from the folder: \\ Assets \\ FacebookSDK \\ Plugins \\ Android \\ libs:

  • support-annotations-23.4.0.jar
  • support-annotations-23.4.0.meta
  • support-v4-23.4.0.aar
  • support-v4-23.4.0.meta

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM