CrossPlatformLocation
Android kills the application right after giving the permissions. and is always closed. Using the demo and the only change and cUpdaterLocationURL = '192.168.1.114:8080/insert'; // Replace this with the URL you send updates to
D11
Are you saying without this change it does not crash? Without any error messages this may be difficult to diagnose - I suggest using a logcat viewer (such as Device Lens) to ascertain any errors emitted by the OS.
Also, please indicate what version of Android you are using, and the device model. When creating an issue, you are prompted for this kind of info.
It crashes whenever I accept the Location permission. I'm testing on 2 devices LG G5 Android 7 Nokia 2.4 Android 12
09-08 08:44:22.474: A/art(11451): art/runtime/java_vm_ext.cc:470] JNI DETECTED ERROR IN APPLICATION: JNI RegisterNatives called with pending exception java.lang.NoSuchMethodError: no static or non-static method "Lcom/embarcadero/services/CrossPlatformLocationServiceProxyInterface;.dispatchToNative2(Ljava/lang/String;Ljava/lang/String;[Ljava/lang/Object;J)Ljava/lang/Object;" 09-08 08:44:22.474: A/art(11451): art/runtime/java_vm_ext.cc:470] at void com.embarcadero.rtl.ProxyService.onCreateNative(java.lang.Object, java.lang.String) (ProxyService.java:-2) 09-08 08:44:22.474: A/art(11451): art/runtime/java_vm_ext.cc:470] at void com.embarcadero.rtl.ProxyService.onCreate(java.lang.Object, java.lang.String) (ProxyService.java:51) 09-08 08:44:22.474: A/art(11451): art/runtime/java_vm_ext.cc:470] at void com.embarcadero.services.CrossPlatformLocationService.onCreate() (CrossPlatformLocationService.java:41) 09-08 08:44:22.474: A/art(11451): art/runtime/java_vm_ext.cc:470] at void android.app.ActivityThread.handleCreateService(android.app.ActivityThread$CreateServiceData) (ActivityThread.java:3298) 09-08 08:44:22.474: A/art(11451): art/runtime/java_vm_ext.cc:470] at void android.app.ActivityThread.-wrap5(android.app.ActivityThread, android.app.ActivityThread$CreateServiceData) (ActivityThread.java:-1) 09-08 08:44:22.474: A/art(11451): art/runtime/java_vm_ext.cc:470] at void android.app.ActivityThread$H.handleMessage(android.os.Message) (ActivityThread.java:1618) 09-08 08:44:22.474: A/art(11451): art/runtime/java_vm_ext.cc:470] at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:102) 09-08 08:44:22.474: A/art(11451): art/runtime/java_vm_ext.cc:470] at void android.os.Looper.loop() (Looper.java:154) 09-08 08:44:22.474: A/art(11451): art/runtime/java_vm_ext.cc:470] at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:6311) 09-08 08:44:22.474: A/art(11451): art/runtime/java_vm_ext.cc:470] at java.lang.Object java.lang.reflect.Method.invoke!(java.lang.Object, java.lang.Object[]) (Method.java:-2) 09-08 08:44:22.474: A/art(11451): art/runtime/java_vm_ext.cc:470] at void com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run() (ZygoteInit.java:872) 09-08 08:44:22.474: A/art(11451): art/runtime/java_vm_ext.cc:470] at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:762) 09-08 08:44:22.474: A/art(11451): art/runtime/java_vm_ext.cc:470] 09-08 08:44:22.474: A/art(11451): art/runtime/java_vm_ext.cc:470] in call to RegisterNatives 09-08 08:44:22.474: A/art(11451): art/runtime/java_vm_ext.cc:470] from void com.embarcadero.rtl.ProxyService.onCreateNative(java.lang.Object, java.lang.String) 09-08 08:44:22.474: A/art(11451): art/runtime/java_vm_ext.cc:470] "main" prio=5 tid=1 Runnable 09-08 08:44:22.474: A/art(11451): art/runtime/java_vm_ext.cc:470] | group="main" sCount=0 dsCount=0 obj=0x74ec19f0 self=0xaf305400 09-08 08:44:22.474: A/art(11451): art/runtime/java_vm_ext.cc:470] | sysTid=11451 nice=0 cgrp=default sched=0/0 handle=0xb21b0534 09-08 08:44:22.474: A/art(11451): art/runtime/java_vm_ext.cc:470] | state=R schedstat=( 668221726 10281868 548 ) utm=46 stm=20 core=4 HZ=100 09-08 08:44:22.474: A/art(11451): art/runtime/java_vm_ext.cc:470] | stack=0xbe1f9000-0xbe1fb000 stackSize=8MB 09-08 08:44:22.474: A/art(11451): art/runtime/java_vm_ext.cc:470] | held mutexes= "mutator lock"(shared held) 09-08 08:44:22.474: A/art(11451): art/runtime/java_vm_ext.cc:470] native: #00 pc 0034d481 /system/lib/libart.so (_ZN3art15DumpNativeStackERNSt3__113basic_ostreamIcNS0_11char_traitsIcEEEEiP12BacktraceMapPKcPNS_9ArtMethodEPv+128) 09-08 08:44:22.474: A/art(11451): art/runtime/java_vm_ext.cc:470] native: #01 pc 0032de41 /system/lib/libart.so (_ZNK3art6Thread9DumpStackERNSt3__113basic_ostreamIcNS1_11char_traitsIcEEEEbP12BacktraceMap+308) 09-08 08:44:22.474: A/art(11451): art/runtime/java_vm_ext.cc:470] native: #02 pc 002375d5 /system/lib/libart.so (ZN3art9JavaVMExt8JniAbortEPKcS2+848) 09-08 08:44:22.474: A/art(11451): art/runtime/java_vm_ext.cc:470] native: #03 pc 00237af7 /system/lib/libart.so (_ZN3art9JavaVMExt9JniAbortVEPKcS2_St9__va_list+58) 09-08 08:44:22.474: A/art(11451): art/runtime/java_vm_ext.cc:470] native: #04 pc 000ca21b /system/lib/libart.so (_ZN3art11ScopedCheck6AbortFEPKcz+46) 09-08 08:44:22.474: A/art(11451): art/runtime/java_vm_ext.cc:470] native: #05 pc 000c9e07 /system/lib/libart.so (_ZN3art11ScopedCheck11CheckThreadEP7_JNIEnv+362) 09-08 08:44:22.474: A/art(11451): art/runtime/java_vm_ext.cc:470] native: #06 pc 000c8e1f /system/lib/libart.so (_ZN3art11ScopedCheck22CheckPossibleHeapValueERNS_18ScopedObjectAccessEcNS_12JniValueTypeE+26) 09-08 08:44:22.474: A/art(11451): art/runtime/java_vm_ext.cc:470] native: #07 pc 000c82fb /system/lib/libart.so (_ZN3art11ScopedCheck5CheckERNS_18ScopedObjectAccessEbPKcPNS_12JniValueTypeE+802) 09-08 08:44:22.474: A/art(11451): art/runtime/java_vm_ext.cc:470] native: #08 pc 000c590d /system/lib/libart.so (_ZN3art8CheckJNI15RegisterNativesEP7_JNIEnvP7_jclassPK15JNINativeMethodi+464) 09-08 08:44:22.474: A/art(11451): art/runtime/java_vm_ext.cc:470] native: #09 pc 004489eb /data/app/com.embarcadero.CrossPlatformLocationD11-2/lib/arm/libCrossPlatformLocationService.so (???) 09-08 08:44:22.474: A/art(11451): art/runtime/java_vm_ext.cc:470] native: #10 pc 003620ff /data/app/com.embarcadero.CrossPlatformLocationD11-2/lib/arm/libCrossPlatformLocationService.so (???) 09-08 08:44:22.474: A/art(11451): art/runtime/java_vm_ext.cc:470] native: #11 pc 0036219f /data/app/com.embarcadero.CrossPlatformLocationD11-2/lib/arm/libCrossPlatformLocationService.so (???) 09-08 08:44:22.474: A/art(11451): art/runtime/java_vm_ext.cc:470] native: #12 pc 0035610d /data/app/com.embarcadero.CrossPlatformLocationD11-2/lib/arm/libCrossPlatformLocationService.so (???) 09-08 08:44:22.475: A/art(11451): art/runtime/java_vm_ext.cc:470] native: #13 pc 008115d1 /data/app/com.embarcadero.CrossPlatformLocationD11-2/lib/arm/libCrossPlatformLocationService.so (_NativeMain+24) 09-08 08:44:22.475: A/art(11451): art/runtime/java_vm_ext.cc:470] native: #14 pc 00592969 /data/app/com.embarcadero.CrossPlatformLocationD11-2/lib/arm/libCrossPlatformLocationService.so (???) 09-08 08:44:22.475: A/art(11451): art/runtime/java_vm_ext.cc:470] native: #15 pc 005929f7 /data/app/com.embarcadero.CrossPlatformLocationD11-2/lib/arm/libCrossPlatformLocationService.so (OnCreateDelphi+126) 09-08 08:44:22.475: A/art(11451): art/runtime/java_vm_ext.cc:470] native: #16 pc 0019532b /data/app/com.embarcadero.CrossPlatformLocationD11-2/lib/arm/libProxyAndroidService.so (Java_com_embarcadero_rtl_ProxyService_onCreateNative+98) 09-08 08:44:22.475: A/art(11451): art/runtime/java_vm_ext.cc:470] native: #17 pc 0010de35 /data/app/com.embarcadero.CrossPlatformLocationD11-2/oat/arm/base.odex (Java_com_embarcadero_rtl_ProxyService_onCreateNative__Ljava_lang_Object_2Ljava_lang_String_2+112) 09-08 08:44:22.475: A/art(11451): art/runtime/java_vm_ext.cc:470] at com.embarcadero.rtl.ProxyService.onCreateNative(Native method) 09-08 08:44:22.475: A/art(11451): art/runtime/java_vm_ext.cc:470] at com.embarcadero.rtl.ProxyService.onCreate(ProxyService.java:51) 09-08 08:44:22.475: A/art(11451): art/runtime/java_vm_ext.cc:470] at com.embarcadero.services.CrossPlatformLocationService.onCreate(CrossPlatformLocationService.java:41) 09-08 08:44:22.475: A/art(11451): art/runtime/java_vm_ext.cc:470] at android.app.ActivityThread.handleCreateService(ActivityThread.java:3298) 09-08 08:44:22.475: A/art(11451): art/runtime/java_vm_ext.cc:470] at android.app.ActivityThread.-wrap5(ActivityThread.java:-1) 09-08 08:44:22.475: A/art(11451): art/runtime/java_vm_ext.cc:470] at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1618) 09-08 08:44:22.475: A/art(11451): art/runtime/java_vm_ext.cc:470] at android.os.Handler.dispatchMessage(Handler.java:102) 09-08 08:44:22.475: A/art(11451): art/runtime/java_vm_ext.cc:470] at android.os.Looper.loop(Looper.java:154) 09-08 08:44:22.475: A/art(11451): art/runtime/java_vm_ext.cc:470] at android.app.ActivityThread.main(ActivityThread.java:6311) 09-08 08:44:22.475: A/art(11451): art/runtime/java_vm_ext.cc:470] at java.lang.reflect.Method.invoke!(Native method) 09-08 08:44:22.475: A/art(11451): art/runtime/java_vm_ext.cc:470] at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:872) 09-08 08:44:22.475: A/art(11451): art/runtime/java_vm_ext.cc:470] at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:762) 09-08 08:44:22.475: A/art(11451): art/runtime/java_vm_ext.cc:470] 09-08 08:44:22.550: A/art(11451): art/runtime/runtime.cc:403] Runtime aborting... 09-08 08:44:22.550: A/art(11451): art/runtime/runtime.cc:403] Aborting thread: 09-08 08:44:22.550: A/art(11451): art/runtime/runtime.cc:403] "main" prio=5 tid=1 Native 09-08 08:44:22.550: A/art(11451): art/runtime/runtime.cc:403] | group="" sCount=0 dsCount=0 obj=0x74ec19f0 self=0xaf305400 09-08 08:44:22.550: A/art(11451): art/runtime/runtime.cc:403] | sysTid=11451 nice=0 cgrp=default sched=0/0 handle=0xb21b0534 09-08 08:44:22.550: A/art(11451): art/runtime/runtime.cc:403] | state=R schedstat=( 696327297 10560046 666 ) utm=48 stm=21 core=5 HZ=100 09-08 08:44:22.550: A/art(11451): art/runtime/runtime.cc:403] | stack=0xbe1f9000-0xbe1fb000 stackSize=8MB 09-08 08:44:22.550: A/art(11451): art/runtime/runtime.cc:403] | held mutexes= "abort lock" 09-08 08:44:22.550: A/art(11451): art/runtime/runtime.cc:403] native: #00 pc 0034d481 /system/lib/libart.so (_ZN3art15DumpNativeStackERNSt3__113basic_ostreamIcNS0_11char_traitsIcEEEEiP12BacktraceMapPKcPNS_9ArtMethodEPv+128) 09-08 08:44:22.550: A/art(11451): art/runtime/runtime.cc:403] native: #01 pc 0032de41 /system/lib/libart.so (_ZNK3art6Thread9DumpStackERNSt3__113basic_ostreamIcNS1_11char_traitsIcEEEEbP12BacktraceMap+308) 09-08 08:44:22.550: A/art(11451): art/runtime/runtime.cc:403] native: #02 pc 00320fe1 /system/lib/libart.so (_ZNK3art10AbortState10DumpThreadERNSt3__113basic_ostreamIcNS1_11char_traitsIcEEEEPNS_6ThreadE+24) 09-08 08:44:22.550: A/art(11451): art/runtime/runtime.cc:403] native: #03 pc 00320e69 /system/lib/libart.so (_ZNK3art10AbortState4DumpERNSt3__113basic_ostreamIcNS1_11char_traitsIcEEEE+424) 09-08 08:44:22.550: A/art(11451): art/runtime/runtime.cc:403] native: #04 pc 00317ceb /system/lib/libart.so (_ZN3art7Runtime5AbortEv+90) 09-08 08:44:22.550: A/art(11451): art/runtime/runtime.cc:403] native: #05 pc 000b4879 /system/lib/libart.so (_ZN3art10LogMessageD2Ev+864) 09-08 08:44:22.550: A/art(11451): art/runtime/runtime.cc:403] native: #06 pc 00237905 /system/lib/libart.so (ZN3art9JavaVMExt8JniAbortEPKcS2+1664) 09-08 08:44:22.550: A/art(11451): art/runtime/runtime.cc:403] native: #07 pc 00237af7 /system/lib/libart.so (_ZN3art9JavaVMExt9JniAbortVEPKcS2_St9__va_list+58) 09-08 08:44:22.550: A/art(11451): art/runtime/runtime.cc:403] native: #08 pc 000ca21b /system/lib/libart.so (_ZN3art11ScopedCheck6AbortFEPKcz+46) 09-08 08:44:22.550: A/art(11451): art/runtime/runtime.cc:403] native: #09 pc 000c9e07 /system/lib/libart.so (_ZN3art11ScopedCheck11CheckThreadEP7_JNIEnv+362) 09-08 08:44:22.550: A/art(11451): art/runtime/runtime.cc:403] native: #10 pc 000c8e1f /system/lib/libart.so (_ZN3art11ScopedCheck22CheckPossibleHeapValueERNS_18ScopedObjectAccessEcNS_12JniValueTypeE+26) 09-08 08:44:22.550: A/art(11451): art/runtime/runtime.cc:403] native: #11 pc 000c82fb /system/lib/libart.so (_ZN3art11ScopedCheck5CheckERNS_18ScopedObjectAccessEbPKcPNS_12JniValueTypeE+802) 09-08 08:44:22.550: A/art(11451): art/runtime/runtime.cc:403] native: #12 pc 000c590d /system/lib/libart.so (_ZN3art8CheckJNI15RegisterNativesEP7_JNIEnvP7_jclassPK15JNINativeMethodi+464) 09-08 08:44:22.550: A/art(11451): art/runtime/runtime.cc:403] native: #13 pc 004489eb /data/app/com.embarcadero.CrossPlatformLocationD11-2/lib/arm/libCrossPlatformLocationService.so (???) 09-08 08:44:22.550: A/art(11451): art/runtime/runtime.cc:403] native: #14 pc 003620ff /data/app/com.embarcadero.CrossPlatformLocationD11-2/lib/arm/libCrossPlatformLocationService.so (???) 09-08 08:44:22.550: A/art(11451): art/runtime/runtime.cc:403] native: #15 pc 0036219f /data/app/com.embarcadero.CrossPlatformLocationD11-2/lib/arm/libCrossPlatformLocationService.so (???) 09-08 08:44:22.550: A/art(11451): art/runtime/runtime.cc:403] native: #16 pc 0035610d /data/app/com.embarcadero.CrossPlatformLocationD11-2/lib/arm/libCrossPlatformLocationService.so (???) 09-08 08:44:22.550: A/art(11451): art/runtime/runtime.cc:403] native: #17 pc 008115d1 /data/app/com.embarcadero.CrossPlatformLocationD11-2/lib/arm/libCrossPlatformLocationService.so (_NativeMain+24) 09-08 08:44:22.550: A/art(11451): art/runtime/runtime.cc:403] native: #18 pc 00592969 /data/app/com.embarcadero.CrossPlatformLocationD11-2/lib/arm/libCrossPlatformLocationService.so (???) 09-08 08:44:22.550: A/art(11451): art/runtime/runtime.cc:403] native: #19 pc 005929f7 /data/app/com.embarcadero.CrossPlatformLocationD11-2/lib/arm/libCrossPlatformLocationService.so (OnCreateDelphi+126) 09-08 08:44:22.550: A/art(11451): art/runtime/runtime.cc:403] native: #20 pc 0019532b /data/app/com.embarcadero.CrossPlatformLocationD11-2/lib/arm/libProxyAndroidService.so (Java_com_embarcadero_rtl_ProxyService_onCreateNative+98) 09-08 08:44:22.550: A/art(11451): art/runtime/runtime.cc:403] native: #21 pc 0010de35 /data/app/com.embarcadero.CrossPlatformLocationD11-2/oat/arm/base.odex (???) 09-08 08:44:22.550: A/art(11451): art/runtime/runtime.cc:403] at com.embarcadero.rtl.ProxyService.onCreateNative(Native method) 09-08 08:44:22.550: A/art(11451): art/runtime/runtime.cc:403] at com.embarcadero.rtl.ProxyService.onCreate(ProxyService.java:51) 09-08 08:44:22.550: A/art(11451): art/runtime/runtime.cc:403] at com.embarcadero.services.CrossPlatformLocationService.onCreate(CrossPlatformLocationService.java:41) 09-08 08:44:22.550: A/art(11451): art/runtime/runtime.cc:403] at android.app.ActivityThread.handleCreateService(ActivityThread.java:3298) 09-08 08:44:22.550: A/art(11451): art/runtime/runtime.cc:403] at android.app.ActivityThread.-wrap5(ActivityThread.java:-1) 09-08 08:44:22.550: A/art(11451): art/runtime/runtime.cc:403] at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1618) 09-08 08:44:22.550: A/art(11451): art/runtime/runtime.cc:403] at android.os.Handler.dispatchMessage(Handler.java:102) 09-08 08:44:22.550: A/art(11451): art/runtime/runtime.cc:403] at android.os.Looper.loop(Looper.java:154) 09-08 08:44:22.550: A/art(11451): art/runtime/runtime.cc:403] at android.app.ActivityThread.main(ActivityThread.java:6311) 09-08 08:44:22.550: A/art(11451): art/runtime/runtime.cc:403] at java.lang.reflect.Method.invoke!(Native method) 09-08 08:44:22.550: A/art(11451): art/runtime/runtime.cc:403] at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:872) 09-08 08:44:22.550: A/art(11451): art/runtime/runtime.cc:403] at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:762) 09-08 08:44:22.550: A/art(11451): art/runtime/runtime.cc:403] Pending exception java.lang.NoSuchMethodError: no static or non-static method "Lcom/embarcadero/services/CrossPlatformLocationServiceProxyInterface;.dispatchToNative2(Ljava/lang/String;Ljava/lang/String;[Ljava/lang/Object;J)Ljava/lang/Object;" 09-08 08:44:22.550: A/art(11451): art/runtime/runtime.cc:403] at void com.embarcadero.rtl.ProxyService.onCreateNative(java.lang.Object, java.lang.String) (ProxyService.java:-2) 09-08 08:44:22.550: A/art(11451): art/runtime/runtime.cc:403] at void com.embarcadero.rtl.ProxyService.onCreate(java.lang.Object, java.lang.String) (ProxyService.java:51) 09-08 08:44:22.550: A/art(11451): art/runtime/runtime.cc:403] at void com.embarcadero.services.CrossPlatformLocationService.onCreate() (CrossPlatformLocationService.java:41) 09-08 08:44:22.550: A/art(11451): art/runtime/runtime.cc:403] at void android.app.ActivityThread.handleCreateService(android.app.ActivityThread$CreateServiceData) (ActivityThread.java:3298) 09-08 08:44:22.550: A/art(11451): art/runtime/runtime.cc:403] at void android.app.ActivityThread.-wrap5(android.app.ActivityThread, android.app.ActivityThread$CreateServiceData) (ActivityThread.java:-1) 09-08 08:44:22.550: A/art(11451): art/runtime/runtime.cc:403] at void android.app.ActivityThread$H.handleMessage(android.os.Message) (ActivityThread.java:1618) 09-08 08:44:22.550: A/art(11451): art/runtime/runtime.cc:403] at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:102) 09-08 08:44:22.550: A/art(11451): art/runtime/runtime.cc:403] at void android.os.Looper.loop() (Looper.java:154) 09-08 08:44:22.550: A/art(11451): art/runtime/runtime.cc:403] at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:6311) 09-08 08:44:22.550: A/art(11451): art/runtime/runtime.cc:403] at java.lang.Object java.lang.reflect.Method.invoke!(java.lang.Object, java.lang.Object[]) (Method.java:-2) 09-08 08:44:22.550: A/art(11451): art/runtime/runtime.cc:403] at void com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run() (ZygoteInit.java:872) 09-08 08:44:22.550: A/art(11451): art/runtime/runtime.cc:403] at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:762) 09-08 08:44:22.550: A/art(11451): art/runtime/runtime.cc:403] Dumping all threads without appropriate locks held: thread list lock mutator lock 09-08 08:44:22.550: A/art(11451): art/runtime/runtime.cc:403] All threads: 09-08 08:44:22.550: A/art(11451): art/runtime/runtime.cc:403] DALVIK THREADS (11): 09-08 08:44:22.550: A/art(11451): art/runtime/runtime.cc:403] "main" prio=5 tid=1 Runnable 09-08 08:44:22.550: A/art(11451): art/runtime/runtime.cc:403] | group="" sCount=0 dsCount=0 obj=0x74ec19f0 self=0xaf305400 09-08 08:44:22.550: A/art(11451): art/runtime/runtime.cc:403] | sysTid=11451 nice=0 cgrp=default sched=0/0 handle=0xb21b0534 09-08 08:44:22.551: A/art(11451): art/runtime/runtime.cc:403] | state=R schedstat=( 724174224 10560046 666 ) utm=50 stm=22 core=5 HZ=100 09-08 08:44:22.551: A/art(11451): art/runtime/runtime.cc:403] | stack=0xbe1f9000-0xbe1fb000 stackSize=8MB 09-08 08:44:22.551: A/art(11451): art/runtime/runtime.cc:403] | held mutexes= "abort lock" "mutator lock"(shared held) 09-08 08:44:22.551: A/art(11451): art/runtime/runtime.cc:403] native: #00 pc 0034d481 /system/lib/libart.so (_ZN3art15DumpNativeStackERNSt3__113basic_ostreamIcNS0_11char_traitsIcEEEEiP12BacktraceMapPKcPNS_9ArtMethodEPv+128) 09-08 08:44:22.551: A/art(11451): art/runtime/runtime.cc:403] native: #01 pc 0032de41 /system/lib/libart.so (_ZNK3art6Thread9DumpStackERNSt3__113basic_ostreamIcNS1_11char_traitsIcEEEEbP12BacktraceMap+308) 09-08 08:44:22.551: A/art(11451): art/runtime/runtime.cc:403] native: #02 pc 0033fca1 /system/lib/libart.so (_ZN3art14DumpCheckpoint3RunEPNS_6ThreadE+620) 09-08 08:44:22.551: A/art(11451): art/runtime/runtime.cc:403] native: #03 pc 00339cab /system/lib/libart.so (_ZN3art10ThreadList13RunCheckpointEPNS_7ClosureE+330) 09-08 08:44:22.551: A/art(11451): art/runtime/runtime.cc:403] native: #04 pc 003399d1 /system/lib/libart.so (_ZN3art10ThreadList4DumpERNSt3__113basic_ostreamIcNS1_11char_traitsIcEEEEb+180) 09-08 08:44:22.551: A/art(11451): art/runtime/runtime.cc:403] native: #05 pc 00320e35 /system/lib/libart.so (_ZNK3art10AbortState4DumpERNSt3__113basic_ostreamIcNS1_11char_traitsIcEEEE+372) 09-08 08:44:22.551: A/art(11451): art/runtime/runtime.cc:403] native: #06 pc 00317ceb /system/lib/libart.so (_ZN3art7Runtime5AbortEv+90) 09-08 08:44:22.551: A/art(11451): art/runtime/runtime.cc:403] native: #07 pc 000b4879 /system/lib/libart.so (_ZN3art10LogMessageD2Ev+864) 09-08 08:44:22.551: A/art(11451): art/runtime/runtime.cc:403] native: #08 pc 00237905 /system/lib/libart.so (ZN3art9JavaVMExt8JniAbortEPKcS2+1664) 09-08 08:44:22.551: A/art(11451): art/runtime/runtime.cc:403] native: #09 pc 00237af7 /system/lib/libart.so (_ZN3art9JavaVMExt9JniAbortVEPKcS2_St9__va_list+58) 09-08 08:44:22.551: A/art(11451): art/runtime/runtime.cc:403] native: #10 pc 000ca21b /system/lib/libart.so (_ZN3art11ScopedCheck6AbortFEPKcz+46) 09-08 08:44:22.551: A/art(11451): art/runtime/runtime.cc:403] native: #11 pc 000c9e07 /system/lib/libart.so (_ZN3art11ScopedCheck11CheckThreadEP7_JNIEnv+362) 09-08 08:44:22.551: A/art(11451): art/runtime/runtime.cc:403] native: #12 pc 000c8e1f /system/lib/libart.so (_ZN3art11ScopedCheck22CheckPossibleHeapValueERNS_18ScopedObjectAccessEcNS_12JniValueTypeE+26) 09-08 08:44:22.551: A/art(11451): art/runtime/runtime.cc:403] native: #13 pc 000c82fb /system/lib/libart.so (_ZN3art11ScopedCheck5CheckERNS_18ScopedObjectAccessEbPKcPNS_12JniValueTypeE+802) 09-08 08:44:22.551: A/art(11451): art/runtime/runtime.cc:403] native: #14 pc 000c590d /system/lib/libart.so (_ZN3art8CheckJNI15RegisterNativesEP7_JNIEnvP7_jclassPK15JNINativeMethodi+464) 09-08 08:44:22.551: A/art(11451): art/runtime/runtime.cc:403] native: #15 pc 004489eb /data/app/com.embarcadero.CrossPlatformLocationD11-2/lib/arm/libCrossPlatformLocationService.so (???) 09-08 08:44:22.551: A/art(11451): art/runtime/runtime.cc:403] native: #16 pc 003620ff /data/app/com.embarcadero.CrossPlatformLocationD11-2/lib/arm/libCrossPlatformLocationService.so (???) 09-08 08:44:22.551: A/art(11451): art/runtime/runtime.cc:403] native: #17 pc 0036219f /data/app/com.embarcadero.CrossPlatformLocationD11-2/lib/arm/libCrossPlatformLocationService.so (???) 09-08 08:44:22.551: A/art(11451): art/runtime/runtime.cc:403] native: #18 pc 0035610d /data/app/com.embarcadero.CrossPlatformLocationD11-2/lib/arm/libCrossPlatformLocationService.so (???) 09-08 08:44:22.551: A/art(11451): art/runtime/runtime.cc:403] native: #19 pc 008115d1 /data/app/com.embarcadero.CrossPlatformLocationD11-2/lib/arm/libCrossPlatformLocationService.so (_NativeMain+24) 09-08 08:44:22.551: A/art(11451): art/runtime/runtime.cc:403] native: #20 pc 00592969 /data/app/com.embarcadero.CrossPlatformLocationD11-2/lib/arm/libCrossPlatformLocationService.so (???) 09-08 08:44:22.551: A/art(11451): art/runtime/runtime.cc:403] native: #21 pc 005929f7 /data/app/com.embarcadero.CrossPlatformLocationD11-2/lib/arm/libCrossPlatformLocationService.so (OnCreateDelphi+126) 09-08 08:44:22.551: A/art(11451): art/runtime/runtime.cc:403] native: #22 pc 0019532b /data/app/com.embarcadero.CrossPlatformLocationD11-2/lib/arm/libProxyAndroidService.so (Java_com_embarcadero_rtl_ProxyService_onCreateNative+98) 09-08 08:44:22.551: A/art(11451): art/runtime/runtime.cc:403] native: #23 pc 0010de35 /data/app/com.embarcadero.CrossPlatformLocationD11-2/oat/arm/base.odex (Java_com_embarcadero_rtl_ProxyService_onCreateNative__Ljava_lang_Object_2Ljava_lang_String_2+112) 09-08 08:44:22.551: A/art(11451): art/runtime/runtime.cc:403] at com.embarcadero.rtl.ProxyService.onCreateNative(Native method) 09-08 08:44:22.551: A/art(11451): art/runtime/runtime.cc:403] at com.embarcadero.rtl.ProxyService.onCreate(ProxyService.java:51) 09-08 08:44:22.551: A/art(11451): art/runtime/runtime.cc:403] at com.embarcadero.services.CrossPlatformLocationService.onCreate(CrossPlatformLocationService.java:41) 09-08 08:44:22.551: A/art(11451): art/runtime/runtime.cc:403] at android.app.ActivityThread.handleCreateService(ActivityThread.java:3298) 09-08 08:44:22.551: A/art(11451): art/runtime/runtime.cc:403] at android.app.ActivityThread.-wrap5(ActivityThread.java:-1) 09-08 08:44:22.551: A/art(11451): art/runtime/runtime.cc:403] at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1618) 09-08 08:44:22.551: A/art(11451): art/runtime/runtime.cc:403] at android.os.Handler.dispatchMessage(Handler.java:102) 09-08 08:44:22.551: A/art(11451): art/runtime/runtime.cc:403] at android.os.Looper.loop(Looper.java:154) 09-08 08:44:22.551: A/art(11451): art/runtime/runtime.cc:403] at android.app.ActivityThread.main(ActivityThread.java:6311) 09-08 08:44:22.551: A/art(11451): art/runtime/runtime.cc:403] at java.lang.reflect.Method.invoke!(Native method) 09-08 08:44:22.551: A/art(11451): art/runtime/runtime.cc:403] at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:872) 09-08 08:44:22.551: A/art(11451): art/runtime/runtime.cc:403] at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:762) 09-08 08:44:22.551: A/art(11451): art/runtime/runtime.cc:403] 09-08 08:44:22.551: A/art(11451): art/runtime/runtime.cc:403] "Jit thread pool worker thread 0" prio=5 tid=2 Native (still starting up) 09-08 08:44:22.551: A/art(11451): art/runtime/runtime.cc:403] | group="" sCount=1 dsCount=0 obj=0x0 self=0xa7d8d000 09-08 08:44:22.551: A/art(11451): art/runtime/runtime.cc:403] | sysTid=11456 nice=9 cgrp=default sched=0/0 handle=0xaea27920 09-08 08:44:22.551: A/art(11451): art/runtime/runtime.cc:403] | state=S schedstat=( 334844 260991 3 ) utm=0 stm=0 core=4 HZ=100 09-08 08:44:22.551: A/art(11451): art/runtime/runtime.cc:403] | stack=0xae929000-0xae92b000 stackSize=1022KB 09-08 08:44:22.551: A/art(11451): art/runtime/runtime.cc:403] | held mutexes= 09-08 08:44:22.551: A/art(11451): art/runtime/runtime.cc:403] native: #00 pc 000177ac /system/lib/libc.so (syscall+28) 09-08 08:44:22.551: A/art(11451): art/runtime/runtime.cc:403] native: #01 pc 000b643d /system/lib/libart.so (_ZN3art17ConditionVariable16WaitHoldingLocksEPNS_6ThreadE+92) 09-08 08:44:22.551: A/art(11451): art/runtime/runtime.cc:403] native: #02 pc 003411e9 /system/lib/libart.so (_ZN3art10ThreadPool7GetTaskEPNS_6ThreadE+160) 09-08 08:44:22.551: A/art(11451): art/runtime/runtime.cc:403] native: #03 pc 00340a13 /system/lib/libart.so (_ZN3art16ThreadPoolWorker3RunEv+62) 09-08 08:44:22.551: A/art(11451): art/runtime/runtime.cc:403] native: #04 pc 00340541 /system/lib/libart.so (_ZN3art16ThreadPoolWorker8CallbackEPv+64) 09-08 08:44:22.551: A/art(11451): art/runtime/runtime.cc:403] native: #05 pc 00047503 /system/lib/libc.so (_ZL15__pthread_startPv+22) 09-08 08:44:22.551: A/art(11451): art/runtime/runtime.cc:403] native: #06 pc 00019ded /system/lib/libc.so (__start_thread+6) 09-08 08:44:22.551: A/art(11451): art/runtime/runtime.cc:403] (no managed stack frames) 09-08 08:44:22.551: A/art(11451): art/runtime/runtime.cc:403] 09-08 08:44:22.551: A/art(11451): art/runtime/runtime.cc:403] "Signal Catcher" prio=5 tid=3 WaitingInMainSignalCatcherLoop 09-08 08:44:22.551: A/art(11451): art/runtime/runtime.cc:403] | group="" sCount=1 dsCount=0 obj=0x12e33280 self=0x9e4e9200 09-08 08:44:22.551: A/art(11451): art/runtime/runtime.cc:403] | sysTid=11457 nice=0 cgrp=default sched=0/0 handle=0xae926920 09-08 08:44:22.551: A/art(11451): art/runtime/runtime.cc:403] | state=S schedstat=( 530207 17136 2 ) utm=0 stm=0 core=4 HZ=100 09-08 08:44:22.551: A/art(11451): art/runtime/runtime.cc:403] | stack=0xae82a000-0xae82c000 stackSize=1014KB 09-08 08:44:22.551: A/art(11451): art/runtime/runtime.cc:403] | held mutexes= 09-08 08:44:22.551: A/art(11451): art/runtime/runtime.cc:403] native: #00 pc 00048ce4 /system/lib/libc.so (__rt_sigtimedwait+12) 09-08 08:44:22.551: A/art(11451): art/runtime/runtime.cc:403] native: #01 pc 0001e257 /system/lib/libc.so (sigwait+34) 09-08 08:44:22.551: A/art(11451): art/runtime/runtime.cc:403] native: #02 pc 00323fab /system/lib/libart.so (_ZN3art9SignalSet4WaitEv+22) 09-08 08:44:22.551: A/art(11451): art/runtime/runtime.cc:403] native: #03 pc 00323ba5 /system/lib/libart.so (_ZN3art13SignalCatcher13WaitForSignalEPNS_6ThreadERNS_9SignalSetE+168) 09-08 08:44:22.551: A/art(11451): art/runtime/runtime.cc:403] native: #04 pc 00322909 /system/lib/libart.so (_ZN3art13SignalCatcher3RunEPv+276) 09-08 08:44:22.551: A/art(11451): art/runtime/runtime.cc:403] native: #05 pc 00047503 /system/lib/libc.so (_ZL15__pthread_startPv+22) 09-08 08:44:22.551: A/art(11451): art/runtime/runtime.cc:403] native: #06 pc 00019ded /system/lib/libc.so (__start_thread+6) 09-08 08:44:22.551: A/art(11451): art/runtime/runtime.cc:403] (no managed stack frames) 09-08 08:44:22.551: A/art(11451): art/runtime/runtime.cc:403] 09-08 08:44:22.551: A/art(11451): art/runtime/runtime.cc:403] "JDWP" prio=5 tid=4 WaitingInMainDebuggerLoop 09-08 08:44:22.551: A/art(11451): art/runtime/runtime.cc:403] | group="" sCount=1 dsCount=0 obj=0x12e33310 self=0xa7d8e400 09-08 08:44:22.551: A/art(11451): art/runtime/runtime.cc:403] | sysTid=11458 nice=0 cgrp=default sched=0/0 handle=0xae827920 09-08 08:44:22.551: A/art(11451): art/runtime/runtime.cc:403] | state=S schedstat=( 2097137 2249945 18 ) utm=0 stm=0 core=5 HZ=100 09-08 08:44:22.551: A/art(11451): art/runtime/runtime.cc:403] | stack=0xae72b000-0xae72d000 stackSize=1014KB 09-08 08:44:22.551: A/art(11451): art/runtime/runtime.cc:403] | held mutexes= 09-08 08:44:22.551: A/art(11451): art/runtime/runtime.cc:403] native: #00 pc 00048bbc /system/lib/libc.so (__pselect6+20) 09-08 08:44:22.551: A/art(11451): art/runtime/runtime.cc:403] native: #01 pc 0001d01d /system/lib/libc.so (select+88) 09-08 08:44:22.551: A/art(11451): art/runtime/runtime.cc:403] native: #02 pc 003f83f7 /system/lib/libart.so (_ZN3art4JDWP12JdwpAdbState15ProcessIncomingEv+302) 09-08 08:44:22.551: A/art(11451): art/runtime/runtime.cc:403] native: #03 pc 00246907 /system/lib/libart.so (_ZN3art4JDWP9JdwpState3RunEv+650) 09-08 08:44:22.551: A/art(11451): art/runtime/runtime.cc:403] native: #04 pc 002460ab /system/lib/libart.so (_ZN3art4JDWPL15StartJdwpThreadEPv+22) 09-08 08:44:22.551: A/art(11451): art/runtime/runtime.cc:403] native: #05 pc 00047503 /system/lib/libc.so (_ZL15__pthread_startPv+22) 09-08 08:44:22.551: A/art(11451): art/runtime/runtime.cc:403] native: #06 pc 00019ded /system/lib/libc.so (__start_thread+6) 09-08 08:44:22.551: A/art(11451): art/runtime/runtime.cc:403] (no managed stack frames) 09-08 08:44:22.551: A/art(11451): art/runtime/runtime.cc:403] 09-08 08:44:22.551: A/art(11451): art/runtime/runtime.cc:403] "ReferenceQueueDaemon" prio=5 tid=5 Waiting 09-08 08:44:22.551: A/art(11451): art/runtime/runtime.cc:403] | group="" sCount=1 dsCount=0 obj=0x12e333a0 self=0x9e4eab00 09-08 08:44:22.551: A/art(11451): art/runtime/runtime.cc:403] | sysTid=11459 nice=0 cgrp=default sched=0/0 handle=0xae728920 09-08 08:44:22.551: A/art(11451): art/runtime/runtime.cc:403] | state=S schedstat=( 197916 20572 6 ) utm=0 stm=0 core=4 HZ=100 09-08 08:44:22.551: A/art(11451): art/runtime/runtime.cc:403] | stack=0xae626000-0xae628000 stackSize=1038KB 09-08 08:44:22.551: A/art(11451): art/runtime/runtime.cc:403] | held mutexes= 09-08 08:44:22.551: A/art(11451): art/runtime/runtime.cc:403] native: #00 pc 000177ac /system/lib/libc.so (syscall+28) 09-08 08:44:22.551: A/art(11451): art/runtime/runtime.cc:403] native: #01 pc 000b643d /system/lib/libart.so (_ZN3art17ConditionVariable16WaitHoldingLocksEPNS_6ThreadE+92) 09-08 08:44:22.551: A/art(11451): art/runtime/runtime.cc:403] native: #02 pc 0029d147 /system/lib/libart.so (_ZN3art7Monitor4WaitEPNS_6ThreadExibNS_11ThreadStateE+514) 09-08 08:44:22.551: A/art(11451): art/runtime/runtime.cc:403] native: #03 pc 0029e8ab /system/lib/libart.so (ZN3art7Monitor4WaitEPNS_6ThreadEPNS_6mirror6ObjectExibNS_11ThreadStateE+258) 09-08 08:44:22.551: A/art(11451): art/runtime/runtime.cc:403] native: #04 pc 002ad013 /system/lib/libart.so (ZN3artL11Object_waitEP7_JNIEnvP8_jobject+32) 09-08 08:44:22.551: A/art(11451): art/runtime/runtime.cc:403] native: #05 pc 00000557 /system/framework/arm/boot.oat (Java_java_lang_Object_wait+74) 09-08 08:44:22.551: A/art(11451): art/runtime/runtime.cc:403] at java.lang.Object.wait!(Native method) 09-08 08:44:22.551: A/art(11451): art/runtime/runtime.cc:403] - waiting on <0x02995290> (a java.lang.Class<java.lang.ref.ReferenceQueue>) 09-08 08:44:22.551: A/art(11451): art/runtime/runtime.cc:403] at java.lang.Daemons$ReferenceQueueDaemon.run(Daemons.java:150) 09-08 08:44:22.551: A/art(11451): art/runtime/runtime.cc:403] - locked <0x02995290> (a java.lang.Class<java.lang.ref.ReferenceQueue>) 09-08 08:44:22.551: A/art(11451): art/runtime/runtime.cc:403] at java.lang.Thread.run(Thread.java:761) 09-08 08:44:22.551: A/art(11451): art/runtime/runtime.cc:403] 09-08 08:44:22.551: A/art(11451): art/runtime/runtime.cc:403] "FinalizerDaemon" prio=5 tid=6 Waiting 09-08 08:44:22.551: A/art(11451): art/runtime/runtime.cc:403] | group="" sCount=1 dsCount=0 obj=0x12e33430 self=0xaf305e00 09-08 08:44:22.551: A/art(11451): art/runtime/runtime.cc:403] | sysTid=11460 nice=0 cgrp=default sched=0/0 handle=0xae623920 09-08 08:44:22.551: A/art(11451): art/runtime/runtime.cc:403] | state=S schedstat=( 177814 86250 5 ) utm=0 stm=0 core=6 HZ=100 09-08 08:44:22.551: A/art(11451): art/runtime/runtime.cc:403] | stack=0xae521000-0xae523000 stackSize=1038KB 09-08 08:44:22.551: A/art(11451): art/runtime/runtime.cc:403] | held mutexes= 09-08 08:44:22.551: A/art(11451): art/runtime/runtime.cc:403] native: #00 pc 000177ac /system/lib/libc.so (syscall+28) 09-08 08:44:22.551: A/art(11451): art/runtime/runtime.cc:403] native: #01 pc 000b643d /system/lib/libart.so (_ZN3art17ConditionVariable16WaitHoldingLocksEPNS_6ThreadE+92) 09-08 08:44:22.551: A/art(11451): art/runtime/runtime.cc:403] native: #02 pc 0029d147 /system/lib/libart.so (_ZN3art7Monitor4WaitEPNS_6ThreadExibNS_11ThreadStateE+514) 09-08 08:44:22.551: A/art(11451): art/runtime/runtime.cc:403] native: #03 pc 0029e8ab /system/lib/libart.so (_ZN3art7Monitor4WaitEPNS_6ThreadEPNS_6mirror6ObjectExibNS_11ThreadStateE+258) 09-08 08:44:22.551: A/art(11451): art/runtime/runtime.cc:403] native: #04 pc 002ad03f /system/lib/libart.so (_ZN3artL13Object_waitJIEP7_JNIEnvP8_jobjectxi+36) 09-08 08:44:22.551: A/art(11451): art/runtime/runtime.cc:403] native: #05 pc 00000655 /system/framework/arm/boot.oat (Java_java_lang_Object_wait__JI+96) 09-08 08:44:22.551: A/art(11451): art/runtime/runtime.cc:403] at java.lang.Object.wait!(Native method) 09-08 08:44:22.551: A/art(11451): art/runtime/runtime.cc:403] - waiting on <0x0dd03789> (a java.lang.Object) 09-08 08:44:22.551: A/art(11451): art/runtime/runtime.cc:403] at java.lang.Object.wait(Object.java:407) 09-08 08:44:22.551: A/art(11451): art/runtime/runtime.cc:403] at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:188) 09-08 08:44:22.551: A/art(11451): art/runtime/runtime.cc:403] - locked <0x0dd03789> (a java.lang.Object) 09-08 08:44:22.551: A/art(11451): art/runtime/runtime.cc:403] at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:209) 09-08 08:44:22.551: A/art(11451): art/runtime/runtime.cc:403] at java.lang.Daemons$FinalizerDaemon.run(Daemons.java:204) 09-08 08:44:22.551: A/art(11451): art/runtime/runtime.cc:403] at java.lang.Thread.run(Thread.java:761) 09-08 08:44:22.551: A/art(11451): art/runtime/runtime.cc:403] 09-08 08:44:22.551: A/art(11451): art/runtime/runtime.cc:403] "FinalizerWatchdogDaemon" prio=5 tid=7 Waiting 09-08 08:44:22.551: A/art(11451): art/runtime/runtime.cc:403] | group="" sCount=1 dsCount=0 obj=0x12e334c0 self=0xaf306300 09-08 08:44:22.551: A/art(11451): art/runtime/runtime.cc:403] | sysTid=11461 nice=0 cgrp=default sched=0/0 handle=0xae51e920 09-08 08:44:22.551: A/art(11451): art/runtime/runtime.cc:403] | state=S schedstat=( 137812 112345 5 ) utm=0 stm=0 core=6 HZ=100 09-08 08:44:22.551: A/art(11451): art/runtime/runtime.cc:403] | stack=0xae41c000-0xae41e000 stackSize=1038KB 09-08 08:44:22.551: A/art(11451): art/runtime/runtime.cc:403] | held mutexes= 09-08 08:44:22.551: A/art(11451): art/runtime/runtime.cc:403] native: #00 pc 000177ac /system/lib/libc.so (syscall+28) 09-08 08:44:22.551: A/art(11451): art/runtime/runtime.cc:403] native: #01 pc 000b643d /system/lib/libart.so (_ZN3art17ConditionVariable16WaitHoldingLocksEPNS_6ThreadE+92) 09-08 08:44:22.551: A/art(11451): art/runtime/runtime.cc:403] native: #02 pc 0029d147 /system/lib/libart.so (_ZN3art7Monitor4WaitEPNS_6ThreadExibNS_11ThreadStateE+514) 09-08 08:44:22.551: A/art(11451): art/runtime/runtime.cc:403] native: #03 pc 0029e8ab /system/lib/libart.so (ZN3art7Monitor4WaitEPNS_6ThreadEPNS_6mirror6ObjectExibNS_11ThreadStateE+258) 09-08 08:44:22.551: A/art(11451): art/runtime/runtime.cc:403] native: #04 pc 002ad013 /system/lib/libart.so (ZN3artL11Object_waitEP7_JNIEnvP8_jobject+32) 09-08 08:44:22.551: A/art(11451): art/runtime/runtime.cc:403] native: #05 pc 00000557 /system/framework/arm/boot.oat (Java_java_lang_Object_wait+74) 09-08 08:44:22.551: A/art(11451): art/runtime/runtime.cc:403] at java.lang.Object.wait!(Native method) 09-08 08:44:22.551: A/art(11451): art/runtime/runtime.cc:403] - waiting on <0x0f89938e> (a java.lang.Daemons$FinalizerWatchdogDaemon) 09-08 08:44:22.551: A/art(11451): art/runtime/runtime.cc:403] at java.lang.Daemons$FinalizerWatchdogDaemon.sleepUntilNeeded(Daemons.java:269) 09-08 08:44:22.551: A/art(11451): art/runtime/runtime.cc:403] - locked <0x0f89938e> (a java.lang.Daemons$FinalizerWatchdogDaemon) 09-08 08:44:22.551: A/art(11451): art/runtime/runtime.cc:403] at java.lang.Daemons$FinalizerWatchdogDaemon.run(Daemons.java:249) 09-08 08:44:22.551: A/art(11451): art/runtime/runtime.cc:403] at java.lang.Thread.run(Thread.java:761) 09-08 08:44:22.551: A/art(11451): art/runtime/runtime.cc:403] 09-08 08:44:22.551: A/art(11451): art/runtime/runtime.cc:403] "HeapTaskDaemon" prio=5 tid=8 Blocked 09-08 08:44:22.551: A/art(11451): art/runtime/runtime.cc:403] | group="" sCount=1 dsCount=0 obj=0x12e33550 self=0xaf306800 09-08 08:44:22.551: A/art(11451): art/runtime/runtime.cc:403] | sysTid=11462 nice=0 cgrp=default sched=0/0 handle=0xae419920 09-08 08:44:22.551: A/art(11451): art/runtime/runtime.cc:403] | state=S schedstat=( 162396 175832 6 ) utm=0 stm=0 core=6 HZ=100 09-08 08:44:22.551: A/art(11451): art/runtime/runtime.cc:403] | stack=0xae317000-0xae319000 stackSize=1038KB 09-08 08:44:22.551: A/art(11451): art/runtime/runtime.cc:403] | held mutexes= 09-08 08:44:22.551: A/art(11451): art/runtime/runtime.cc:403] native: #00 pc 000177ac /system/lib/libc.so (syscall+28) 09-08 08:44:22.551: A/art(11451): art/runtime/runtime.cc:403] native: #01 pc 000b643d /system/lib/libart.so (_ZN3art17ConditionVariable16WaitHoldingLocksEPNS_6ThreadE+92) 09-08 08:44:22.551: A/art(11451): art/runtime/runtime.cc:403] native: #02 pc 001b35f9 /system/lib/libart.so (ZN3art2gc13TaskProcessor7GetTaskEPNS_6ThreadE+288) 09-08 08:44:22.551: A/art(11451): art/runtime/runtime.cc:403] native: #03 pc 001b3c71 /system/lib/libart.so (ZN3art2gc13TaskProcessor11RunAllTasksEPNS_6ThreadE+44) 09-08 08:44:22.551: A/art(11451): art/runtime/runtime.cc:403] native: #04 pc 001603bf /system/framework/arm/boot-core-libart.oat (Java_dalvik_system_VMRuntime_runHeapTasks+74) 09-08 08:44:22.551: A/art(11451): art/runtime/runtime.cc:403] at dalvik.system.VMRuntime.runHeapTasks(Native method) 09-08 08:44:22.551: A/art(11451): art/runtime/runtime.cc:403] - waiting to lock an unknown object 09-08 08:44:22.551: A/art(11451): art/runtime/runtime.cc:403] at java.lang.Daemons$HeapTaskDaemon.run(Daemons.java:433) 09-08 08:44:22.551: A/art(11451): art/runtime/runtime.cc:403] at java.lang.Thread.run(Thread.java:761) 09-08 08:44:22.551: A/art(11451): art/runtime/runtime.cc:403] 09-08 08:44:22.551: A/art(11451): art/runtime/runtime.cc:403] "Binder:11451_1" prio=5 tid=9 Native 09-08 08:44:22.551: A/art(11451): art/runtime/runtime.cc:403] | group="" sCount=1 dsCount=0 obj=0x12e33700 self=0xa717a500 09-08 08:44:22.551: A/art(11451): art/runtime/runtime.cc:403] | sysTid=11463 nice=0 cgrp=default sched=0/0 handle=0xae216920 09-08 08:44:22.551: A/art(11451): art/runtime/runtime.cc:403] | state=S schedstat=( 1503227 1030522 10 ) utm=0 stm=0 core=4 HZ=100 09-08 08:44:22.551: A/art(11451): art/runtime/runtime.cc:403] | stack=0xae11a000-0xae11c000 stackSize=1014KB 09-08 08:44:22.551: A/art(11451): art/runtime/runtime.cc:403] | held mutexes= 09-08 08:44:22.551: A/art(11451): art/runtime/runtime.cc:403] native: #00 pc 00048ab8 /system/lib/libc.so (__ioctl+8) 09-08 08:44:22.551: A/art(11451): art/runtime/runtime.cc:403] native: #01 pc 0001ae17 /system/lib/libc.so (ioctl+38) 09-08 08:44:22.551: A/art(11451): art/runtime/runtime.cc:403] native: #02 pc 0003cc55 /system/lib/libbinder.so (_ZN7android14IPCThreadState14talkWithDriverEb+168) 09-08 08:44:22.552: A/art(11451): art/runtime/runtime.cc:403] native: #03 pc 0003cd4d /system/lib/libbinder.so (_ZN7android14IPCThreadState20getAndExecuteCommandEv+8) 09-08 08:44:22.552: A/art(11451): art/runtime/runtime.cc:403] native: #04 pc 0003d2bb /system/lib/libbinder.so (_ZN7android14IPCThreadState14joinThreadPoolEb+46) 09-08 08:44:22.552: A/art(11451): art/runtime/runtime.cc:403] native: #05 pc 0004f5f5 /system/lib/libbinder.so (???) 09-08 08:44:22.552: A/art(11451): art/runtime/runtime.cc:403] native: #06 pc 0000e3e5 /system/lib/libutils.so (_ZN7android6Thread11_threadLoopEPv+140) 09-08 08:44:22.552: A/art(11451): art/runtime/runtime.cc:403] native: #07 pc 00068a25 /system/lib/libandroid_runtime.so (_ZN7android14AndroidRuntime15javaThreadShellEPv+80) 09-08 08:44:22.552: A/art(11451): art/runtime/runtime.cc:403] native: #08 pc 00047503 /system/lib/libc.so (_ZL15__pthread_startPv+22) 09-08 08:44:22.552: A/art(11451): art/runtime/runtime.cc:403] native: #09 pc 00019ded /system/lib/libc.so (__start_thread+6) 09-08 08:44:22.552: A/art(11451): art/runtime/runtime.cc:403] (no managed stack frames) 09-08 08:44:22.552: A/art(11451): art/runtime/runtime.cc:403] 09-08 08:44:22.552: A/art(11451): art/runtime/runtime.cc:403] "Binder:11451_2" prio=5 tid=10 Native 09-08 08:44:22.552: A/art(11451): art/runtime/runtime.cc:403] | group="" sCount=1 dsCount=0 obj=0x12e33790 self=0xa7d8f800 09-08 08:44:22.552: A/art(11451): art/runtime/runtime.cc:403] | sysTid=11464 nice=0 cgrp=default sched=0/0 handle=0xae117920 09-08 08:44:22.552: A/art(11451): art/runtime/runtime.cc:403] | state=S schedstat=( 2141979 218647 6 ) utm=0 stm=0 core=5 HZ=100 09-08 08:44:22.552: A/art(11451): art/runtime/runtime.cc:403] | stack=0xae01b000-0xae01d000 stackSize=1014KB 09-08 08:44:22.552: A/art(11451): art/runtime/runtime.cc:403] | held mutexes= 09-08 08:44:22.552: A/art(11451): art/runtime/runtime.cc:403] native: #00 pc 00048ab8 /system/lib/libc.so (__ioctl+8) 09-08 08:44:22.552: A/art(11451): art/runtime/runtime.cc:403] native: #01 pc 0001ae17 /system/lib/libc.so (ioctl+38) 09-08 08:44:22.552: A/art(11451): art/runtime/runtime.cc:403] native: #02 pc 0003cc55 /system/lib/libbinder.so (_ZN7android14IPCThreadState14talkWithDriverEb+168) 09-08 08:44:22.552: A/art(11451): art/runtime/runtime.cc:403] native: #03 pc 0003cd4d /system/lib/libbinder.so (_ZN7android14IPCThreadState20getAndExecuteCommandEv+8) 09-08 08:44:22.552: A/art(11451): art/runtime/runtime.cc:403] native: #04 pc 0003d2bb /system/lib/libbinder.so (_ZN7android14IPCThreadState14joinThreadPoolEb+46) 09-08 08:44:22.552: A/art(11451): art/runtime/runtime.cc:403] native: #05 pc 0004f5f5 /system/lib/libbinder.so (???) 09-08 08:44:22.552: A/art(11451): art/runtime/runtime.cc:403] native: #06 pc 0000e3e5 /system/lib/libutils.so (_ZN7android6Thread11_threadLoopEPv+140) 09-08 08:44:22.552: A/art(11451): art/runtime/runtime.cc:403] native: #07 pc 00068a25 /system/lib/libandroid_runtime.so (_ZN7android14AndroidRuntime15javaThreadShellEPv+80) 09-08 08:44:22.552: A/art(11451): art/runtime/runtime.cc:403] native: #08 pc 00047503 /system/lib/libc.so (_ZL15__pthread_startPv+22) 09-08 08:44:22.552: A/art(11451): art/runtime/runtime.cc:403] native: #09 pc 00019ded /system/lib/libc.so (__start_thread+6) 09-08 08:44:22.552: A/art(11451): art/runtime/runtime.cc:403] (no managed stack frames) 09-08 08:44:22.552: A/art(11451): art/runtime/runtime.cc:403] 09-08 08:44:22.552: A/art(11451): art/runtime/runtime.cc:403] "RenderThread" prio=5 tid=11 Native 09-08 08:44:22.552: A/art(11451): art/runtime/runtime.cc:403] | group="" sCount=1 dsCount=0 obj=0x12efba60 self=0xa7d90c00 09-08 08:44:22.552: A/art(11451): art/runtime/runtime.cc:403] | sysTid=11468 nice=-4 cgrp=default sched=0/0 handle=0x8cdff920 09-08 08:44:22.552: A/art(11451): art/runtime/runtime.cc:403] | state=S schedstat=( 671981 156198 10 ) utm=0 stm=0 core=4 HZ=100 09-08 08:44:22.552: A/art(11451): art/runtime/runtime.cc:403] | stack=0x8cd03000-0x8cd05000 stackSize=1014KB 09-08 08:44:22.552: A/art(11451): art/runtime/runtime.cc:403] | held mutexes= 09-08 08:44:22.552: A/art(11451): art/runtime/runtime.cc:403] native: #00 pc 00048978 /system/lib/libc.so (__epoll_pwait+20) 09-08 08:44:22.552: A/art(11451): art/runtime/runtime.cc:403] native: #01 pc 0001a1ad /system/lib/libc.so (epoll_pwait+60) 09-08 08:44:22.552: A/art(11451): art/runtime/runtime.cc:403] native: #02 pc 0001a1dd /system/lib/libc.so (epoll_wait+12) 09-08 08:44:22.552: A/art(11451): art/runtime/runtime.cc:403] native: #03 pc 00011d23 /system/lib/libutils.so (_ZN7android6Looper9pollInnerEi+118) 09-08 08:44:22.552: A/art(11451): art/runtime/runtime.cc:403] native: #04 pc 00011c1f /system/lib/libutils.so (_ZN7android6Looper8pollOnceEiPiS1_PPv+26) 09-08 08:44:22.552: A/art(11451): art/runtime/runtime.cc:403] native: #05 pc 00028e1d /system/lib/libhwui.so (_ZN7android10uirenderer12renderthread12RenderThread10threadLoopEv+284) 09-08 08:44:22.552: A/art(11451): art/runtime/runtime.cc:403] native: #06 pc 0000e3e5 /system/lib/libutils.so (_ZN7android6Thread11_threadLoopEPv+140) 09-08 08:44:22.552: A/art(11451): art/runtime/runtime.cc:403] native: #07 pc 00068a25 /system/lib/libandroid_runtime.so (_ZN7android14AndroidRuntime15javaThreadShellEPv+80) 09-08 08:44:22.552: A/art(11451): art/runtime/runtime.cc:403] native: #08 pc 00047503 /system/lib/libc.so (_ZL15__pthread_startPv+22) 09-08 08:44:22.552: A/art(11451): art/runtime/runtime.cc:403] native: #09 pc 00019ded /system/lib/libc.so (__start_thread+6) 09-08 08:44:22.552: A/art(11451): art/runtime/runtime.cc:403] (no managed stack frames) 09-08 08:44:22.552: A/art(11451): art/runtime/runtime.cc:403] 09-08 08:44:22.552: A/art(11451): art/runtime/runtime.cc:403] 09-08 08:44:22.552: A/libc(11451): Fatal signal 6 (SIGABRT), code -6 in tid 11451 (formLocationD11)
The error messages indicate that the project may have been initially used in an earlier version of Delphi (perhaps Delphi 11.0), then compiled again in Delphi 11.1. Please refer to this solution: https://github.com/DelphiWorlds/HowTo/tree/main/Solutions/AndroidServiceDelphi111
I'm getting this error after adding the "play-services-location.16.0.0.jar" in new project
[PAClient Error] Error: E7688 Unable to execute '"C:\Program Files\AdoptOpenJDK\jdk-8.0.242.08-hotspot\bin\java.exe" -cp "c:\program files (x86)\embarcadero\studio\ 22.0\bin\Android\r8-3.0.73.jar" com.android.tools.r8.D8 --release --min-api 23 --output "C:\Development\ZapCargas\Mobile\Android\Release\ZapCargasCelular .classes" @"C:\Development\ZapCargas\Mobile\Android\Release\dex_list.txt"' (Error 1) [PAClient Error] Error: E7688 Error in c:\program files (x86)\embarcadero\studio\22.0\lib\android\Release\play-services-location-18.0.0.dex.jar:classes.dex: [PAClient Error] Error: E7688 Type com.google.android.gms.internal.location.zza is defined multiple times: c:\program files (x86)\embarcadero\studio\22.0\lib\android\Release\play-services -location-18.0.0.dex.jar:classes.dex, C:\Development\ZapCargas\Mobile\Android\Release\play-services-location-16.0.0-dexed.jar:classes.dex [PAClient Error] Error: E7688 Compilation failed [PAClient Error] Error: E7688 Exception in thread "main" java.lang.RuntimeException: com.android.tools.r8.CompilationFailedException: Compilation failed to complete, origin: c:\program files (x86)\embarcadero\studio\22.0 \lib\android\Release\play-services-location-18.0.0.dex.jar:classes.dex [PAClient Error] Error: E7688 at com.android.tools.r8.utils.w.a(SourceFile:92) [PAClient Error] Error: E7688 at com.android.tools.r8.D8.main(D8.java:4) [PAClient Error] Error: E7688 Caused by: com.android.tools.r8.CompilationFailedException: Compilation failed to complete, origin: c:\program files (x86)\embarcadero\studio\22.0\lib\android\Release\play- services-location-18.0.0.dex.jar:classes.dex [PAClient Error] Error: E7688 at Version.fakeStackEntry(Version_3.0.73.java:0) [PAClient Error] Error: E7688 at com.android.tools.r8.utils.w.a(SourceFile:68) [PAClient Error] Error: E7688 at com.android.tools.r8.utils.w.a(SourceFile:28) [PAClient Error] Error: E7688 at com.android.tools.r8.utils.w.a(SourceFile:27)
and message onclick ChangeStateButtonClick
Accessing hidden method Landroid/view/MotionEvent;->
I'm getting this error after adding the "play-services-location.16.0.0.jar" in new project
That needs to be done only when using Delphi 10.4.x or earlier. Please refer to the CPLAndroidGroupD11 group project that comes with the demo.
Accessing hidden method Landroid/view/MotionEvent;->()V (max-target-o, JNI, denied)
This is just a warning, and can be ignored
but the service never starts… unfortunately I can't do the service in my application
Are you adding the service to your application? Please refer to the "Adding an Android Service to an application" section in this documentation
yes i am adding your demo service in my application
Again, a log cat viewer might help work out why
09-12 07:58:57.277: E/GooglePlayServicesUtil(26144): The Google Play services resources were not found. Check your project configuration to ensure that the resources are included.
09-12 07:58:57.305: E/ActivityThread(26144): Service com.embarcadero.services.CrossPlatformLocationService has leaked IntentReceiver com.delphiworlds.kastri.DWMultiBroadcastReceiver@fd4f9a6 that was originally registered here. Are you missing a call to unregisterReceiver()?
09-12 07:58:57.305: E/ActivityThread(26144): android.app.IntentReceiverLeaked: Service com.embarcadero.services.CrossPlatformLocationService has leaked IntentReceiver com.delphiworlds.kastri.DWMultiBroadcastReceiver@fd4f9a6 that was originally registered here. Are you missing a call to unregisterReceiver()?
09-12 07:58:57.305: E/ActivityThread(26144): at android.app.LoadedApk$ReceiverDispatcher.
It's returning messages in cat. In this project I use several functions and libraries from kastri itself and Skia4Dephi only, of course in the app the service and the demo itself.
Have you made all the necessary changes to AndroidManifest.template.xml? Compare with what is in the demo. Also ensure that you have dw-fusedlocation.jar and dw-kastri-base-2.0.0.jar added to your project.
my Manifest https://textuploader.com/tt6th

