Actually, the issue seems to be related to webview that fails to be loaded 
on my android device using CN1. 
I commented the logger part in my code and my app still doesn't work 
properly on my android device with this kind of message in the debugger 
logcat:

I/WebViewFactory: Loading com.google.android.webview version 68.0.3440.91 
(code 344009150)
I/art: Rejecting re-init on previously-failed class 
java.lang.Class<com.android.webview.chromium.ServiceWorkerControllerAdapter>
       Rejecting re-init on previously-failed class 
java.lang.Class<com.android.webview.chromium.ServiceWorkerControllerAdapter>
I/art: Rejecting re-init on previously-failed class 
java.lang.Class<com.android.webview.chromium.TokenBindingManagerAdapter>
       Rejecting re-init on previously-failed class 
java.lang.Class<com.android.webview.chromium.TokenBindingManagerAdapter>
I/cr_LibraryLoader: Time to load native libraries: 1 ms (timestamps 
8819-8820)
E/cr_VariationsUtils: Failed reading seed file 
"/data/data/org.tbdlab.myapp/app_webview/variations_seed_new": 
/data/data/org.tbdlab.myapp/app_webview/variations_seed_new: open failed: 
ENOENT (No such file or directory)
                      Failed reading seed file 
"/data/data/org.tbdlab.myapp/app_webview/variations_seed": 
/data/data/org.tbdlab.myapp/app_webview/variations_seed: open failed: 
ENOENT (No such file or directory)
I/chromium: [INFO:library_loader_hooks.cc(36)] Chromium logging enabled: 
level = 0, default verbosity = 0
I/cr_LibraryLoader: Expected native library version number "68.0.3440.91", 
actual native library version number "68.0.3440.91"
I/cr_BrowserStartup: Initializing chromium process, singleProcess=true
I/cr_base: Android Locale: en_US requires .pak files: []
I/art: Rejecting re-init on previously-failed class 
java.lang.Class<com.android.webview.chromium.WebResourceErrorAdapter>
       Rejecting re-init on previously-failed class 
java.lang.Class<com.android.webview.chromium.WebResourceErrorAdapter>
I/art: Rejecting re-init on previously-failed class 
java.lang.Class<com.android.webview.chromium.WebViewContentsClientAdapter$6>
       Rejecting re-init on previously-failed class 
java.lang.Class<com.android.webview.chromium.WebViewContentsClientAdapter$6>
       Rejecting re-init on previously-failed class 
java.lang.Class<com.android.webview.chromium.SafeBrowsingResponseAdapter>
       Rejecting re-init on previously-failed class 
java.lang.Class<com.android.webview.chromium.SafeBrowsingResponseAdapter>


my android test device is using android 5.1.1 and has the latest chromium 
vebview version available for this device (I checked on the playstore).
So I don't know if this issue was triggered by changes you made in CN1 that 
may have broke compatibility with some versions of android/webview or if 
this is the latest vebview version that is bugged (my device may have 
performed an autoupdate of webview chromium since last month)
I can probably make you a self-contained test case if necessary but I am 
not sure it would help as the issue seems to be with webview that can not 
load (so just trying to open a componentbrowser using webview might be 
enaugh as a test)
What version of vebview runs on your Nexus 5. Is it the latest one?




On Tuesday, September 4, 2018 at 2:15:09 PM UTC+2, Steve Hannah wrote:

> I just copied and pasted your sample into my own test case and it works 
> fine in Android 6 on Nexus 5.  What version of Android are you using?  Can 
> you provide a self-contained test case that will reproduce it?
>
> On Mon, Sep 3, 2018 at 10:50 PM, Shai Almog <[email protected] 
> <javascript:>> wrote:
>
>> Steve made some performance improvements to JS interconnect which might 
>> have triggered a race condition. We'll look into it.
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "CodenameOne Discussions" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] 
>> <javascript:>.
>> Visit this group at 
>> https://groups.google.com/group/codenameone-discussions.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/codenameone-discussions/399db7a2-33a8-451d-b788-504b0d86ab92%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/codenameone-discussions/399db7a2-33a8-451d-b788-504b0d86ab92%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> -- 
> Steve Hannah
> Software Developer
> Codename One
> http://www.codenameone.com
>

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/38d0a677-a0bc-42c4-9b0e-001fe5ad0f68%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to