{"action":"created","issue":{"url":"https://api.github.com/repos/litehelpers/Cordova-sqlite-storage/issues/247","labels_url":"https://api.github.com/repos/litehelpers/Cordova-sqlite-storage/issues/247/labels{/name}","comments_url":"https://api.github.com/repos/litehelpers/Cordova-sqlite-storage/issues/247/comments","events_url":"https://api.github.com/repos/litehelpers/Cordova-sqlite-storage/issues/247/events","html_url":"https://github.com/litehelpers/Cordova-sqlite-storage/issues/247","id":70596702,"number":247,"title":"Error when adding sqlite plugin to Crosswalk Cordova HelloWorld example [x86_64]","user":{"login":"trevorpowell","id":525402,"avatar_url":"https://avatars.githubusercontent.com/u/525402?v=3","gravatar_id":"","url":"https://api.github.com/users/trevorpowell","html_url":"https://github.com/trevorpowell","followers_url":"https://api.github.com/users/trevorpowell/followers","following_url":"https://api.github.com/users/trevorpowell/following{/other_user}","gists_url":"https://api.github.com/users/trevorpowell/gists{/gist_id}","starred_url":"https://api.github.com/users/trevorpowell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trevorpowell/subscriptions","organizations_url":"https://api.github.com/users/trevorpowell/orgs","repos_url":"https://api.github.com/users/trevorpowell/repos","events_url":"https://api.github.com/users/trevorpowell/events{/privacy}","received_events_url":"https://api.github.com/users/trevorpowell/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/litehelpers/Cordova-sqlite-storage/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/litehelpers/Cordova-sqlite-storage/labels/documentation","name":"documentation","color":"bfe5bf"},{"url":"https://api.github.com/repos/litehelpers/Cordova-sqlite-storage/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":22,"created_at":"2015-04-24T06:04:23Z","updated_at":"2015-05-06T17:24:53Z","closed_at":null,"body":"I am following the steps to create the Crosswalk Cordova HelloWorld project and adding the sqlite plugin with plugman as documented here:\r\nhttps://crosswalk-project.org/documentation/cordova/develop_an_application.html\r\n\r\nUsing the latest versions for everything and all the prerequisites.\r\n\r\nThe HelloWorld project runs okay in the emulator, but as soon as I install the sqlite plugin with plugman and try running the app again, I get an error \"Unfortunately, HelloWorld has stopped.\" Just installed the plugin. Didn't try to open a database or anything. My emulator is running Android 5.0.1 (API 21) on x86_64. It has 3GB RAM, 512MB for VM Heap, and is using Intel HAXM. Do I need to use ARM instead of x86_64 for the plugin? Any idea what the issue might be?\r\n\r\nThe log from \"adb logcat\" when opening the app is below:\r\n\r\n```\r\nI/ActivityManager( 6504): START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10000000 cmp=org.crosswalkproject.sample/.HelloWorld (has extras)} from uid 10007 on display 0\r\nI/art     ( 7192): Not late-enabling -Xcheck:jni (already on)\r\nI/CordovaLog( 7192): Changing log level to DEBUG(3)\r\nW/System.err( 7192): java.lang.RuntimeException: Use SharedXWalkView if you want to support shared mode\r\nW/System.err( 7192): \tat org.xwalk.core.ReflectionHelper.handleException(ReflectionHelper.java:237)\r\nW/System.err( 7192): \tat org.xwalk.core.ReflectionHelper.init(ReflectionHelper.java:132)\r\nW/System.err( 7192): \tat org.xwalk.core.ReflectionHelper.loadClass(ReflectionHelper.java:199)\r\nW/System.err( 7192): \tat org.xwalk.core.XWalkPreferences.setValue(XWalkPreferences.java:112)\r\nW/System.err( 7192): \tat org.apache.cordova.CordovaWebView.<clinit>(CordovaWebView.java:897)\r\nW/System.err( 7192): \tat org.apache.cordova.CordovaActivity.makeWebView(CordovaActivity.java:340)\r\nW/System.err( 7192): \tat org.apache.cordova.CordovaActivity.init(CordovaActivity.java:376)\r\nW/System.err( 7192): \tat org.apache.cordova.CordovaActivity.init(CordovaActivity.java:368)\r\nW/System.err( 7192): \tat org.crosswalkproject.sample.HelloWorld.onCreate(HelloWorld.java:31)\r\nW/System.err( 7192): \tat android.app.Activity.performCreate(Activity.java:5937)\r\nW/System.err( 7192): \tat android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1105)\r\nW/System.err( 7192): \tat android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2251)\r\nW/System.err( 7192): \tat android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2360)\r\nW/System.err( 7192): \tat android.app.ActivityThread.access$800(ActivityThread.java:144)\r\nW/System.err( 7192): \tat android.app.ActivityThread$H.handleMessage(ActivityThread.java:1278)\r\nW/System.err( 7192): \tat android.os.Handler.dispatchMessage(Handler.java:102)\r\nW/System.err( 7192): \tat android.os.Looper.loop(Looper.java:135)\r\nW/System.err( 7192): \tat android.app.ActivityThread.main(ActivityThread.java:5221)\r\nW/System.err( 7192): \tat java.lang.reflect.Method.invoke(Native Method)\r\nW/System.err( 7192): \tat java.lang.reflect.Method.invoke(Method.java:372)\r\nW/System.err( 7192): \tat com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:899)\r\nW/System.err( 7192): \tat com.android.internal.os.ZygoteInit.main(ZygoteInit.java:694)\r\nD/AndroidRuntime( 7192): Shutting down VM\r\nE/AndroidRuntime( 7192): FATAL EXCEPTION: main\r\nE/AndroidRuntime( 7192): Process: org.crosswalkproject.sample, PID: 7192\r\nE/AndroidRuntime( 7192): java.lang.ExceptionInInitializerError\r\nE/AndroidRuntime( 7192): \tat org.apache.cordova.CordovaActivity.makeWebView(CordovaActivity.java:340)\r\nE/AndroidRuntime( 7192): \tat org.apache.cordova.CordovaActivity.init(CordovaActivity.java:376)\r\nE/AndroidRuntime( 7192): \tat org.apache.cordova.CordovaActivity.init(CordovaActivity.java:368)\r\nE/AndroidRuntime( 7192): \tat org.crosswalkproject.sample.HelloWorld.onCreate(HelloWorld.java:31)\r\nE/AndroidRuntime( 7192): \tat android.app.Activity.performCreate(Activity.java:5937)\r\nE/AndroidRuntime( 7192): \tat android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1105)\r\nE/AndroidRuntime( 7192): \tat android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2251)\r\nE/AndroidRuntime( 7192): \tat android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2360)\r\nE/AndroidRuntime( 7192): \tat android.app.ActivityThread.access$800(ActivityThread.java:144)\r\nE/AndroidRuntime( 7192): \tat android.app.ActivityThread$H.handleMessage(ActivityThread.java:1278)\r\nE/AndroidRuntime( 7192): \tat android.os.Handler.dispatchMessage(Handler.java:102)\r\nE/AndroidRuntime( 7192): \tat android.os.Looper.loop(Looper.java:135)\r\nE/AndroidRuntime( 7192): \tat android.app.ActivityThread.main(ActivityThread.java:5221)\r\nE/AndroidRuntime( 7192): \tat java.lang.reflect.Method.invoke(Native Method)\r\nE/AndroidRuntime( 7192): \tat java.lang.reflect.Method.invoke(Method.java:372)\r\nE/AndroidRuntime( 7192): \tat com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:899)\r\nE/AndroidRuntime( 7192): \tat com.android.internal.os.ZygoteInit.main(ZygoteInit.java:694)\r\nE/AndroidRuntime( 7192): Caused by: java.lang.RuntimeException: java.lang.RuntimeException: Use SharedXWalkView if you want to support shared mode\r\nE/AndroidRuntime( 7192): \tat org.xwalk.core.ReflectionHelper.handleException(ReflectionHelper.java:233)\r\nE/AndroidRuntime( 7192): \tat org.xwalk.core.ReflectionHelper.handleException(ReflectionHelper.java:237)\r\nE/AndroidRuntime( 7192): \tat org.xwalk.core.ReflectionHelper.init(ReflectionHelper.java:132)\r\nE/AndroidRuntime( 7192): \tat org.xwalk.core.ReflectionHelper.loadClass(ReflectionHelper.java:199)\r\nE/AndroidRuntime( 7192): \tat org.xwalk.core.XWalkPreferences.setValue(XWalkPreferences.java:112)\r\nE/AndroidRuntime( 7192): \tat org.apache.cordova.CordovaWebView.<clinit>(CordovaWebView.java:897)\r\nE/AndroidRuntime( 7192): \t... 17 more\r\nE/AndroidRuntime( 7192): Caused by: java.lang.RuntimeException: Use SharedXWalkView if you want to support shared mode\r\nE/AndroidRuntime( 7192): \t... 22 more\r\nD/        ( 6504): HostConnection::get() New Host Connection established 0x7ff45580ec20, tid 6518\r\nE/EGL_emulation(  947): tid 947: eglCreateSyncKHR(1237): error 0x3004 (EGL_BAD_ATTRIBUTE)\r\nD/Atlas   ( 6504): Validating map...\r\nD/        ( 6504): HostConnection::get() New Host Connection established 0x7ff455bbec60, tid 7208\r\nI/OpenGLRenderer( 6504): Initialized EGL, version 1.4\r\nD/OpenGLRenderer( 6504): Enabling debug mode 0\r\nW/ActivityManager( 6504): Activity pause timeout for ActivityRecord{f6a6cf5 u0 org.crosswalkproject.sample/.HelloWorld t16 f}\r\nW/EGL_emulation( 6755): eglSurfaceAttrib not implemented\r\nW/OpenGLRenderer( 6755): Failed to set EGL_SWAP_BEHAVIOR on surface 0x7ff467e37a40, error=EGL_SUCCESS\r\nW/OpenGLRenderer( 6755): Incorrectly called buildLayer on View: ShortcutAndWidgetContainer, destroying layer...\r\nW/ActivityManager( 6504): Activity destroy timeout for ActivityRecord{f6a6cf5 u0 org.crosswalkproject.sample/.HelloWorld t16 f}\r\n```"},"comment":{"url":"https://api.github.com/repos/litehelpers/Cordova-sqlite-storage/issues/comments/99543812","html_url":"https://github.com/litehelpers/Cordova-sqlite-storage/issues/247#issuecomment-99543812","issue_url":"https://api.github.com/repos/litehelpers/Cordova-sqlite-storage/issues/247","id":99543812,"user":{"login":"matb33","id":1038466,"avatar_url":"https://avatars.githubusercontent.com/u/1038466?v=3","gravatar_id":"","url":"https://api.github.com/users/matb33","html_url":"https://github.com/matb33","followers_url":"https://api.github.com/users/matb33/followers","following_url":"https://api.github.com/users/matb33/following{/other_user}","gists_url":"https://api.github.com/users/matb33/gists{/gist_id}","starred_url":"https://api.github.com/users/matb33/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matb33/subscriptions","organizations_url":"https://api.github.com/users/matb33/orgs","repos_url":"https://api.github.com/users/matb33/repos","events_url":"https://api.github.com/users/matb33/events{/privacy}","received_events_url":"https://api.github.com/users/matb33/received_events","type":"User","site_admin":false},"created_at":"2015-05-06T17:24:52Z","updated_at":"2015-05-06T17:24:52Z","body":"With regards to my particular issue that I thought was related, you can dismiss... turns out the Nexus Player is actually an x86 device. I assumed it was like all others and was arm..."}}