I added all the jar files and changed the manifest. As soon as I release the coordinates permissions it kills the application.
As soon as I release the coordinates permissions it kills the application
You should show what your code is doing at that point. The logcat dump that you provided does not appear to show all of the messages related to the issue.
at this point only replication of the demo code.
at this point only replication of the demo code.
Not sure I can help, then - the demo works for me
able to start and send the codernadas to the server, but when I close the app I get the following error message.. and then the app doesn't open anymore
09-12 14:30:35.134: A/libc(18262): Fatal signal 6 (SIGABRT), code -1 (SI_QUEUE) in tid 18262 (stemas.zapcarga), pid 18262 (stemas.zapcarga)
do you know this message?
09-12 16:16:21.506: E/AndroidRuntime(27422): FATAL EXCEPTION: main 09-12 16:16:21.506: E/AndroidRuntime(27422): Process: com.cruxsistemas.zapcarga, PID: 27422 09-12 16:16:21.506: E/AndroidRuntime(27422): com.embarcadero.rtl.NativeDispatchException: RTTI for type onNmeaMessage was not found. Perhaps missing {$M+}? 09-12 16:16:21.506: E/AndroidRuntime(27422): at com.embarcadero.services.CrossPlatformLocationServiceProxyInterface.dispatchToNative2(Native Method) 09-12 16:16:21.506: E/AndroidRuntime(27422): at com.embarcadero.services.CrossPlatformLocationServiceProxyInterface.invoke(CrossPlatformLocationServiceProxyInterface.java:26) 09-12 16:16:21.506: E/AndroidRuntime(27422): at java.lang.reflect.Proxy.invoke(Proxy.java:1006) 09-12 16:16:21.506: E/AndroidRuntime(27422): at $Proxy4.onNmeaMessage(Unknown Source) 09-12 16:16:21.506: E/AndroidRuntime(27422): at android.location.LocationManager$GnssNmeaTransport.lambda$onNmeaReceived$0(LocationManager.java:3365) 09-12 16:16:21.506: E/AndroidRuntime(27422): at android.location.LocationManager$GnssNmeaTransport$$ExternalSyntheticLambda0.accept(Unknown Source:6) 09-12 16:16:21.506: E/AndroidRuntime(27422): at com.android.internal.listeners.ListenerTransport.lambda$execute$0(ListenerTransport.java:60) 09-12 16:16:21.506: E/AndroidRuntime(27422): at com.android.internal.listeners.ListenerTransport$$ExternalSyntheticLambda0.run(Unknown Source:4) 09-12 16:16:21.506: E/AndroidRuntime(27422): at android.os.Handler.handleCallback(Handler.java:938) 09-12 16:16:21.506: E/AndroidRuntime(27422): at android.os.Handler.dispatchMessage(Handler.java:99) 09-12 16:16:21.506: E/AndroidRuntime(27422): at android.os.Looper.loopOnce(Looper.java:201) 09-12 16:16:21.506: E/AndroidRuntime(27422): at android.os.Looper.loop(Looper.java:288) 09-12 16:16:21.506: E/AndroidRuntime(27422): at android.app.ActivityThread.main(ActivityThread.java:7880) 09-12 16:16:21.506: E/AndroidRuntime(27422): at java.lang.reflect.Method.invoke(Native Method) 09-12 16:16:21.506: E/AndroidRuntime(27422): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:568) 09-12 16:16:21.506: E/AndroidRuntime(27422): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1045)

