Numerous Unknown Android Preview Errors

Hi Fuse Team Memebers,

Everytime I go about running Fuse Android Preview I get a log of rejections, skipping, blockage …etc. But the app does run, therefore I’m okay. Anyhow, this log does frigthen me and I wonder how my app, built with Fuse is operating internal, as well as performance. Here is the log:

Configuring (12.30s)
Compiling syntax tree (28.28s)
Generating code and data (56.42s)
Building Android app
1/2: libSearchBook.so
2/2: SearchBook.apk
(23.41s)

Build completed in 120.44 seconds.
    0 Warning(s)
    0 Error(s)

# Build complete.

Installing APK on 1 device(s)
Launching actitity 'SearchBook'
I/ActivityManager(  440): Start proc com.SearchBook for activity com.SearchBook/.SearchBook: pid=21293 uid=10011 gids={3003, 1015, 1028}
E/Trace   (21293): error opening trace file: No such file or directory (2)
V/ActivityThread(21293): Class path: /data/app/com.SearchBook-1.apk, JNI path: /data/data/com.SearchBook/lib
W/dalvikvm(21293): VFY: unable to resolve virtual method 71: Landroid/app/Activity;.onProvideAssistData (Landroid/os/Bundle;)V
D/SearchBook(21293): SUT: true  CML: true  SDK: 16
I/Adreno200-EGL(21293): <qeglDrvAPI_eglInitialize:299>: EGL 1.4 QUALCOMM build:  (CL3050818)
I/Adreno200-EGL(21293): Build Date: 01/18/13 Fri
I/Adreno200-EGL(21293): Local Branch: lge_changes
I/Adreno200-EGL(21293): Remote Branch: 
I/Adreno200-EGL(21293): Local Patches: 
I/Adreno200-EGL(21293): Reconstruct Branch: 
W/dalvikvm(21293): dvmFindClassByName rejecting 'com/uno/UnoObject'
W/dalvikvm(21293): dvmFindClassByName rejecting 'com/uno/BoolArray'
W/dalvikvm(21293): dvmFindClassByName rejecting 'com/uno/ByteArray'
W/dalvikvm(21293): dvmFindClassByName rejecting 'com/uno/ShortArray'
W/dalvikvm(21293): dvmFindClassByName rejecting 'com/uno/IntArray'
W/dalvikvm(21293): dvmFindClassByName rejecting 'com/uno/LongArray'
W/dalvikvm(21293): dvmFindClassByName rejecting 'com/uno/FloatArray'
W/dalvikvm(21293): dvmFindClassByName rejecting 'com/uno/DoubleArray'
W/dalvikvm(21293): dvmFindClassByName rejecting 'com/uno/StringArray'
W/dalvikvm(21293): dvmFindClassByName rejecting 'com/uno/ObjectArray'
I/Choreographer(21293): Skipped 79 frames!  The application may be doing too much work on its main thread.
I/Choreographer(21293): Skipped 78 frames!  The application may be doing too much work on its main thread.
I/Choreographer(21293): Skipped 157 frames!  The application may be doing too much work on its main thread.
I/Choreographer(21293): Skipped 137 frames!  The application may be doing too much work on its main thread.
I/Choreographer(21293): Skipped 129 frames!  The application may be doing too much work on its main thread.
D/dalvikvm(21293): GC_CONCURRENT freed 4037K, 35% free 9201K/13955K, paused 22ms+33ms, total 335ms
D/dalvikvm(21293): GC_CONCURRENT freed 1794K, 35% free 9122K/13955K, paused 18ms+7ms, total 141ms
D/dalvikvm(21293): WAIT_FOR_CONCURRENT_GC blocked 0ms
D/dalvikvm(21293): GC_EXPLICIT freed 1250K, 35% free 9099K/13955K, paused 11ms+5ms, total 58ms
W/TextView(21293): mEditor is null
W/TextView(21293): mEditor is null
I/Choreographer(21293): Skipped 158 frames!  The application may be doing too much work on its main thread.
W/TextView(21293): mEditor is null
W/TextView(21293): mEditor is null
I/Choreographer(21293): Skipped 44 frames!  The application may be doing too much work on its main thread.
I/Choreographer(21293): Skipped 85 frames!  The application may be doing too much work on its main thread.
W/TextView(21293): mEditor is null
W/TextView(21293): mEditor is null
I/Choreographer(21293): Skipped 89 frames!  The application may be doing too much work on its main thread.
I/Choreographer(21293): Skipped 41 frames!  The application may be doing too much work on its main thread.
D/dalvikvm(21293): GC_CONCURRENT freed 1625K, 34% free 9224K/13955K, paused 22ms+54ms, total 325ms
W/TextView(21293): mEditor is null
W/TextView(21293): mEditor is null
I/Choreographer(21293): Skipped 91 frames!  The application may be doing too much work on its main thread.
I/Choreographer(21293): Skipped 53 frames!  The application may be doing too much work on its main thread.
W/TextView(21293): mEditor is null
W/TextView(21293): mEditor is null
I/Choreographer(21293): Skipped 91 frames!  The application may be doing too much work on its main thread.
I/Choreographer(21293): Skipped 84 frames!  The application may be doing too much work on its main thread.
W/TextView(21293): mEditor is null
W/TextView(21293): mEditor is null
W/TextView(21293): mEditor is null
W/TextView(21293): mEditor is null
I/Choreographer(21293): Skipped 75 frames!  The application may be doing too much work on its main thread.
W/TextView(21293): mEditor is null
W/TextView(21293): mEditor is null
I/Choreographer(21293): Skipped 75 frames!  The application may be doing too much work on its main thread.
D/dalvikvm(21293): GC_CONCURRENT freed 1727K, 34% free 9220K/13955K, paused 12ms+30ms, total 198ms
I/Choreographer(21293): Skipped 76 frames!  The application may be doing too much work on its main thread.
W/TextView(21293): mEditor is null
W/TextView(21293): mEditor is null
W/TextView(21293): mEditor is null
W/TextView(21293): mEditor is null
I/Choreographer(21293): Skipped 91 frames!  The application may be doing too much work on its main thread.
D/dalvikvm(21293): WAIT_FOR_CONCURRENT_GC blocked 0ms
D/dalvikvm(21293): GC_EXPLICIT freed 727K, 35% free 9130K/13955K, paused 3ms+4ms, total 50ms
D/dalvikvm(21293): WAIT_FOR_CONCURRENT_GC blocked 0ms
D/dalvikvm(21293): GC_EXPLICIT freed 27K, 35% free 9103K/13955K, paused 4ms+3ms, total 43ms
D/dalvikvm(21293): WAIT_FOR_CONCURRENT_GC blocked 0ms
D/dalvikvm(21293): GC_EXPLICIT freed <1K, 35% free 9103K/13955K, paused 35ms+3ms, total 92ms
D/dalvikvm(21293): WAIT_FOR_CONCURRENT_GC blocked 0ms
D/dalvikvm(21293): GC_EXPLICIT freed <1K, 35% free 9103K/13955K, paused 5ms+3ms, total 51ms
I/Choreographer(21293): Skipped 106 frames!  The application may be doing too much work on its main thread.
D/dalvikvm(21293): WAIT_FOR_CONCURRENT_GC blocked 0ms
D/dalvikvm(21293): GC_EXPLICIT freed 32K, 35% free 9101K/13955K, paused 17ms+4ms, total 79ms
D/dalvikvm(21293): WAIT_FOR_CONCURRENT_GC blocked 0ms
D/dalvikvm(21293): GC_EXPLICIT freed 15K, 35% free 9086K/13955K, paused 42ms+4ms, total 86ms

