Fixed bug 2759 - Android findLibrary() returns NULL

Sylvain

extra patch with minor modifications:
- typo
- cancel-able set to false
- add the error message, so that the user can report it.