Is it necessary to put the conditional LOCATION RECEIVER? When I put the app crashes, removing it loads but gives an error after a few seconds of closing.
09-12 16:16:21.506: E/AndroidRuntime(27422): com.embarcadero.rtl.NativeDispatchException: RTTI for type onNmeaMessage was not found. Perhaps missing {$M+}?
I have no idea why this error would happen. If you're unable to resolve it some other way, you could try removing lines 204-206 from the DW.Location.FusedLocation.Android unit in the Features\Location folder
Is it necessary to put the conditional LOCATION RECEIVER?
LOCATIONRECEIVER isn't used any more, so I don't know why removing the conditional define would make any difference
When I close the application it loads a notification icon informing that the system is being monitored ("Monitoring location changes") great it runs normally sending the coordinates to the server... but when I have to open the app again to the foreground it simply hangs... I repeat the operation a few times, then the icon closes, (I imagine the service is stopped) and with that the app opens normally again.
When I load the system (in the foreground again) shouldn't this icon come up?
when I have to open the app again to the foreground it simply hangs
Again, use a logcat viewer to see whether there are any messages that might indicate why it is hanging
LG G5 - Android 7.0
09-13 07:51:03.703: E/DWFusedLocationClient(9412): Location settings are inadequate, and cannot be fixed here. Please fix in Settings. 09-13 07:51:03.714: D/AndroidRuntime(9412): Shutting down VM 09-13 07:51:03.718: E/AndroidRuntime(9412): FATAL EXCEPTION: main 09-13 07:51:03.718: E/AndroidRuntime(9412): Process: com.cruxsistemas.zapcarga, PID: 9412 09-13 07:51:03.718: E/AndroidRuntime(9412): com.embarcadero.rtl.NativeDispatchException: Invoke error: method 'onLocationSettingsChange(Z)V' not found 09-13 07:51:03.718: E/AndroidRuntime(9412): at com.embarcadero.services.CrossPlatformLocationServiceProxyInterface.dispatchToNative2(Native Method) 09-13 07:51:03.718: E/AndroidRuntime(9412): at com.embarcadero.services.CrossPlatformLocationServiceProxyInterface.invoke(CrossPlatformLocationServiceProxyInterface.java:26) 09-13 07:51:03.718: E/AndroidRuntime(9412): at java.lang.reflect.Proxy.invoke(Proxy.java:813) 09-13 07:51:03.718: E/AndroidRuntime(9412): at $Proxy20.onLocationSettingsChange(Unknown Source) 09-13 07:51:03.718: E/AndroidRuntime(9412): at com.delphiworlds.kastri.DWFusedLocationClient$4.onFailure(DWFusedLocationClient.java:235) 09-13 07:51:03.718: E/AndroidRuntime(9412): at com.google.android.gms.tasks.zzk.run(com.google.android.gms:play-services-tasks@@17.2.0:4) 09-13 07:51:03.718: E/AndroidRuntime(9412): at android.os.Handler.handleCallback(Handler.java:751) 09-13 07:51:03.718: E/AndroidRuntime(9412): at android.os.Handler.dispatchMessage(Handler.java:95) 09-13 07:51:03.718: E/AndroidRuntime(9412): at android.os.Looper.loop(Looper.java:154) 09-13 07:51:03.718: E/AndroidRuntime(9412): at android.app.ActivityThread.main(ActivityThread.java:6311) 09-13 07:51:03.718: E/AndroidRuntime(9412): at java.lang.reflect.Method.invoke(Native Method) 09-13 07:51:03.718: E/AndroidRuntime(9412): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:872) 09-13 07:51:03.718: E/AndroidRuntime(9412): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:762)
Nokia 2.4 - Android 12
09-13 08:01:53.855: W/stemas.zapcarg(15363): Accessing hidden method Landroid/util/Log;->
Kastri demo has the same error on LG G5 with android 7
LG G5 - Android 7.0 09-13 07:51:03.703: E/DWFusedLocationClient(9412): Location settings are inadequate, and cannot be fixed here. Please fix in Settings
This means that the location settings on the device are insufficient for the demo to work. You will need to adjust them in the Android Settings app.
Nokia 2.4 - Android 12
For this device, there does not appear to be any messages that indicate there is a problem. You may have missed including the actual errors that are causing the problem.
Dave, using Device Lens to debug both the demo and my app I verified that when mine only opens when this info appears "DWFusedLocationClient All location settings are satisfied." "DWFusedLocationClient Calling mDelegate.onLocationUpdatesChange"
after I close my application the service no these commands are not sent to the service as in your demo
"LocalReceiverReceive received command: 2" "Starting foreground.." "CompatibilityChangeReporter Compat change id reported: 160794467; UID 10226; state: DISABLED"
after I close my application the service no these commands are not sent to the service as in your demo
You mean they are sent in the demo, but not your app? If so, then perhaps you have left out code that is in the demo?