I’m wondering if I’m doing anything wrong that is causing this? Is this normal?

It’s not a comfortable sight to see so many Frames that are “skipped”, “too much work on it’s main thread”, or … “is null”, or … “rejecting”, …etc.

Would be nice to understand this in depth.

Thanks.

Elizabeth

Hi Elizabeth, Sorry to hear about the issues you are having there. Could you give us a little info to aid in the process of finding the issue?

Knowing your device & model and also the OS version would help a lot.

Regards, Chris

Hi Chris,

Thanks for your reply back.

My Device Details:

Model = LG-P705g OS Version = Android 4.1.2

Cheers,

Elizabeth

Thanks I will ping some of the folks that focus on performance so we can have a look at this. Does this happen when previewing our example apps too?

We take performance very seriously an those skipped frames certainly shouldnt be happening. We render our UI on the android UI thread (making sure to keep that very fast) and JS runs in a seperate thread. So unless there are some operations blocking the UI thread this shouldnt be happening. If this is only happening on your own app then would you mind sending that project to https://www.dropbox.com/request/ZgndLtJQm5eGzG9cicGK?

Thanks for the report

Hi Chris.

I took time out today to do some testing.

Ran Minimum of three times Android App Preview on:

#1. Pull To Refresh = Both First time no errors. Second time errors and square black icons. Third time I uno cleaned, still got errors but icons okay.

