diff options
author | Elliott Hughes <enh@google.com> | 2010-09-30 15:51:31 -0700 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2010-09-30 16:48:54 -0700 |
commit | f584b4a56e1d5b98ddd914cf5d40b7616bfa1302 (patch) | |
tree | 1e28a1c1992c2638556fc154bb8dcb72194f487c /docs | |
parent | 1e053438810dbd8406ec8339b94801195261e849 (diff) | |
download | android_dalvik-f584b4a56e1d5b98ddd914cf5d40b7616bfa1302.tar.gz android_dalvik-f584b4a56e1d5b98ddd914cf5d40b7616bfa1302.tar.bz2 android_dalvik-f584b4a56e1d5b98ddd914cf5d40b7616bfa1302.zip |
Change Runtime.nativeLoad to return the dlerror(3) string.
This has a companion change in libcore:
https://android-git.corp.google.com/g/71342
Bug: 3044042
Change-Id: I070a80a41ec2f306f5092a641807017f70179451
Diffstat (limited to 'docs')
-rw-r--r-- | docs/jni-tips.html | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/docs/jni-tips.html b/docs/jni-tips.html index 33f2c25a2..7018a1148 100644 --- a/docs/jni-tips.html +++ b/docs/jni-tips.html @@ -589,10 +589,7 @@ When working on native code it's not uncommon to see a failure like this: <p> In some cases it means what it says — the library wasn't found. In other cases the library exists but couldn't be opened by dlopen(), and -the details of the failure can be found in logcat. For example: -<pre>D/dalvikvm( 870): Trying to load lib /sdcard/libfoo.so 0x4001ff48 -I/dalvikvm( 870): Unable to dlopen(/sdcard/libfoo.so): Cannot load library: /sdcard/libfoo.so is not a valid ELF object -</pre> +the details of the failure can be found in the exception's detail message. <p> Common reasons why you might encounter "library not found" exceptions: <ul> |