Hi Please don't paste big attachment in next time, this email always cause my outlook hangs…
I used the same version and run a test in X86_64 device, everything works well. Are your using Android Studio? If yes, I think you should use crosswalk-20.50.533.12-64bit.zip instead of crosswalk-webview-20.50.533.12-x86_64.zip. In addition, please refer to the sample here https://crosswalk-project.org/apis/embeddingapidocs_v7/org/xwalk/core/XWalkView.html Best Regards ☺ Xiaofeng Zhang From: Ghous Khan [mailto:[email protected]] Sent: Wednesday, September 7, 2016 9:28 PM To: Zhang, Xiaofeng <[email protected]> Cc: [email protected]; Michael Trim <[email protected]> Subject: Re: [Crosswalk-help] X86_64 Support : lib/x86_64/libxwalkcore.so': couldn't get XW_Initialize function. [https://ssl.gstatic.com/docs/doclist/images/icon_10_generic_list.png] XView2.zip<https://drive.google.com/file/d/0B0b50W-yheojdWJOYTN2X3dRYzA/view?usp=drive_web>[X] Hi, I have attached a compressed version of the sample project, that I am using; This is shared on the Google Drive as it is larger than the gmail attachment limit; On running this I get a blank (white) screen, instead of the expected webpage in this case http://www.google.com We require to display a 3D WebGL page here, but that can be exercised once a basic version is working. The issues encountered can be seen in the log, when run in Android Studio (This is a gradle based Android Studio project) Please see if you can reproduce it, and if you have any suggestion. Many Thanks Ghous On 7 September 2016 at 14:02, Ghous Khan <[email protected]<mailto:[email protected]>> wrote: Hi The native libraries for x86_64 came from the version crosswalk-webview-20.50.533.12-x86_64 I wonder if the numbers in the naming convention, translate into a version number for you? Kind Regards Ghous On 7 September 2016 at 03:06, Zhang, Xiaofeng <[email protected]<mailto:[email protected]>> wrote: Hi, Khan Thanks for using Crosswalk. Which xwalk version you are using? Best Regards ☺ Xiaofeng Zhang From: Crosswalk-help [mailto:[email protected]<mailto:[email protected]>] On Behalf Of Ghous Khan Sent: Tuesday, September 6, 2016 6:32 PM To: [email protected]<mailto:[email protected]> Cc: Michael Trim <[email protected]<mailto:[email protected]>> Subject: [Crosswalk-help] X86_64 Support : lib/x86_64/libxwalkcore.so': couldn't get XW_Initialize function. Hi, I am using the standard XWebview sample and when I run it with armeabi-V7a, and install on a mobile it works fine and loads a simple google.com<http://google.com> page and also for a webGL model. However if I use x86_64 native libs on the same project and install it on an x86_64 system I get the following error when the XWebview is loaded. Could you please assist us in solving this issue. We wish to use the Crosswalk to load a 3D WebGL model in the XWebView. 09-06 10:37:13.166 28771-28771/com.example.ghouskhan.xview2 W/art: Before Android 4.1, method android.graphics.PorterDuffColorFilter android.support.graphics.drawable.VectorDrawableCompat.updateTintFilter(android.graphics.PorterDuffColorFilter, android.content.res.ColorStateList, android.graphics.PorterDuff$Mode) would have incorrectly overridden the package-private method in android.graphics.drawable.Drawable 09-06 10:37:13.213 28771-28771/com.example.ghouskhan.xview2 D/XWalkLib: Init embedded mode 09-06 10:37:13.213 28771-28771/com.example.ghouskhan.xview2 D/XWalkLib: [App Version] build:20.50.533.12, api:7, min_api:7 09-06 10:37:13.213 28771-28771/com.example.ghouskhan.xview2 D/XWalkLib: [Lib Version] build:20.50.533.12, api:7, min_api:5 09-06 10:37:13.213 28771-28771/com.example.ghouskhan.xview2 D/XWalkLib: Crosswalk download mode: false 09-06 10:37:13.213 28771-28771/com.example.ghouskhan.xview2 D/XWalkLib: XWalk core version matched 09-06 10:37:13.222 28771-28771/com.example.ghouskhan.xview2 I/cr_LibraryLoader: Time to load native libraries: 0 ms (timestamps 1906-1906) 09-06 10:37:13.222 28771-28771/com.example.ghouskhan.xview2 I/cr_LibraryLoader: Expected native library version number "", actual native library version number "" 09-06 10:37:13.222 28771-28771/com.example.ghouskhan.xview2 D/XWalkLib: Native library is built for IA 09-06 10:37:13.222 28771-28771/com.example.ghouskhan.xview2 D/XWalkLib: XWalk core architecture matched 09-06 10:37:13.222 28771-28771/com.example.ghouskhan.xview2 D/XWalkLib: Running in embedded mode 09-06 10:37:13.222 28771-28771/com.example.ghouskhan.xview2 D/XWalkLib: Init core bridge 09-06 10:37:13.224 28771-28771/com.example.ghouskhan.xview2 W/XWalkInternalResources: org.xwalk.core.R$styleableis not found. 09-06 10:37:13.224 28771-28771/com.example.ghouskhan.xview2 W/XWalkInternalResources: org.xwalk.core.R$styleis not found. 09-06 10:37:13.224 28771-28771/com.example.ghouskhan.xview2 W/XWalkInternalResources: org.xwalk.core.R$stringis not found. 09-06 10:37:13.224 28771-28771/com.example.ghouskhan.xview2 W/XWalkInternalResources: org.xwalk.core.R$rawis not found. 09-06 10:37:13.224 28771-28771/com.example.ghouskhan.xview2 W/XWalkInternalResources: org.xwalk.core.R$menuis not found. 09-06 10:37:13.225 28771-28771/com.example.ghouskhan.xview2 W/XWalkInternalResources: org.xwalk.core.R$layoutis not found. 09-06 10:37:13.225 28771-28771/com.example.ghouskhan.xview2 W/XWalkInternalResources: org.xwalk.core.R$idis not found. 09-06 10:37:13.225 28771-28771/com.example.ghouskhan.xview2 W/XWalkInternalResources: org.xwalk.core.R$drawableis not found. 09-06 10:37:13.225 28771-28771/com.example.ghouskhan.xview2 W/XWalkInternalResources: org.xwalk.core.R$dimenis not found. 09-06 10:37:13.225 28771-28771/com.example.ghouskhan.xview2 W/XWalkInternalResources: org.xwalk.core.R$coloris not found. 09-06 10:37:13.225 28771-28771/com.example.ghouskhan.xview2 W/XWalkInternalResources: org.xwalk.core.R$attris not found. 09-06 10:37:13.226 28771-28771/com.example.ghouskhan.xview2 W/XWalkInternalResources: org.xwalk.core.R$styleableis not found. 09-06 10:37:13.226 28771-28771/com.example.ghouskhan.xview2 W/XWalkInternalResources: org.xwalk.core.R$styleis not found. 09-06 10:37:13.226 28771-28771/com.example.ghouskhan.xview2 W/XWalkInternalResources: org.xwalk.core.R$stringis not found. 09-06 10:37:13.226 28771-28771/com.example.ghouskhan.xview2 W/XWalkInternalResources: org.xwalk.core.R$rawis not found. 09-06 10:37:13.227 28771-28771/com.example.ghouskhan.xview2 W/XWalkInternalResources: org.xwalk.core.R$menuis not found. 09-06 10:37:13.227 28771-28771/com.example.ghouskhan.xview2 W/XWalkInternalResources: org.xwalk.core.R$layoutis not found. 09-06 10:37:13.227 28771-28771/com.example.ghouskhan.xview2 W/XWalkInternalResources: org.xwalk.core.R$idis not found. 09-06 10:37:13.227 28771-28771/com.example.ghouskhan.xview2 W/XWalkInternalResources: org.xwalk.core.R$drawableis not found. 09-06 10:37:13.227 28771-28771/com.example.ghouskhan.xview2 W/XWalkInternalResources: org.xwalk.core.R$dimenis not found. 09-06 10:37:13.227 28771-28771/com.example.ghouskhan.xview2 W/XWalkInternalResources: org.xwalk.core.R$coloris not found. 09-06 10:37:13.228 28771-28771/com.example.ghouskhan.xview2 W/XWalkInternalResources: org.xwalk.core.R$attris not found. 09-06 10:37:13.228 28771-28771/com.example.ghouskhan.xview2 W/XWalkInternalResources: org.xwalk.core.R$styleableis not found. 09-06 10:37:13.229 28771-28771/com.example.ghouskhan.xview2 W/XWalkInternalResources: org.xwalk.core.R$styleis not found. 09-06 10:37:13.229 28771-28771/com.example.ghouskhan.xview2 W/XWalkInternalResources: org.xwalk.core.R$stringis not found. 09-06 10:37:13.229 28771-28771/com.example.ghouskhan.xview2 W/XWalkInternalResources: org.xwalk.core.R$layoutis not found. 09-06 10:37:13.229 28771-28771/com.example.ghouskhan.xview2 W/XWalkInternalResources: org.xwalk.core.R$idis not found. 09-06 10:37:13.229 28771-28771/com.example.ghouskhan.xview2 W/XWalkInternalResources: org.xwalk.core.R$drawableis not found. 09-06 10:37:13.229 28771-28771/com.example.ghouskhan.xview2 W/XWalkInternalResources: org.xwalk.core.R$dimenis not found. 09-06 10:37:13.229 28771-28771/com.example.ghouskhan.xview2 W/XWalkInternalResources: org.xwalk.core.R$coloris not found. 09-06 10:37:13.229 28771-28771/com.example.ghouskhan.xview2 W/XWalkInternalResources: org.xwalk.core.R$attris not found. 09-06 10:37:13.230 28771-28771/com.example.ghouskhan.xview2 W/XWalkInternalResources: org.xwalk.core.R$styleableis not found. 09-06 10:37:13.230 28771-28771/com.example.ghouskhan.xview2 W/XWalkInternalResources: org.xwalk.core.R$styleis not found. 09-06 10:37:13.230 28771-28771/com.example.ghouskhan.xview2 W/XWalkInternalResources: org.xwalk.core.R$stringis not found. 09-06 10:37:13.230 28771-28771/com.example.ghouskhan.xview2 W/XWalkInternalResources: org.xwalk.core.R$rawis not found. 09-06 10:37:13.231 28771-28771/com.example.ghouskhan.xview2 W/XWalkInternalResources: org.xwalk.core.R$menuis not found. 09-06 10:37:13.231 28771-28771/com.example.ghouskhan.xview2 W/XWalkInternalResources: org.xwalk.core.R$layoutis not found. 09-06 10:37:13.231 28771-28771/com.example.ghouskhan.xview2 W/XWalkInternalResources: org.xwalk.core.R$idis not found. 09-06 10:37:13.231 28771-28771/com.example.ghouskhan.xview2 W/XWalkInternalResources: org.xwalk.core.R$drawableis not found. 09-06 10:37:13.231 28771-28771/com.example.ghouskhan.xview2 W/XWalkInternalResources: org.xwalk.core.R$dimenis not found. 09-06 10:37:13.231 28771-28771/com.example.ghouskhan.xview2 W/XWalkInternalResources: org.xwalk.core.R$coloris not found. 09-06 10:37:13.231 28771-28771/com.example.ghouskhan.xview2 W/XWalkInternalResources: org.xwalk.core.R$attris not found. 09-06 10:37:13.235 28771-28771/com.example.ghouskhan.xview2 W/ResourceType: Invalid package identifier when getting bag for resource number 0x00000000 09-06 10:37:13.235 28771-28771/com.example.ghouskhan.xview2 I/cr_LibraryLoader: Expected native library version number "", actual native library version number "" 09-06 10:37:13.235 28771-28771/com.example.ghouskhan.xview2 I/chromium: [INFO:library_loader_hooks.cc(143)] Chromium logging enabled: level = 0, default verbosity = 0 09-06 10:37:13.236 28771-28771/com.example.ghouskhan.xview2 I/cr_BrowserStartup: Initializing chromium process, singleProcess=true 09-06 10:37:13.237 28771-28896/com.example.ghouskhan.xview2 I/cr_base: Extracting resource /data/user/0/com.example.ghouskhan.xview2/app_xwalkcore/paks/xwalk_100_percent.pak 09-06 10:37:13.238 28771-28896/com.example.ghouskhan.xview2 I/cr_base: Extracting resource /data/user/0/com.example.ghouskhan.xview2/app_xwalkcore/icudtl.dat 09-06 10:37:13.261 28771-28896/com.example.ghouskhan.xview2 I/cr_base: Extracting resource /data/user/0/com.example.ghouskhan.xview2/app_xwalkcore/paks/xwalk.pak 09-06 10:37:13.271 28771-28771/com.example.ghouskhan.xview2 E/ApkAssets: Error while loading asset assets/icudtl.dat: java.io.FileNotFoundException: This file can not be opened as a file descriptor; it is probably compressed 09-06 10:37:13.274 28771-28771/com.example.ghouskhan.xview2 I/GRALLOC-DRM: create intel for driver i915 09-06 10:37:13.275 28771-28771/com.example.ghouskhan.xview2 I/EGL-DRI2: found extension DRI_Core version 1 09-06 10:37:13.275 28771-28771/com.example.ghouskhan.xview2 I/EGL-DRI2: found extension DRI_DRI2 version 4 09-06 10:37:13.278 28771-28771/com.example.ghouskhan.xview2 I/EGL-DRI2: found extension DRI_TexBuffer version 3 09-06 10:37:13.278 28771-28771/com.example.ghouskhan.xview2 I/EGL-DRI2: found extension DRI2_Flush version 4 09-06 10:37:13.278 28771-28771/com.example.ghouskhan.xview2 I/EGL-DRI2: found extension DRI_IMAGE version 11 09-06 10:37:13.286 28771-28909/com.example.ghouskhan.xview2 W/cr_media: Requires BLUETOOTH permission 09-06 10:37:13.289 28771-28771/com.example.ghouskhan.xview2 E/chromium: [ERROR:xwalk_platform_notification_service.cc(143)] Not implemented reached in virtual bool xwalk::XWalkPlatformNotificationService::GetDisplayedPersistentNotifications(content::BrowserContext*, std::__1::set<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >*) 09-06 10:37:13.290 28771-28771/com.example.ghouskhan.xview2 E/chromium: [ERROR:xwalk_browser_context.cc(80)] Failed to read preference, error num: 0 09-06 10:37:13.290 28771-28771/com.example.ghouskhan.xview2 D/XWalkContent: CompositingSurfaceType is SurfaceView 09-06 10:37:13.293 28771-28771/com.example.ghouskhan.xview2 D/cr_Ime: [InputMethodManagerWrapper.java:30] Constructor 09-06 10:37:13.296 28771-28771/com.example.ghouskhan.xview2 W/art: Attempt to remove non-JNI local reference, dumping thread 09-06 10:37:13.303 28771-28771/com.example.ghouskhan.xview2 I/VideoCapabilities: Unsupported profile 4 for video/mp4v-es 09-06 10:37:13.320 28771-28902/com.example.ghouskhan.xview2 W/chromium: [WARNING:xwalk_external_extension.cc(58)] Error loading extension '/data/app/com.example.ghouskhan.xview2-1/lib/x86_64/libxwalkcore.so': couldn't get XW_Initialize function. 09-06 10:37:13.320 28771-28902/com.example.ghouskhan.xview2 W/chromium: [WARNING:xwalk_extension_server.cc(407)] Failed to initialize extension: /data/app/com.example.ghouskhan.xview2-1/lib/x86_64/libxwalkcore.so 09-06 10:37:13.320 28771-28902/com.example.ghouskhan.xview2 W/chromium: [WARNING:xwalk_external_extension.cc(58)] Error loading extension '/data/app/com.example.ghouskhan.xview2-1/lib/x86_64/libxwalkdummy.so': couldn't get XW_Initialize function. 09-06 10:37:13.320 28771-28902/com.example.ghouskhan.xview2 W/chromium: [WARNING:xwalk_extension_server.cc(407)] Failed to initialize extension: /data/app/com.example.ghouskhan.xview2-1/lib/x86_64/libxwalkdummy.so 09-06 10:37:13.323 28771-28771/com.example.ghouskhan.xview2 I/cr_Ime: ImeThread is not enabled. 09-06 10:37:13.327 28771-28926/com.example.ghouskhan.xview2 D/OpenGLRenderer: Use EGL_SWAP_BEHAVIOR_PRESERVED: true 09-06 10:37:13.328 28771-28924/com.example.ghouskhan.xview2 I/chromium: [INFO:xwalk_extension_renderer_controller.cc(43)] EXTENSION PROCESS DISABLED. 09-06 10:37:13.335 28771-28930/com.example.ghouskhan.xview2 E/libEGL: validate_display:255 error 3008 (EGL_BAD_DISPLAY) 09-06 10:37:13.348 28771-28926/com.example.ghouskhan.xview2 I/OpenGLRenderer: Initialized EGL, version 1.4 09-06 10:37:13.349 28771-28926/com.example.ghouskhan.xview2 W/OpenGLRenderer: Failed to choose config with EGL_SWAP_BEHAVIOR_PRESERVED, retrying without... 09-06 10:37:13.387 28771-28771/com.example.ghouskhan.xview2 W/art: Attempt to remove non-JNI local reference, dumping thread 09-06 10:37:13.470 28771-28930/com.example.ghouskhan.xview2 E/chromium: [ERROR:gl_context_egl.cc(201)] eglSwapInterval failed with error EGL_SUCCESS 09-06 10:37:13.488 28771-28771/com.example.ghouskhan.xview2 E/chromium: [ERROR:layer_tree_host_impl.cc(2218)] Forcing zero-copy tile initialization as worker context is missing 09-06 10:37:13.541 28771-28771/com.example.ghouskhan.xview2 W/cr_BindingManager: Cannot call determinedVisibility() - never saw a connection for the pid: 28771 09-06 10:37:13.549 28771-28771/com.example.ghouskhan.xview2 W/cr_BindingManager: Cannot call determinedVisibility() - never saw a connection for the pid: 28771 09-06 10:37:13.551 28771-28771/com.example.ghouskhan.xview2 D/cr_Ime: [InputMethodManagerWrapper.java:59] isActive: true 09-06 10:37:13.551 28771-28771/com.example.ghouskhan.xview2 D/cr_Ime: [InputMethodManagerWrapper.java:68] hideSoftInputFromWindow 09-06 10:37:29.761 29145-29145/com.example.ghouskhan.xview2 E/chromium: [ERROR:xwalk_autofill_client.cc(121)] Not implemented reached in virtual void xwalk::XWalkAutofillClient::OnFirstUserGestureObserved() 09-06 10:37:29.766 29145-29145/com.example.ghouskhan.xview2 D/cr_Ime: [InputMethodManagerWrapper.java:59] isActive: true 09-06 10:37:29.766 29145-29145/com.example.ghouskhan.xview2 D/cr_Ime: [InputMethodManagerWrapper.java:68] hideSoftInputFromWindow 09-06 10:37:29.959 29145-29145/com.example.ghouskhan.xview2 E/chromium: [ERROR:xwalk_autofill_client.cc(121)] Not implemented reached in virtual void xwalk::XWalkAutofillClient::OnFirstUserGestureObserved() 09-06 10:37:29.959 29145-29145/com.example.ghouskhan.xview2 D/cr_Ime: [InputMethodManagerWrapper.java:59] isActive: true 09-06 10:37:29.959 29145-29145/com.example.ghouskhan.xview2 D/cr_Ime: [InputMethodManagerWrapper.java:68] hideSoftInputFromWindow 09-06 10:37:30.175 29145-29145/com.example.ghouskhan.xview2 E/chromium: [ERROR:xwalk_autofill_client.cc(121)] Not implemented reached in virtual void xwalk::XWalkAutofillClient::OnFirstUserGestureObserved() 09-06 10:37:30.175 29145-29145/com.example.ghouskhan.xview2 D/cr_Ime: [InputMethodManagerWrapper.java:59] isActive: true 09-06 10:37:30.175 29145-29145/com.example.ghouskhan.xview2 D/cr_Ime: [InputMethodManagerWrapper.java:68] hideSoftInputFromWindow
_______________________________________________ Crosswalk-help mailing list [email protected] https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-help