#2. Swipe Places and Pages using JS = Errors all three times. Pages Using JS icons black twice, once okay.

Example of Example App Error Log:

Configuring (8.31s)
Compiling syntax tree (22.69s)
Generating code and data (65.02s)
Building Android app
1/2: libSwipePlaces.so
2/2: SwipePlaces.apk
(23.79s)

Build completed in 119.84 seconds.
    0 Warning(s)
    0 Error(s)

# Build complete.

Installing APK on 1 device(s)
Launching actitity 'SwipePlaces'
I/ActivityManager(  440): Start proc com.SwipePlaces for activity com.SwipePlaces/.SwipePlaces: pid=31427 uid=10068 gids={3003, 1015, 1028}
E/Trace   (31427): error opening trace file: No such file or directory (2)
V/ActivityThread(31427): Class path: /data/app/com.SwipePlaces-1.apk, JNI path: /data/data/com.SwipePlaces/lib
W/dalvikvm(31427): VFY: unable to resolve virtual method 71: Landroid/app/Activity;.onProvideAssistData (Landroid/os/Bundle;)V
D/SwipePlaces(31427): SUT: true  CML: true  SDK: 16
I/Adreno200-EGL(31427): <qeglDrvAPI_eglInitialize:299>: EGL 1.4 QUALCOMM build:  (CL3050818)
I/Adreno200-EGL(31427): Build Date: 01/18/13 Fri
I/Adreno200-EGL(31427): Local Branch: lge_changes
I/Adreno200-EGL(31427): Remote Branch: 
I/Adreno200-EGL(31427): Local Patches: 
I/Adreno200-EGL(31427): Reconstruct Branch: 
W/dalvikvm(31427): dvmFindClassByName rejecting 'com/uno/UnoObject'
W/dalvikvm(31427): dvmFindClassByName rejecting 'com/uno/BoolArray'
W/dalvikvm(31427): dvmFindClassByName rejecting 'com/uno/ByteArray'
W/dalvikvm(31427): dvmFindClassByName rejecting 'com/uno/ShortArray'
W/dalvikvm(31427): dvmFindClassByName rejecting 'com/uno/IntArray'
W/dalvikvm(31427): dvmFindClassByName rejecting 'com/uno/LongArray'
W/dalvikvm(31427): dvmFindClassByName rejecting 'com/uno/FloatArray'
W/dalvikvm(31427): dvmFindClassByName rejecting 'com/uno/DoubleArray'
W/dalvikvm(31427): dvmFindClassByName rejecting 'com/uno/StringArray'
W/dalvikvm(31427): dvmFindClassByName rejecting 'com/uno/ObjectArray'
I/Choreographer(31427): Skipped 482 frames!  The application may be doing too much work on its main thread.
I/Choreographer(31427): Skipped 290 frames!  The application may be doing too much work on its main thread.
I/Choreographer(31427): Skipped 345 frames!  The application may be doing too much work on its main thread.

