Changes between Version 58 and Version 59 of Getting-Started/Android


Ignore:
Timestamp:
Oct 14, 2015 2:19:09 PM (9 years ago)
Author:
riza
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Getting-Started/Android

    v58 v59  
    261261make 
    262262 }}} 
    263  Then copy the libraries into libs folder: 
    264  {{{ 
    265 mkdir libs 
    266 cp lib*.a libs/ 
     263 Then copy the libraries into lib folder: 
     264 {{{ 
     265mkdir lib 
     266cp lib*.a lib/ 
    267267 }}} 
    268268 1. Specify OpenSSL location when running {{{configure-android}}}, for example (with Bash): (change the openssl path folder) 
     
    293293 }}} 
    294294 
     295=== Issue with using OpenSSL on Android M === 
     296 
     297As reported [https://plus.google.com/+AndroidDevelopers/posts/bLqbRJ5o5id here], Google has moved from OpenSSL to BoringSSL, and hence app that links against platform libraries (such as libcrypto.so) will likely break. 
     298On Android M, you might get error like this: 
     299{{{ 
     300java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "OPENSSL_add_all_algorithms_noconf" referenced by "/data/app/someapp/lib/arm/libMyAppApp-arm-android-eabi.so" 
     301}}} 
     302The solution would be to include the OpenSSL library in your project/APK. 
     303 
    295304== Important Issue(s) when Developing Android Apps == #issues 
    296305