getting boringssl error in android 6.0

1,596 views
Skip to first unread message

Rohit Singh

unread,
Jul 6, 2016, 8:19:44 PM7/6/16
to javacpp
OpenSSLLib: OpensslErr:Module:12(116:176); file:external/boringssl/src/crypto/asn1/asn1_lib.c ;Line:186;Function:ASN1_get_object

Samuel Audet

unread,
Jul 9, 2016, 8:39:06 AM7/9/16
to javacpp...@googlegroups.com
On 07/06/2016 11:48 PM, Rohit Singh wrote:
> OpenSSLLib: OpensslErr:Module:12(116:176); file:external/boringssl/src/crypto/asn1/asn1_lib.c ;Line:186;Function:ASN1_get_object

Are you using JavaCPP 1.2.1 (or 1.2.2)? If not, please upgrade:
https://github.com/bytedeco/javacv/issues/412

Samuel

Денис Дмитриенко

unread,
May 14, 2019, 5:10:13 AM5/14/19
to javacpp


суббота, 9 июля 2016 г., 15:39:06 UTC+3 пользователь Samuel Audet написал:
I caught the same error. I have added this line to my build.gradle and synced it:
    implementation "org.bytedeco:javacpp-presets:1.5"
but still get the error:
   D/OpenSSLLib: OpensslErr:Module:12(116:176); file:external/boringssl/src/crypto/asn1/asn1_lib.c ;Line:186;Function:ASN1_get_object 

Denis

Samuel Audet

unread,
May 14, 2019, 5:12:34 AM5/14/19
to javacpp...@googlegroups.com, Денис Дмитриенко
That dependency won't do anything, you need to add this line:
implementation "org.bytedeco:javacv-platform:1.5"
Message has been deleted

Денис Дмитриенко

unread,
May 15, 2019, 9:01:20 AM5/15/19
to javacpp
Unfortunately adding this line significantly increases project size, 
producing compiled debug APK about ~450 Mb so that it cannot be 
installed to mobile device due to lack of free space.

I guess I need to include only "Module 12" (as it is mentioned in error message)
Could you please give me the name of corresponding part of "org.bytedeco:javacv-platform:1.5"?

Thank you in advance!


вторник, 14 мая 2019 г., 12:12:34 UTC+3 пользователь Samuel Audet написал:

Samuel Audet

unread,
May 15, 2019, 9:05:09 AM5/15/19
to javacpp...@googlegroups.com
To reduce the size, we can exclude all unneeded artifacts, including all
binaries for all platforms that are not Android. Here is an example:
http://deeplearning4j.org/android
I don't know what "Module 12" refers to. It's not something from JavaCPP
or JavaCV.

Samuel
Reply all
Reply to author
Forward
0 new messages