接入facebook的SDK后配置FacebookSettings时警告OpenSSL not found.

解决方法:

1.下载并安装OpenSSL。http://slproweb.com/products/Win32OpenSSL.html

Win 32 OpenSSL v##.#.#(非轻型,大的那个)

或Win 64 OpenSSL v##.#.#(非轻型)
unity接入facebook SDK时 警告:“OpenSSL not found. Make sure that OpenSSL is installed

2.将OpenSSL目录添加到路径中。

转到:右键我的电脑>属性>高级系统设置>高级>环境变量
unity接入facebook SDK时 警告:“OpenSSL not found. Make sure that OpenSSL is installed

在“系统变量”窗口中选择变量“path”,然后单击“编辑”。

unity接入facebook SDK时 警告:“OpenSSL not found. Make sure that OpenSSL is installed

3.将OpenSSLbin文件夹的路径添加到“变量值”文本的末尾。例如,我在值文本的末尾添加了“;C:\Program Files\OpenSSL-Win64”。
我更改的第一条,更改后路径如下图。
unity接入facebook SDK时 警告:“OpenSSL not found. Make sure that OpenSSL is installed
请注意,不要忘记在C:/前面添加分号“;”。
重启电脑。

但是配置完后AndroidBuildFacebookSettings打不开,展开是空白的,而且会报错
Win32Exception: ApplicationName=‘cmd’, CommandLine=’/Cecho “xxx” | openssl
base64’, CurrentDirectory=’’
折腾了半天终于解决,我将环境变量分行列出就好了。
unity接入facebook SDK时 警告:“OpenSSL not found. Make sure that OpenSSL is installed

参考链接

相关文章:

  • 2021-12-30
  • 2021-04-06
  • 2022-12-23
  • 2022-12-23
  • 2021-09-02
  • 2021-07-13
  • 2021-05-06
猜你喜欢
  • 2021-11-28
  • 2021-09-16
  • 2021-06-11
  • 2021-06-23
  • 2021-11-01
  • 2022-12-23
  • 2021-12-11
相关资源
相似解决方案