mogoweb/chromium_webview

Pulled Latest Code, Get Error: UnsatisfiedLinkError: Native method not found

Closed this issue · 5 comments

I have pulled the latest code but my app crashes immediately with:

10-16 12:03:39.293: E/AndroidRuntime(19977): Caused by: java.lang.UnsatisfiedLinkError: Native method not found: org.chromium.android_webview.AwSettings.nativeGetDefaultUserAgent:()Ljava/lang/String;
10-16 12:03:39.293: E/AndroidRuntime(19977):    at org.chromium.android_webview.AwSettings.nativeGetDefaultUserAgent(Native Method)
10-16 12:03:39.293: E/AndroidRuntime(19977):    at org.chromium.android_webview.AwSettings.access$0(AwSettings.java:1379)
10-16 12:03:39.293: E/AndroidRuntime(19977):    at org.chromium.android_webview.AwSettings$LazyDefaultUserAgent.<clinit>(AwSettings.java:103)

Did you refresh project and rebuild ChromiumWebView?

i am also getting same error with latest code. as you suggested i refresh it and rebuild the project but no use. please suggest

same here

Hello ,

I download source code of MojoBrowser and it's library both imported in ADT successfully ,But when i run application in android Emulator having ARM-v7 it give me below Crash log:

03-26 05:50:37.788: D/WebViewTimersControl(1283): onBrowserActivityResume
03-26 05:50:37.788: D/WebViewTimersControl(1283): Resuming webview timers, view=com.mogoweb.browser.BrowserWebView{b4d1bff0 VFEDHVCL .F....I. 0,0-0,0}
03-26 05:50:37.848: A/chromium(1283): [FATAL:resource_bundle.cc(341)] Check failed: !data_packs_.empty(). Missing call to SetResourcesDataDLL?
03-26 05:50:37.848: A/chromium(1283): #00 0xaa8d87fd /data/app-lib/com.mogoweb.browser-1/libstandalonelibwebviewchromium.so+0x0021b7fd
03-26 05:50:37.848: A/chromium(1283): #1 0xaaccc7c3 /data/app-lib/com.mogoweb.browser-1/libstandalonelibwebviewchromium.so+0x0060f7c3
03-26 05:50:37.848: A/chromium(1283): #2 0xaaccc8e5 /data/app-lib/com.mogoweb.browser-1/libstandalonelibwebviewchromium.so+0x0060f8e5
03-26 05:50:37.848: A/chromium(1283): #3 0xab8e0edd /data/app-lib/com.mogoweb.browser-1/libstandalonelibwebviewchromium.so+0x01223edd
03-26 05:50:37.848: A/chromium(1283): #4 0xab9f99d9 /data/app-lib/com.mogoweb.browser-1/libstandalonelibwebviewchromium.so+0x0133c9d9
03-26 05:50:37.848: A/chromium(1283): #5 0xab9f7579 /data/app-lib/com.mogoweb.browser-1/libstandalonelibwebviewchromium.so+0x0133a579
03-26 05:50:37.848: A/chromium(1283): #6 0xab9f7793 /data/app-lib/com.mogoweb.browser-1/libstandalonelibwebviewchromium.so+0x0133a793
03-26 05:50:37.848: A/chromium(1283): #7 0xab8e9791 /data/app-lib/com.mogoweb.browser-1/libstandalonelibwebviewchromium.so+0x0122c791
03-26 05:50:37.848: A/chromium(1283): #8 0xab8eec1d /data/app-lib/com.mogoweb.browser-1/libstandalonelibwebviewchromium.so+0x01231c1d
03-26 05:50:37.848: A/chromium(1283): #9 0xab8eeccd /data/app-lib/com.mogoweb.browser-1/libstandalonelibwebviewchromium.so+0x01231ccd
03-26 05:50:37.848: A/chromium(1283): #10 0xb5a71bcf /system/lib/libdvm.so+0x0001dbcf
03-26 05:50:37.848: A/chromium(1283): #11 0xb5aa1f01 /system/lib/libdvm.so+0x0004df01
03-26 05:50:37.848: A/chromium(1283): #12 0xb5a8c73f /system/lib/libdvm.so+0x0003873f
03-26 05:50:37.848: A/chromium(1283): #13 0xb5a7afe3 /system/lib/libdvm.so+0x00026fe3
03-26 05:50:37.848: A/chromium(1283): #14 0xb5a81f37 /system/lib/libdvm.so+0x0002df37
03-26 05:50:37.848: A/chromium(1283): #15 0xb5a7f5cf /system/lib/libdvm.so+0x0002b5cf
03-26 05:50:37.848: A/chromium(1283): #16 0xb5ab45ff /system/lib/libdvm.so+0x000605ff
03-26 05:50:37.848: A/chromium(1283): #17 0xb5abc4c9 /system/lib/libdvm.so+0x000684c9
03-26 05:50:37.848: A/chromium(1283): #18 0xb5a7afe3 /system/lib/libdvm.so+0x00026fe3
03-26 05:50:37.848: A/chromium(1283): #19 0xb5a81f37 /system/lib/libdvm.so+0x0002df37
03-26 05:50:37.848: A/chromium(1283): #20 0xb5a7f5cf /system/lib/libdvm.so+0x0002b5cf
03-26 05:50:37.848: A/chromium(1283): #21 0xb5ab431b /system/lib/libdvm.so+0x0006031b
03-26 05:50:37.848: A/chromium(1283): #22 0xb5a9db51 /system/lib/libdvm.so+0x00049b51
03-26 05:50:37.848: A/chromium(1283): #23 0xb5a90d05 /system/lib/libdvm.so+0x0003cd05
03-26 05:50:37.848: A/chromium(1283): #24 0xb6dfeddf /system/lib/libandroid_runtime.so+0x0004cddf
03-26 05:50:37.848: A/chromium(1283): #25 0xb6dffad9 /system/lib/libandroid_runtime.so+0x0004dad9
03-26 05:50:37.848: A/chromium(1283): #26 0xb6f5005d /system/bin/app_process+0x0000105d
03-26 05:50:37.848: A/chromium(1283): #27 0xb6edd23b /system/lib/libc.so+0x0000e23b
03-26 05:50:37.848: A/libc(1283): Fatal signal 6 (SIGABRT) at 0x00000503 (code=-6), thread 1283 (mogoweb.browser)

You should use testshell project.

please pull the latest code.