I have also created a Jira Report for this, so there is something to
reference to, it can be found here:
https://crosswalk-project.org/jira/browse/XWALK-7304

On 8 September 2016 at 17:15, Ghous Khan <[email protected]> wrote:

> Hi Xiaofeng,
> I am extremely sorry that the large attachment caused you a nuisance with
> outlook.  I did follow your suggestions, and the initial error is now
> gone.  However I do have an issue in intialising the Crosswalk Core
> library.  I suspect my problem is in the way the project resources are
> copied from the library project.
>
> I have essentially followed this suggestion: http://www.
> zhuatang.com/en/as-tips-3.jsp
> I copied the resources from the library project to my project to the res2
> folder and then put in a include for res in the app build.gradle file as
> follows:
>
> android.sourceSets {
>     main.res.srcDirs = ['src/main/res', 'src/main/res2']
> }
>
> However I can see that the CrossWalk core lib, still cannot find the
> resources it needs, hence the warning below.  Could you please advise if
> this method is reliable?  Or if there is an alternate for Android Studio
> that would work better?
>
> Kind Regards
> Ghous
>
> 09-08 17:04:57.130 13435-13435/com.example.ghouskhan.xview2 D/XWalkLib:
> Pre init xwalk core in com.example.ghouskhan.xview2.MainActivity
> 09-08 17:04:57.185 13435-13435/com.example.ghouskhan.xview2 D/XWalkLib:
> Reserve object class org.xwalk.core.XWalkView to
> com.example.ghouskhan.xview2.MainActivity
> 09-08 17:04:57.186 13435-13435/com.example.ghouskhan.xview2 D/XWalkLib:
> Reserve object class 
> com.example.ghouskhan.xview2.MainActivity$MyResourceClient
> to com.example.ghouskhan.xview2.MainActivity
> 09-08 17:04:57.186 13435-13435/com.example.ghouskhan.xview2 D/XWalkLib:
> Reserve method setResourceClient to com.example.ghouskhan.xview2.
> MainActivity
> 09-08 17:04:57.186 13435-13435/com.example.ghouskhan.xview2 D/XWalkLib:
> Reserve object class com.example.ghouskhan.xview2.MainActivity$MyUIClient
> to com.example.ghouskhan.xview2.MainActivity
> 09-08 17:04:57.186 13435-13435/com.example.ghouskhan.xview2 D/XWalkLib:
> Reserve method setUIClient to com.example.ghouskhan.xview2.MainActivity
> 09-08 17:04:57.187 13435-13435/com.example.ghouskhan.xview2
> D/XWalkActivity: Initialize by XWalkActivity
> 09-08 17:04:57.187 13435-13435/com.example.ghouskhan.xview2 D/XWalkLib:
> DecompressTask started
> 09-08 17:04:57.187 13435-13435/com.example.ghouskhan.xview2
> W/ResourceType: No package identifier when getting value for resource
> number 0x00000000
> 09-08 17:04:57.263 13435-13470/com.example.ghouskhan.xview2
> D/OpenGLRenderer: Use EGL_SWAP_BEHAVIOR_PRESERVED: true
> 09-08 17:04:57.269 13435-13435/com.example.ghouskhan.xview2
> I/GRALLOC-DRM: create intel for driver i915
> 09-08 17:04:57.293 13435-13435/com.example.ghouskhan.xview2 D/XWalkLib:
> DecompressTask finished, 0
> 09-08 17:04:57.294 13435-13435/com.example.ghouskhan.xview2 D/XWalkLib:
> ActivateTask started
> 09-08 17:04:57.296 13435-13471/com.example.ghouskhan.xview2 D/XWalkLib:
> Attach xwalk core
> 09-08 17:04:57.296 13435-13471/com.example.ghouskhan.xview2 D/XWalkLib:
> [App Version] build:20.50.533.12, api:7, min_api:1
> 09-08 17:04:57.298 13435-13471/com.example.ghouskhan.xview2 D/XWalkLib:
> [Lib Version] build:20.50.533.12, api:7, min_api:5
> 09-08 17:04:57.300 13435-13471/com.example.ghouskhan.xview2 D/XWalkLib:
> Crosswalk download mode: false
> 09-08 17:04:57.300 13435-13471/com.example.ghouskhan.xview2 D/XWalkLib:
> XWalk core version matched
> 09-08 17:04:57.315 13435-13471/com.example.ghouskhan.xview2 D/XWalkLib:
> Native library is built for IA
> 09-08 17:04:57.315 13435-13471/com.example.ghouskhan.xview2 D/XWalkLib:
> XWalk core architecture matched
> 09-08 17:04:57.315 13435-13471/com.example.ghouskhan.xview2 D/XWalkLib:
> Running in embedded mode
> 09-08 17:04:57.405 13435-13470/com.example.ghouskhan.xview2 I/EGL-DRI2:
> found extension DRI_Core version 1
> 09-08 17:04:57.405 13435-13470/com.example.ghouskhan.xview2 I/EGL-DRI2:
> found extension DRI_DRI2 version 4
> 09-08 17:04:57.412 13435-13470/com.example.ghouskhan.xview2 I/EGL-DRI2:
> found extension DRI_TexBuffer version 3
> 09-08 17:04:57.412 13435-13470/com.example.ghouskhan.xview2 I/EGL-DRI2:
> found extension DRI2_Flush version 4
> 09-08 17:04:57.412 13435-13470/com.example.ghouskhan.xview2 I/EGL-DRI2:
> found extension DRI_IMAGE version 11
> 09-08 17:04:57.412 13435-13470/com.example.ghouskhan.xview2
> I/OpenGLRenderer: Initialized EGL, version 1.4
> 09-08 17:04:57.412 13435-13470/com.example.ghouskhan.xview2
> W/OpenGLRenderer: Failed to choose config with EGL_SWAP_BEHAVIOR_PRESERVED,
> retrying without...
> 09-08 17:04:57.460 13435-13435/com.example.ghouskhan.xview2 D/XWalkLib:
> Dock xwalk core
> 09-08 17:04:57.460 13435-13435/com.example.ghouskhan.xview2 D/XWalkLib:
> Init core bridge
> 09-08 17:04:57.464 13435-13435/com.example.ghouskhan.xview2 D/XWalkLib:
> Init xwalk view
> 09-08 17:04:57.470 13435-13435/com.example.ghouskhan.xview2
> W/XWalkInternalResources: org.xwalk.core.R$styleableis not found.
> 09-08 17:04:57.470 13435-13435/com.example.ghouskhan.xview2
> W/XWalkInternalResources: org.xwalk.core.R$styleis not found.
> 09-08 17:04:57.471 13435-13435/com.example.ghouskhan.xview2
> W/XWalkInternalResources: org.xwalk.core.R$stringis not found.
> 09-08 17:04:57.471 13435-13435/com.example.ghouskhan.xview2
> W/XWalkInternalResources: org.xwalk.core.R$rawis not found.
> 09-08 17:04:57.471 13435-13435/com.example.ghouskhan.xview2
> W/XWalkInternalResources: org.xwalk.core.R$menuis not found.
> 09-08 17:04:57.472 13435-13435/com.example.ghouskhan.xview2
> W/XWalkInternalResources: org.xwalk.core.R$layoutis not found.
> 09-08 17:04:57.472 13435-13435/com.example.ghouskhan.xview2
> W/XWalkInternalResources: org.xwalk.core.R$idis not found.
> 09-08 17:04:57.472 13435-13435/com.example.ghouskhan.xview2
> W/XWalkInternalResources: org.xwalk.core.R$drawableis not found.
> 09-08 17:04:57.473 13435-13435/com.example.ghouskhan.xview2
> W/XWalkInternalResources: org.xwalk.core.R$dimenis not found.
> 09-08 17:04:57.473 13435-13435/com.example.ghouskhan.xview2
> W/XWalkInternalResources: org.xwalk.core.R$coloris not found.
> 09-08 17:04:57.473 13435-13435/com.example.ghouskhan.xview2
> W/XWalkInternalResources: org.xwalk.core.R$attris not found.
> 09-08 17:04:57.475 13435-13435/com.example.ghouskhan.xview2
> W/XWalkInternalResources: org.xwalk.core.R$styleableis not found.
> 09-08 17:04:57.475 13435-13435/com.example.ghouskhan.xview2
> W/XWalkInternalResources: org.xwalk.core.R$styleis not found.
> 09-08 17:04:57.476 13435-13435/com.example.ghouskhan.xview2
> W/XWalkInternalResources: org.xwalk.core.R$stringis not found.
> 09-08 17:04:57.476 13435-13435/com.example.ghouskhan.xview2
> W/XWalkInternalResources: org.xwalk.core.R$rawis not found.
> 09-08 17:04:57.476 13435-13435/com.example.ghouskhan.xview2
> W/XWalkInternalResources: org.xwalk.core.R$menuis not found.
> 09-08 17:04:57.477 13435-13435/com.example.ghouskhan.xview2
> W/XWalkInternalResources: org.xwalk.core.R$layoutis not found.
> 09-08 17:04:57.477 13435-13435/com.example.ghouskhan.xview2
> W/XWalkInternalResources: org.xwalk.core.R$idis not found.
> 09-08 17:04:57.477 13435-13435/com.example.ghouskhan.xview2
> W/XWalkInternalResources: org.xwalk.core.R$drawableis not found.
> 09-08 17:04:57.477 13435-13435/com.example.ghouskhan.xview2
> W/XWalkInternalResources: org.xwalk.core.R$dimenis not found.
> 09-08 17:04:57.478 13435-13435/com.example.ghouskhan.xview2
> W/XWalkInternalResources: org.xwalk.core.R$coloris not found.
> 09-08 17:04:57.478 13435-13435/com.example.ghouskhan.xview2
> W/XWalkInternalResources: org.xwalk.core.R$attris not found.
> 09-08 17:04:57.480 13435-13435/com.example.ghouskhan.xview2
> W/XWalkInternalResources: org.xwalk.core.R$styleableis not found.
> 09-08 17:04:57.480 13435-13435/com.example.ghouskhan.xview2
> W/XWalkInternalResources: org.xwalk.core.R$styleis not found.
> 09-08 17:04:57.480 13435-13435/com.example.ghouskhan.xview2
> W/XWalkInternalResources: org.xwalk.core.R$stringis not found.
> 09-08 17:04:57.480 13435-13435/com.example.ghouskhan.xview2
> W/XWalkInternalResources: org.xwalk.core.R$layoutis not found.
> 09-08 17:04:57.480 13435-13435/com.example.ghouskhan.xview2
> W/XWalkInternalResources: org.xwalk.core.R$idis not found.
> 09-08 17:04:57.480 13435-13435/com.example.ghouskhan.xview2
> W/XWalkInternalResources: org.xwalk.core.R$drawableis not found.
> 09-08 17:04:57.480 13435-13435/com.example.ghouskhan.xview2
> W/XWalkInternalResources: org.xwalk.core.R$dimenis not found.
> 09-08 17:04:57.480 13435-13435/com.example.ghouskhan.xview2
> W/XWalkInternalResources: org.xwalk.core.R$coloris not found.
> 09-08 17:04:57.480 13435-13435/com.example.ghouskhan.xview2
> W/XWalkInternalResources: org.xwalk.core.R$attris not found.
> 09-08 17:04:57.480 13435-13435/com.example.ghouskhan.xview2
> W/XWalkInternalResources: org.xwalk.core.R$styleableis not found.
> 09-08 17:04:57.480 13435-13435/com.example.ghouskhan.xview2
> W/XWalkInternalResources: org.xwalk.core.R$styleis not found.
> 09-08 17:04:57.480 13435-13435/com.example.ghouskhan.xview2
> W/XWalkInternalResources: org.xwalk.core.R$stringis not found.
> 09-08 17:04:57.480 13435-13435/com.example.ghouskhan.xview2
> W/XWalkInternalResources: org.xwalk.core.R$rawis not found.
> 09-08 17:04:57.480 13435-13435/com.example.ghouskhan.xview2
> W/XWalkInternalResources: org.xwalk.core.R$menuis not found.
> 09-08 17:04:57.480 13435-13435/com.example.ghouskhan.xview2
> W/XWalkInternalResources: org.xwalk.core.R$layoutis not found.
> 09-08 17:04:57.480 13435-13435/com.example.ghouskhan.xview2
> W/XWalkInternalResources: org.xwalk.core.R$idis not found.
> 09-08 17:04:57.481 13435-13435/com.example.ghouskhan.xview2
> W/XWalkInternalResources: org.xwalk.core.R$drawableis not found.
> 09-08 17:04:57.481 13435-13435/com.example.ghouskhan.xview2
> W/XWalkInternalResources: org.xwalk.core.R$dimenis not found.
> 09-08 17:04:57.481 13435-13435/com.example.ghouskhan.xview2
> W/XWalkInternalResources: org.xwalk.core.R$coloris not found.
> 09-08 17:04:57.481 13435-13435/com.example.ghouskhan.xview2
> W/XWalkInternalResources: org.xwalk.core.R$attris not found.
> 09-08 17:04:57.484 13435-13435/com.example.ghouskhan.xview2
> D/AndroidRuntime: Shutting down VM
> 09-08 17:04:57.484 13435-13435/com.example.ghouskhan.xview2
> E/AndroidRuntime: FATAL EXCEPTION: main
>
>     Process: com.example.ghouskhan.xview2, PID: 13435
>
>     java.lang.RuntimeException: java.lang.RuntimeException: Cannot
> initialize Crosswalk Core
>
>         at org.xwalk.core.ReflectMethod.invoke(ReflectMethod.java:67)
>
>         at org.xwalk.core.XWalkCoreWrapper.initXWalkView(
> XWalkCoreWrapper.java:251)
>
>         at org.xwalk.core.XWalkCoreWrapper.dockXWalkCore(
> XWalkCoreWrapper.java:212)
>
>         at org.xwalk.core.XWalkLibraryLoader$ActivateTask.onPostExecute(
> XWalkLibraryLoader.java:343)
>
>         at org.xwalk.core.XWalkLibraryLoader$ActivateTask.onPostExecute(
> XWalkLibraryLoader.java:317)
>
>         at android.os.AsyncTask.finish(AsyncTask.java:651)
>
>         at android.os.AsyncTask.access$500(AsyncTask.java:180)
>
>         at android.os.AsyncTask$InternalHandler.handleMessage(
> AsyncTask.java:668)
>
>         at android.os.Handler.dispatchMessage(Handler.java:102)
>
>         at android.os.Looper.loop(Looper.java:148)
>
>         at android.app.ActivityThread.main(ActivityThread.java:5646)
>
>         at java.lang.reflect.Method.invoke(Native Method)
>
>         at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(
> ZygoteInit.java:744)
>
>         at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:634)
>
>      Caused by: java.lang.RuntimeException: Cannot initialize Crosswalk Core
>
>         at org.xwalk.core.internal.XWalkViewDelegate$1.run(
> XWalkViewDelegate.java:194)
>
>         at org.chromium.base.ThreadUtils.runOnUiThreadBlocking(
> ThreadUtils.java:67)
>
>         at org.xwalk.core.internal.XWalkViewDelegate.startBrowserProcess(
> XWalkViewDelegate.java:188)
>
>         at org.xwalk.core.internal.XWalkViewDelegate.init(
> XWalkViewDelegate.java:183)
>
>         at org.xwalk.core.internal.XWalkViewDelegate.init(
> XWalkViewDelegate.java:109)
>
>         at java.lang.reflect.Method.invoke(Native Method)
>
>         at org.xwalk.core.ReflectMethod.invoke(ReflectMethod.java:61)
>
>         at org.xwalk.core.XWalkCoreWrapper.initXWalkView(
> XWalkCoreWrapper.java:251)
>
>         at org.xwalk.core.XWalkCoreWrapper.dockXWalkCore(
> XWalkCoreWrapper.java:212)
>
>         at org.xwalk.core.XWalkLibraryLoader$ActivateTask.onPostExecute(
> XWalkLibraryLoader.java:343)
>
>         at org.xwalk.core.XWalkLibraryLoader$ActivateTask.onPostExecute(
> XWalkLibraryLoader.java:317)
>
>         at android.os.AsyncTask.finish(AsyncTask.java:651)
>
>         at android.os.AsyncTask.access$500(AsyncTask.java:180)
>
>         at android.os.AsyncTask$InternalHandler.handleMessage(
> AsyncTask.java:668)
>
>         at android.os.Handler.dispatchMessage(Handler.java:102)
>
>         at android.os.Looper.loop(Looper.java:148)
>
>         at android.app.ActivityThread.main(ActivityThread.java:5646)
>
>         at java.lang.reflect.Method.invoke(Native Method)
>
>         at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(
> ZygoteInit.java:744)
>
>         at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:634)
>
>      Caused by: org.chromium.base.library_loader.ProcessInitException
>
>         at org.chromium.base.library_loader.LibraryLoader.
> loadAlreadyLocked(LibraryLoader.java:285)
>
>         at org.chromium.base.library_loader.LibraryLoader.
> ensureInitialized(LibraryLoader.java:123)
>
>         at org.xwalk.core.internal.XWalkViewDelegate$1.run(
> XWalkViewDelegate.java:192)
>
>         at org.chromium.base.ThreadUtils.runOnUiThreadBlocking(
> ThreadUtils.java:67)
>
>         at org.xwalk.core.internal.XWalkViewDelegate.startBrowserProcess(
> XWalkViewDelegate.java:188)
>
>         at org.xwalk.core.internal.XWalkViewDelegate.init(
> XWalkViewDelegate.java:183)
>
>         at org.xwalk.core.internal.XWalkViewDelegate.init(
> XWalkViewDelegate.java:109)
>
>         at java.lang.reflect.Method.invoke(Native Method)
>
>         at org.xwalk.core.ReflectMethod.invoke(ReflectMethod.java:61)
>
>         at org.xwalk.core.XWalkCoreWrapper.initXWalkView(
> XWalkCoreWrapper.java:251)
>
>         at org.xwalk.core.XWalkCoreWrapper.dockXWalkCore(
> XWalkCoreWrapper.java:212)
>
>         at org.xwalk.core.XWalkLibraryLoader$ActivateTask.onPostExecute(
> XWalkLibraryLoader.java:343)
>
>         at org.xwalk.core.XWalkLibraryLoader$ActivateTask.onPostExecute(
> XWalkLibraryLoader.java:317)
>
>         at android.os.AsyncTask.finish(AsyncTask.java:651)
>
>         at android.os.AsyncTask.access$500(AsyncTask.java:180)
>
>         at android.os.AsyncTask$InternalHandler.handleMessage(
> AsyncTask.java:668)
>
>         at android.os.Handler.dispatchMessage(Handler.java:102)
>
>         at android.os.Looper.loop(Looper.java:148)
>
>         at android.app.ActivityThread.main(ActivityThread.java:5646)
>
>         at java.lang.reflect.Method.invoke(Native Method)
>
>         at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(
> ZygoteInit.java:744)
>
>         at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:634)
>
>      Caused by: java.lang.UnsatisfiedLinkError:
> dalvik.system.PathClassLoader[DexPathList[[zip file
> "/data/app/com.example.ghouskhan.xview2-2/base.apk"],
> nativeLibraryDirectories=[/data/app/com.example.ghouskhan.xview2-2/lib/x86_64,
> /data/app/com.example.ghouskhan.xview2-2/base.apk!/lib/x86_64,
> /vendor/lib64, /system/lib64]]] couldn't find "libxwalkdummy.so"
>
>         at java.lang.Runtime.loadLibrary(Runtime.java:367)
>
>         at java.lang.System.loadLibrary(System.java:1076)
>
>         at org.chromium.base.library_loader.LibraryLoader.
> loadAlreadyLocked(LibraryLoader.java:271)
>
>         at org.chromium.base.library_loader.LibraryLoader.
> ensureInitialized(LibraryLoader.java:123)
>
>         at org.xwalk.core.internal.XWalkViewDelegate$1.run(
> XWalkViewDelegate.java:192)
>
>         at org.chromium.base.ThreadUtils.runOnUiThreadBlocking(
> ThreadUtils.java:67)
>
>         at org.xwalk.core.internal.XWalkViewDelegate.startBrowserProcess(
> XWalkViewDelegate.java:188)
>
>         at org.xwalk.core.internal.XWalkViewDelegate.init(
> XWalkViewDelegate.java:183)
>
>         at org.xwalk.core.internal.XWalkViewDelegate.init(
> XWalkViewDelegate.java:109)
>
>         at java.lang.reflect.Method.invoke(Native Method)
>
>         at org.xwalk.core.ReflectMethod.invoke(ReflectMethod.java:61)
>
>         at org.xwalk.core.XWalkCoreWrapper.initXWalkView(
> XWalkCoreWrapper.java:251)
>
>         at org.xwalk.core.XWalkCoreWrapper.dockXWalkCore(
> XWalkCoreWrapper.java:212)
>
>         at org.xwalk.core.XWalkLibraryLoader$ActivateTask.onPostExecute(
> XWalkLibraryLoader.java:343)
>
>         at org.xwalk.core.XWalkLibraryLoader$ActivateTask.onPostExecute(
> XWalkLibraryLoader.java:317)
>
>         at android.os.AsyncTask.finish(AsyncTask.java:651)
>
>         at android.os.AsyncTask.access$500(AsyncTask.java:180)
>
>         at android.os.AsyncTask$InternalHandler.handleMessage(
> AsyncTask.java:668)
>
>         at android.os.Handler.dispatchMessage(Handler.java:102)
>
>         at android.os.Looper.loop(Looper.java:148)
>
>         at android.app.ActivityThread.main(ActivityThread.java:5646)
>
>         at java.lang.reflect.Method.invoke(Native Method)
>
>         at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(
> ZygoteInit.java:744)
>
>         at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:634)
>
> On 8 September 2016 at 03:20, Zhang, Xiaofeng <[email protected]>
> wrote:
>
>> 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/x
>> walk/core/XWalkView.html
>>
>>
>>
>> Best Regards J
>>
>> 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.
>>
>>
>>
>> ​
>>
>> * XView2.zip
>> <https://drive.google.com/file/d/0B0b50W-yheojdWJOYTN2X3dRYzA/view?usp=drive_web>*
>>
>> ​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
>> <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]> 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]>
>> wrote:
>>
>> Hi, Khan
>>
>>
>>
>> Thanks for using Crosswalk.
>>
>> Which xwalk version you are using?
>>
>>
>>
>> Best Regards J
>>
>> Xiaofeng Zhang
>>
>>
>>
>> *From:* Crosswalk-help [mailto:crosswalk-help-bounces
>> @lists.crosswalk-project.org] *On Behalf Of *Ghous Khan
>> *Sent:* Tuesday, September 6, 2016 6:32 PM
>> *To:* [email protected]
>> *Cc:* Michael Trim <[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 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.updat
>> eTintFilter(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.ghous
>> khan.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.ghous
>> khan.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.ghous
>> khan.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::XWalkPlatformNotificati
>> onService::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

Reply via email to