Replacing System Webview in Android Emulator

1,849 views
Skip to first unread message

Sneha Dalvi

unread,
Apr 27, 2016, 11:01:08 AM4/27/16
to Chromium-discuss
Hi,

I am following these instructions to build a System WebView apk from chromium having some modifications.
Then, I uninstalled the System WebView from Android Lollipop 5.0 Emulator and installed the new built one.
Now, I am trying to run a test app which opens a webpage in webview. But the test app crashes giving following error:

04-18 15:58:45.325  2699  2699 I art     : Not late-enabling -Xcheck:jni (already on)
04-18 15:58:47.514  2699  2699 I WebViewFactory: Loading com.android.webview version Developer Build (code 1)
04-18 15:58:47.709  2699  2699 I cr_LibraryLoader: Time to load native libraries: 8 ms (timestamps 7251-7259)
04-18 15:58:47.711  2699  2699 I cr_LibraryLoader: Expected native library version number "48.0.2528.1", actual native library version number "48.0.2528.1"
04-18 15:58:47.887  2699  2699 V WebViewChromiumFactoryProvider: Binding Chromium to main looper Looper (main, tid 1) {36c467ed}
04-18 15:58:47.888  2699  2699 I cr_LibraryLoader: Expected native library version number "48.0.2528.1", actual native library version number "48.0.2528.1"
04-18 15:58:47.894  2699  2699 I chromium: [INFO:library_loader_hooks.cc(122)] Chromium logging enabled: level = 0, default verbosity = 0
04-18 15:58:47.917  2699  2712 I art     : Background partial concurrent mark sweep GC freed 156(14KB) AllocSpace objects, 1(16KB) LOS objects, 36% free, 909KB/1421KB, paused 5.269ms total 143.423ms
04-18 15:58:47.958  2699  2699 I cr_BrowserStartup: Initializing chromium process, singleProcess=true
04-18 15:58:47.980  2699  2699 E SysUtils: ApplicationContext is null in ApplicationStatus
04-18 15:58:48.111  2699  2699 D         : HostConnection::get() New Host Connection established 0xa7bbce10, tid 2699
04-18 15:58:48.128  2699  2699 E eglCodecCommon: glUtilsParamSize: unknow param 0x00008d57
04-18 15:58:48.662  2699  2699 W google-breakpad: ### ### ### ### ### ### ### ### ### ### ### ### ###
04-18 15:58:48.662  2699  2699 W google-breakpad: Chrome build fingerprint:
04-18 15:58:48.662  2699  2699 W google-breakpad: 1.0
04-18 15:58:48.662  2699  2699 W google-breakpad: 1
04-18 15:58:48.662  2699  2699 W google-breakpad:
04-18 15:58:48.662  2699  2699 W google-breakpad: ### ### ### ### ### ### ### ### ### ### ### ### ###

I think the highlighted part is the cause of the error, but I do not understand it.
Can somebody please explain or give some directions for this experiment?

Thanks

Torne (Richard Coles)

unread,
Apr 27, 2016, 11:59:43 AM4/27/16
to dalvi.s...@gmail.com, Chromium-discuss
Possibly the version you compiled there actually didn't work? Why are you trying to compile 48.0.2528.1? That's not a version we ever released, and it's old and insecure.

--
--
Chromium Discussion mailing list: chromium...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-discuss

Sneha Dalvi

unread,
Apr 29, 2016, 12:33:05 PM4/29/16
to Chromium-discuss, dalvi.s...@gmail.com

Thanks for your reply.
I am using the old version because we started modifying chromium code from that version.
I built webview shell from the same modified code and it works fine. 
In my original post, I missed attaching the link for the instructions. The link is https://www.chromium.org/developers/how-tos/build-instructions-android-webview

Torne (Richard Coles)

unread,
Apr 29, 2016, 1:05:45 PM4/29/16
to dalvi.s...@gmail.com, Chromium-discuss

Don't use unreleased versions as a basis for work; it looks like that version was just broken. Base things off a version we actually released to stable.

Reply all
Reply to author
Forward
0 new messages