简体   繁体   English

Unity Facebook SDK v 7.7和Google Play服务

[英]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. BS:我专门谈论的不是facebook-unity-sdk-7.7.0 v 7.3.0, GooglePlayGamesPlugin-0.9.32在我的项目中使用facebook-unity-sdk-7.7.0GooglePlayGamesPlugin-0.9.32 It does not let me build for android and fails with error Unable to convert classes into dex format. See the Console for details. 它不允许我为android构建,并且失败并显示错误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. 在Facebook SDK 7.3.0中,它可以通过删除android support v4来工作,但在7.7中,这是不起作用的。

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: 我遇到了同样的问题,这就是解决问题的方法:从文件夹中删除以下文件:\\ Assets \\ FacebookSDK \\ Plugins \\ Android \\ libs:

  • support-annotations-23.4.0.jar 支持的注解,23.4.0.jar
  • support-annotations-23.4.0.meta 支持的注解,23.4.0.meta
  • support-v4-23.4.0.aar 支持-v4-23.4.0.aar
  • support-v4-23.4.0.meta 支持-v4-23.4.0.meta

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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