Cocktail icon indicating copy to clipboard operation
Cocktail copied to clipboard

OpenFL / Android crashes on first touch with dce -full

Open RafaelOliveira opened this issue 10 years ago • 0 comments

With the option: < haxeflag name="-dce" value="full" / >

The app renders correctly, but as soon as I touch the screen, the app crashes. I compiled with the verbose option, and found this:

W/Binder ( 1960): Caught a RuntimeException from the binder stub implementation. W/Binder ( 1960): java.lang.NullPointerException W/Binder ( 1960): at android.inputmethodservice.IInputMethodWrapper.setSessionEnabled(IInputMethodWrapper.java:280) W/Binder ( 1960): at com.android.internal.view.IInputMethod$Stub.onTransact(IInputMethod.java:129) W/Binder ( 1960): at android.os.Binder.execTransact(Binder.java:404) W/Binder ( 1960): at dalvik.system.NativeStart.run(Native Method)

My test app went from 10,42mb to 8,75mb, so I think the support of dce is very important. On mobile every bit counts.

RafaelOliveira avatar Sep 16 '14 03:09 RafaelOliveira