#3. Both my Apps recieved errors everytime when previewing as well. Icons were Black.

Log =

Configuring (12.97s)
Compiling syntax tree (29.02s)
Generating code and data (54.33s)
Building Android app
1/2: libList.so
2/2: List.apk
(24.56s)

Build completed in 120.91 seconds.
    0 Warning(s)
    0 Error(s)

# Build complete.

Installing APK on 1 device(s)
Launching actitity 'List'
I/ActivityManager(  440): Start proc com.List for activity com.List/.List: pid=27526 uid=10069 gids={3003, 1015, 1028}
E/Trace   (27526): error opening trace file: No such file or directory (2)
V/ActivityThread(27526): Class path: /data/app/com.List-1.apk, JNI path: /data/data/com.List/lib
W/dalvikvm(27526): VFY: unable to resolve virtual method 71: Landroid/app/Activity;.onProvideAssistData (Landroid/os/Bundle;)V
D/List    (27526): SUT: true  CML: true  SDK: 16
I/Adreno200-EGL(27526): <qeglDrvAPI_eglInitialize:299>: EGL 1.4 QUALCOMM build:  (CL3050818)
I/Adreno200-EGL(27526): Build Date: 01/18/13 Fri
I/Adreno200-EGL(27526): Local Branch: lge_changes
I/Adreno200-EGL(27526): Remote Branch: 
I/Adreno200-EGL(27526): Local Patches: 
I/Adreno200-EGL(27526): Reconstruct Branch: 
W/dalvikvm(27526): dvmFindClassByName rejecting 'com/uno/UnoObject'
W/dalvikvm(27526): dvmFindClassByName rejecting 'com/uno/BoolArray'
W/dalvikvm(27526): dvmFindClassByName rejecting 'com/uno/ByteArray'
W/dalvikvm(27526): dvmFindClassByName rejecting 'com/uno/ShortArray'
W/dalvikvm(27526): dvmFindClassByName rejecting 'com/uno/IntArray'
W/dalvikvm(27526): dvmFindClassByName rejecting 'com/uno/LongArray'
W/dalvikvm(27526): dvmFindClassByName rejecting 'com/uno/FloatArray'
W/dalvikvm(27526): dvmFindClassByName rejecting 'com/uno/DoubleArray'
W/dalvikvm(27526): dvmFindClassByName rejecting 'com/uno/StringArray'
W/dalvikvm(27526): dvmFindClassByName rejecting 'com/uno/ObjectArray'
I/Choreographer(27526): Skipped 33 frames!  The application may be doing too much work on its main thread.
I/Choreographer(27526): Skipped 38 frames!  The application may be doing too much work on its main thread.
E/libEGL  (27526): call to OpenGL ES API with no current context (logged once per thread)
I/Choreographer(27526): Skipped 214 frames!  The application may be doing too much work on its main thread.
I/Choreographer(27526): Skipped 66 frames!  The application may be doing too much work on its main thread.
W/SurfaceView(27526): Skipping c.surfaceCreated() due to invalid
W/ManagedEGLContext(27526): doTerminate failed: EGL count is 2 but managed count is 1

*Note: I tried with and without other apps running, as well as uno clean projects … results were the same. It seems the skipped is always there but the very bottom errors are once and a while. :expressionless:

Hope this helps! :smiley:

Cheers,

Elizabeth

Hi Elizabeth, Just popping in to say your issue has not been forgotten.

We don’t have fixes you you yet, but it is in the hands of folks here and we will get back to you as soon as we have something.

Thanks @Chris!