2017-02-16 126 views
0

我已经安装在iMac OpenSSL 1.1.0d版本中,但是当我从Android Studio构建签名APK时,此APK使用OpenSSL版本1.0.1h进行签名。OpenSSL版本apk

在终端控制台我运行命令openssl version -a,结果如下:

OpenSSL 1.1.0d 26 Jan 2017 
built on: reproducible build, date unspecified 
platform: darwin64-x86_64-cc 
compiler: cc -DDSO_DLFCN -DHAVE_DLFCN_H -DNDEBUG -DOPENSSL_THREADS -DOPENSSL_NO_STATIC_ENGINE 
-DOPENSSL_PIC -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 
-DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DRC4_ASM -DMD5_ASM -DAES_ASM 
-DVPAES_ASM -DBSAES_ASM -DGHASH_ASM -DECP_NISTZ256_ASM -DPADLOCK_ASM -DPOLY1305_ASM 
-DOPENSSLDIR="\"/usr/local/Cellar/openssl/openssl-1.1.0d/ssl\"" -DENGINESDIR="\"/usr/local/ 
Cellar/openssl/openssl-1.1.0d/lib/engines-1.1\"" 
OPENSSLDIR: "/usr/local/Cellar/openssl/openssl-1.1.0d/ssl" 
ENGINESDIR: "/usr/local/Cellar/openssl/openssl-1.1.0d/lib/engines-1.1" 

我不明白为什么Android Studio中使用OpenSSL的为1.0.1h版本而不是1.1.0.d

APK签署

有人知道,因为这发生?

谢谢

+0

另请参阅[Google Play和OpenSSL警告消息](http://stackoverflow.com/q/24197777),[Android Google Play旧版OpenSSL警告](http: (http://stackoverflow.com/q/36397094/608639),[Google Play警告和“X509TrustManager的不安全实现”](http://stackoverflow.com/q/35604684/608639),[如何grep或搜索.jar文件对于OpenSSL?](http://stackoverflow.com/q/36213149)和[如何确定哪些依赖性导致Google Play OpenSSL警告?](http://stackoverflow.com/q/38187257)。 – jww

回答

0

我想出了这个问题。 MetaIO SDK 6是个问题。 MetaIO使用OpenSSL 1.0.1h,因此,使用此OpenSSL版本生成apk。

没有解决方案,因为MetaIO已经停产并且没有新的版本在市场上。解决方案迁移到wikitude或vuforia SDK ...