[Galaxy Ace II Android Development] kptB:
hi,

I've installed a fresh rom+kernel yesterday (I've had other CM11 rom before). I have a problem with Suunto Movescount app, that crashes at startup.

After some debugging I've come to stacktrace:

01-05 00:04:25.809 20947-20947/com.suunto.movescount.android I/OMXClient: Using client-side OMX mux.

[ 01-05 00:04:25.809 1756:15600 D/ ]

In STEOMXCodecsPlugin:: makeComponentInstance

OMX.ST.VFM.H264Enc

01-05 00:04:25.822 20947-20947/com.suunto.movescount.android I/OMXClient: Meticulus: eProfile=717728315 eLevel=990723504 nProfileIndex=0

01-05 00:04:25.828 20947-20947/com.suunto.movescount.android I/OMXClient: Using client-side OMX mux.

[ 01-05 00:04:25.850 20947:20947 D/ ]

In STEOMXCodecsPlugin:: Constructor

[ 01-05 00:04:25.850 20947:20947 D/ ]

In STEOMXCodecsPlugin:: dlopen passed

01-05 00:04:25.858 20947-20947/com.suunto.movescount.android I/ENSLoader: Scanning directory /system/lib/ste_omxcomponents/ for STE ENS based components

01-05 00:04:26.266 20947-20947/com.suunto.movescount.android E/BellagioCore: ST Static Component Loader : Cannot open OpenMAX registry file /tmp/.omxregister

01-05 00:04:26.266 20947-20947/com.suunto.movescount.android E/BellagioCore: Component loader 1 constructor fails. Error= 0x80001000

[ 01-05 00:04:26.266 20947:20947 D/ ]

In STEOMXCodecsPlugin:: GetpOMX_Init passed

[ 01-05 00:04:26.270 20947:20947 E/ ]

In Camera destructor GetpOMX_Deinit passed

01-05 00:04:26.272 20947-20947/com.suunto.movescount.android D/AndroidRuntime: Shutting down VM

01-05 00:04:26.272 20947-20947/com.suunto.movescount.android W/dalvikvm: threadid=1: thread exiting with uncaught exception (group=0x2c808ce0)

01-05 00:04:26.272 20947-20947/com.suunto.movescount.android W/System.err: java.lang.RuntimeException: Unable to create application com.suunto.movescount.SuuntoApplication: java.lang.IllegalArgumentException

01-05 00:04:26.273 20947-20947/com.suunto.movescount.android W/System.err: at android.app.ActivityThread.handleBindApplication(Unknown Source)

01-05 00:04:26.273 20947-20947/com.suunto.movescount.android W/System.err: at android.app.ActivityThread.access$1500(Unknown Source)

01-05 00:04:26.273 20947-20947/com.suunto.movescount.android W/System.err: at android.app.ActivityThread$H.handleMessage(Unknown Source)

01-05 00:04:26.273 20947-20947/com.suunto.movescount.android W/System.err: at android.os.Handler.dispatchMessage(Unknown Source)

01-05 00:04:26.273 20947-20947/com.suunto.movescount.android W/System.err: at android.os.Looper.loop(Unknown Source)

01-05 00:04:26.273 20947-20947/com.suunto.movescount.android W/System.err: at android.app.ActivityThread.main(Unknown Source)

01-05 00:04:26.273 20947-20947/com.suunto.movescount.android W/System.err: at java.lang.reflect.Method.invokeNative(Native Method)

01-05 00:04:26.273 20947-20947/com.suunto.movescount.android W/System.err: at java.lang.reflect.Method.invoke(Unknown Source)

01-05 00:04:26.273 20947-20947/com.suunto.movescount.android W/System.err: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(Unknown Source)

01-05 00:04:26.274 20947-20947/com.suunto.movescount.android W/System.err: at com.android.internal.os.ZygoteInit.main(Unknown Source)

01-05 00:04:26.274 20947-20947/com.suunto.movescount.android W/System.err: at dalvik.system.NativeStart.main(Native Method)

01-05 00:04:26.274 20947-20947/com.suunto.movescount.android W/System.err: Caused by: java.lang.IllegalArgumentException

01-05 00:04:26.274 20947-20947/com.suunto.movescount.android W/System.err: at android.media.MediaCodecList.getCodecCapabilities(Native Method)

01-05 00:04:26.275 20947-20947/com.suunto.movescount.android W/System.err: at android.media.MediaCodecInfo.getCapabilitiesForType(Unknown Source)

01-05 00:04:26.275 20947-20947/com.suunto.movescount.android W/System.err: at com.suunto.movescount.util.DeviceInfo.queryAVCCodec(SourceFile:552)

01-05 00:04:26.275 20947-20947/com.suunto.movescount.android W/System.err: at com.suunto.movescount.util.DeviceInfo.<init>(SourceFile:800)

01-05 00:04:26.275 20947-20947/com.suunto.movescount.android W/System.err: at com.suunto.movescount.dagger.d.get(SourceFile:2027)

01-05 00:04:26.275 20947-20947/com.suunto.movescount.android W/System.err: at a.a.a.get(SourceFile:46)

01-05 00:04:26.275 20947-20947/com.suunto.movescount.android W/System.err: at com.suunto.movescount.dagger.c.get(SourceFile:1036)

01-05 00:04:26.275 20947-20947/com.suunto.movescount.android W/System.err: at a.a.a.get(SourceFile:46)

01-05 00:04:26.275 20947-20947/com.suunto.movescount.android W/System.err: at com.suunto.movescount.dagger.ai.get(SourceFile:1041)

01-05 00:04:26.276 20947-20947/com.suunto.movescount.android W/System.err: at com.suunto.movescount.dagger.u.b(SourceFile:1617)

01-05 00:04:26.276 20947-20947/com.suunto.movescount.android W/System.err: at com.suunto.movescount.SuuntoApplication.onCreate(SourceFile:8034)

01-05 00:04:26.276 20947-20947/com.suunto.movescount.android W/System.err: at android.app.Instrumentation.callApplicationOnCreate(Unknown Source)

01-05 00:04:26.276 20947-20947/com.suunto.movescount.android W/System.err:	... 11 more

​

It seems that happens for the omx.ffmpeg.h264.encoder from media_codecs.xml.

Is it a bug in ROM or something local to me? I can reproduce that in android studio generated app.

thanks

wd