Hi guys,
I have an app that works just fine in the Local Preview, but I cannot made it run on devices.
In the iOS, I get 2 errors in the compiler:
File duk_numconv.c
Address of 'nc-ctx->high_ok' will aways evaluate to 'true'
File UIResponder+FirstResponder.mm
Cannot create __weak reference in file using manual reference counting
__
In the Android, the preview compiles, but cannot open. The device is a RedMi2 (Model number HM 2LTE-BR) running Android 4.4.4 (KTU84P) and MIUI 7.1.1.0 (KHJMICK). Fuse 0.11.0 (build 6183)
Any ideas? (Output below)
__
Build started: FullCompile
Configuring
(5,779.17 ms)
Compiling syntax tree
(10,195.87 ms)
Generating code and data
(19,923.73 ms)
Building Android app
1/2: libitauMonitor.so
2/2: itauMonitor.apk
(82,499.61 ms)
Build completed in 118.41 seconds.
0 Warning(s)
0 Error(s)
Build ended
Installing APK on 1 device(s)
Launching actitity 'itauMonitor'
D/dalvikvm( 4555): Late-enabling CheckJNI
I/ActivityManager( 953): Start proc com.itauMonitor for activity com.itauMonitor/.itauMonitor: pid=4555 uid=10023 gids={50023, 3003, 1028, 1015}
I/octvm ( 1232): task pid 4555 have been add to group sys_app_bg.
I/octvm ( 1232): task pid 4555 have been add to group sys_app_fg.
D/ActivityThread( 4555): handleBindApplication:com.itauMonitor
D/ActivityThread( 4555): setTargetHeapUtilization:0.75
D/ActivityThread( 4555): setTargetHeapMinFree:2097152
D/itauMonitor( 4555): SUT: false CML: false SDK: 19
D/dalvikvm( 4555): Trying to load lib /data/app-lib/com.itauMonitor-1/libstlport_shared.so 0x42b24ee8
D/dalvikvm( 4555): Added shared lib /data/app-lib/com.itauMonitor-1/libstlport_shared.so 0x42b24ee8
D/dalvikvm( 4555): No JNI_OnLoad found in /data/app-lib/com.itauMonitor-1/libstlport_shared.so 0x42b24ee8, skipping init
D/dalvikvm( 4555): Trying to load lib /data/app-lib/com.itauMonitor-1/libV8Simple.so 0x42b24ee8
D/dalvikvm( 4555): Added shared lib /data/app-lib/com.itauMonitor-1/libV8Simple.so 0x42b24ee8
D/dalvikvm( 4555): No JNI_OnLoad found in /data/app-lib/com.itauMonitor-1/libV8Simple.so 0x42b24ee8, skipping init
D/dalvikvm( 4555): Trying to load lib /data/app-lib/com.itauMonitor-1/libitauMonitor.so 0x42b24ee8
D/dalvikvm( 4555): Added shared lib /data/app-lib/com.itauMonitor-1/libitauMonitor.so 0x42b24ee8
D/dalvikvm( 4555): GetMethodID: not returning static method Landroid/os/Process;.getTotalMemory ()J
D/dalvikvm( 4555): GetMethodID: not returning static method Landroid/os/Process;.getFreeMemory ()J
I/Adreno-EGL( 4555): <qeglDrvAPI_eglInitialize:410>: EGL 1.4 QUALCOMM build: ()
I/Adreno-EGL( 4555): OpenGL ES Shader Compiler Version: E031.24.02.07
I/Adreno-EGL( 4555): Build Date: 03/30/15 Mon
I/Adreno-EGL( 4555): Local Branch:
I/Adreno-EGL( 4555): Remote Branch:
I/Adreno-EGL( 4555): Local Patches:
I/Adreno-EGL( 4555): Reconstruct Branch:
W/dalvikvm( 4555): dvmFindClassByName rejecting 'com/uno/UnoObject'
W/dalvikvm( 4555): dvmFindClassByName rejecting 'com/uno/BoolArray'
W/dalvikvm( 4555): dvmFindClassByName rejecting 'com/uno/ByteArray'
W/dalvikvm( 4555): dvmFindClassByName rejecting 'com/uno/ShortArray'
W/dalvikvm( 4555): dvmFindClassByName rejecting 'com/uno/IntArray'
W/dalvikvm( 4555): dvmFindClassByName rejecting 'com/uno/LongArray'
W/dalvikvm( 4555): dvmFindClassByName rejecting 'com/uno/FloatArray'
W/dalvikvm( 4555): dvmFindClassByName rejecting 'com/uno/DoubleArray'
W/dalvikvm( 4555): dvmFindClassByName rejecting 'com/uno/StringArray'
W/dalvikvm( 4555): dvmFindClassByName rejecting 'com/uno/ObjectArray'
D/OpenGLRenderer( 4555): Enabling debug mode 0
I/dalvikvm( 4555): Total arena pages for JIT: 11
I/dalvikvm( 4555): Total arena pages for JIT: 12
I/Timeline( 4555): Timeline: Activity_idle id: android.os.BinderProxy@42b1f5a0 time:114857
V/WebViewChromiumFactoryProvider( 4555): Binding Chromium to main looper Looper (main, tid 1) {42b1c890}
I/LibraryLoader( 4555): Expected native library version number "",actual native library version number ""
I/chromium( 4555): [INFO:library_loader_hooks.cc(116)] Chromium logging enabled: level = 0, default verbosity = 0
I/BrowserStartupController( 4555): Initializing chromium process, renderers=0
W/chromium( 4555): [WARNING:proxy_service.cc(890)] PAC support disabled because there is no system implementation
D/EgretLoader( 4555): EgretLoader(Context context)
D/EgretLoader( 4555): The context is not activity
D/EgretLoader( 4555): EgretLoader(Context context)
D/EgretLoader( 4555): The context is not activity
D/miuisdk ( 4555): current sdk level is 4
W/AwContents( 4555): nativeOnDraw failed; clearing to background color.
I/Choreographer( 4555): Skipped 231 frames! The application may be doing too much work on its main thread.
I/itauMonitor( 4555): Preview detected an unhandled exception: Uno.AggregateException: One or more errors occurred.
I/itauMonitor( 4555): at Fuse.UpdateManager.Update(Fuse.Stage)
I/itauMonitor( 4555): at Fuse.UpdateManager.Update()
I/itauMonitor( 4555): at Fuse.AppBase.OnUpdate()
I/itauMonitor( 4555): at Outracks.Simulator.Application.OnUpdate()
I/itauMonitor( 4555): at Fuse.App.FrameCallback.doFrame(long)
W/AwContents( 4555): nativeOnDraw failed; clearing to background color.
W/Adreno-EGLSUB( 4555): <SwapBuffers:1332>: Invalid native buffer. Failed to queueBuffer
W/Adreno-EGLSUB( 4555): <updater_thread:428>: native buffer is NULL
W/Adreno-EGLSUB( 4555): <SwapBuffers:1332>: Invalid native buffer. Failed to queueBuffer
W/Adreno-EGLSUB( 4555): <updater_thread:428>: native buffer is NULL
D/dalvikvm( 4555): GC_CONCURRENT freed 1230K, 10% free 14375K/15888K, paused 3ms+2ms, total 21ms
D/dalvikvm( 4555): WAIT_FOR_CONCURRENT_GC blocked 18ms
W/Adreno-EGLSUB( 4555): <SwapBuffers:1332>: Invalid native buffer. Failed to queueBuffer
W/Adreno-EGLSUB( 4555): <updater_thread:428>: native buffer is NULL
D/itauMonitor( 4555): framebuffer pinned while app going into the background
D/AndroidRuntime( 4555): Shutting down VM
W/dalvikvm( 4555): threadid=1: thread exiting with uncaught exception (group=0x41d8fd58)
E/AndroidRuntime( 4555): FATAL EXCEPTION: main
E/AndroidRuntime( 4555): Process: com.itauMonitor, PID: 4555
E/AndroidRuntime( 4555): java.lang.RuntimeException: Unable to pause activity {com.itauMonitor/com.itauMonitor.itauMonitor}: java.lang.RuntimeException: framebuffer pinned while app going into the background
E/AndroidRuntime( 4555): at android.app.ActivityThread.performPauseActivity(ActivityThread.java:3064)
E/AndroidRuntime( 4555): at android.app.ActivityThread.performPauseActivity(ActivityThread.java:3019)
E/AndroidRuntime( 4555): at android.app.ActivityThread.handlePauseActivity(ActivityThread.java:2997)
E/AndroidRuntime( 4555): at android.app.ActivityThread.access$1000(ActivityThread.java:141)
E/AndroidRuntime( 4555): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1223)
E/AndroidRuntime( 4555): at android.os.Handler.dispatchMessage(Handler.java:102)
E/AndroidRuntime( 4555): at android.os.Looper.loop(Looper.java:136)
E/AndroidRuntime( 4555): at android.app.ActivityThread.main(ActivityThread.java:5113)
E/AndroidRuntime( 4555): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 4555): at java.lang.reflect.Method.invoke(Method.java:515)
E/AndroidRuntime( 4555): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793)
E/AndroidRuntime( 4555): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:609)
E/AndroidRuntime( 4555): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 4555): Caused by: java.lang.RuntimeException: framebuffer pinned while app going into the background
E/AndroidRuntime( 4555): at com.itauMonitor.ActivityNativeEntryPoints.cppOnPause(Native Method)
E/AndroidRuntime( 4555): at com.itauMonitor.itauMonitor.onPause(itauMonitor.java:253)
E/AndroidRuntime( 4555): at android.app.Activity.performPause(Activity.java:5352)
E/AndroidRuntime( 4555): at android.app.Instrumentation.callActivityOnPause(Instrumentation.java:1233)
E/AndroidRuntime( 4555): at android.app.ActivityThread.performPauseActivity(ActivityThread.java:3050)
E/AndroidRuntime( 4555): ... 12 more
I/octvm_klo( 1777): [am_crash][1459395023]:[4555,0,com.itauMonitor,11058758,java.lang.RuntimeException,framebuffer pinned while app going into the background,ActivityNativeEntryPoints.java,-2]
I/WhetstoneService( 1232): Receive am_crash event for pid: 4555
I/Process ( 4555): Sending signal. PID: 4555 SIG: 9
I/ActivityManager( 953): Process com.itauMonitor (pid 4555) has died.
W/InputMethodManagerService( 953): Got RemoteException sending setActive(false) notification to pid 4555 uid 10023
Process com.itauMonitor terminated.