Changes between Version 41 and Version 42 of Getting-Started/Android


Ignore:
Timestamp:
Mar 9, 2015 6:14:08 AM (9 years ago)
Author:
nanang
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Getting-Started/Android

    v41 v42  
    221221 
    222222 
     223=== !UnsatisfiedLinkError exception with "cannot locate 'rand'" message === #failloadlib 
     224 
     225This may occur when running pjsua2 sample app: 
     226{{{ 
     227Exception Ljava/lang/UnsatisfiedLinkError; thrown while initializing Lorg/pjsip/pjsua2/app/MyApp; 
     228... 
     229java.lang.UnsatisfiedLinkError: Cannot load library: reloc_library[1285]:    37 cannot locate 'rand'... 
     230}}} 
     231 
     232As described [http://stackoverflow.com/questions/27338318/cannot-load-library-reloc-library1285-cannot-locate-rand here], this happens if you've built your native components with the android-21 target, but are trying to run it on a device with an older Android version, so re-run configure with APP_PLATFORM set to lower platform version, e.g: 
     233{{{ 
     234APP_PLATFORM=android-19 ./configure-android 
     235}}} 
     236 
     237 
    223238== Other Android projects == 
    224239