Xposed Module "Three Steps Ahead" Crashed on Android 7.0 - android

On my ZTE Blade v8 Mini running Android 7.0 I installed Magisk, Xposed Framework for Magisk v89 and Xposed module Three Steps Ahead (missing in official repository). Rebooted my device and could see the module activated in Xposed Installer. When I launch the module either from within Xposed or as usual Android app it crashes endlessly. I installed Logcat Extreme and recorded the app's logs:
08-24 09:59:45.149 1486 5663 I ActivityManager: START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.github.spezifisch.threestepsahead/.MainActivity bnds=[184,638][360,828] (has extras)} from uid 10029 on display 0
08-24 09:59:45.190 1486 1874 I ActivityManager: Start proc 7884:com.github.spezifisch.threestepsahead/u0a121 for activity com.github.spezifisch.threestepsahead/.MainActivity
08-24 09:59:45.219 7884 7884 W System : ClassLoader referenced unknown path: /data/app/com.github.spezifisch.threestepsahead-1/lib/arm64
08-24 09:59:45.224 7884 7884 I Xposed : com.github.spezifisch.threestepsahead app loaded
08-24 09:59:45.261 7884 7884 I XLua.Xposed: Loaded com.github.spezifisch.threestepsahead:10121
08-24 09:59:45.603 7884 7884 E AndroidRuntime: Process: com.github.spezifisch.threestepsahead, PID: 7884
08-24 09:59:45.603 7884 7884 E AndroidRuntime: java.lang.RuntimeException: Unable to start activity ComponentInfo{com.github.spezifisch.threestepsahead/com.github.spezifisch.threestepsahead.MainActivity}: java.lang.SecurityException: MODE_WORLD_READABLE no longer supported
08-24 09:59:45.603 7884 7884 E AndroidRuntime: at com.github.spezifisch.threestepsahead.SettingsStorage.<init>(SettingsStorage.java:74)
08-24 09:59:45.603 7884 7884 E AndroidRuntime: at com.github.spezifisch.threestepsahead.SettingsStorage.getSettingsStorage(SettingsStorage.java:49)
08-24 09:59:45.603 7884 7884 E AndroidRuntime: at com.github.spezifisch.threestepsahead.MainActivity.onCreate(MainActivity.java:70)
08-24 09:59:45.607 1486 2466 W ActivityManager: Force finishing activity com.github.spezifisch.threestepsahead/.MainActivity
08-24 09:59:46.111 1486 1523 W ActivityManager: Activity pause timeout for ActivityRecord{4666c9b u0 com.github.spezifisch.threestepsahead/.MainActivity t572 f}
08-24 09:59:46.423 1486 1530 I WindowManager: Destroying surface Surface(name=Starting com.github.spezifisch.threestepsahead) called by com.android.server.wm.WindowStateAnimator.destroySurface:2027 com.android.server.wm.WindowStateAnimator.destroySurfaceLocked:882 com.android.server.wm.WindowState.removeLocked:1449 com.android.server.wm.WindowManagerService.removeWindowInnerLocked:2659 com.android.server.wm.AppWindowToken.destroySurfaces:365 com.android.server.wm.WindowStateAnimator.finishExit:566 com.android.server.wm.AppWindowAnimator.stepAnimationLocked:434 com.android.server.wm.WindowAnimator.updateAppWindowsLocked:176
08-24 09:59:50.651 1486 2466 W ActivityManager: Force finishing activity com.github.spezifisch.threestepsahead/.MainActivity
08-24 09:59:50.651 1486 2466 I ActivityManager: Killing 7884:com.github.spezifisch.threestepsahead/u0a121 (adj 900): crash
08-24 09:59:50.663 1486 1524 I WindowManager: Destroying surface Surface(name=Application Error: com.github.spezifisch.threestepsahead) called by com.android.server.wm.WindowStateAnimator.destroySurface:2027 com.android.server.wm.WindowStateAnimator.destroySurfaceLocked:882 com.android.server.wm.WindowState.removeLocked:1449 com.android.server.wm.WindowManagerService.removeWindowInnerLocked:2659 com.android.server.wm.WindowManagerService.removeWindowLocked:2617 com.android.server.wm.WindowManagerService.removeWindowLocked:2486 com.android.server.wm.WindowManagerService.removeWindow:2481 com.android.server.wm.Session.remove:196
08-24 10:04:53.198 1486 2581 I ActivityManager: Start proc 8119:com.github.spezifisch.threestepsahead/u0a121 for service com.github.spezifisch.threestepsahead/.JoystickService
08-24 10:04:53.221 8119 8119 W System : ClassLoader referenced unknown path: /data/app/com.github.spezifisch.threestepsahead-1/lib/arm64
08-24 10:04:53.226 8119 8119 I Xposed : com.github.spezifisch.threestepsahead app loaded
08-24 10:04:53.256 8119 8119 I XLua.Xposed: Loaded com.github.spezifisch.threestepsahead:10121
Can anyone help me to figure out why the module/app crashing and how to fix it?
P.S. It also crashes on any 8.x and 9.x devices I tried

We should use Context.MODE_PRIVATE and it will work!

Related

Xiaomi, Redmi, Android. Error in Logcat: W PowerChecker.Controller: autoKillApp, calling ProcessManager uid = 10289, pkg = com.termux

Xiaomi Redmi 7A with MIUI 12.5 keeps killing background service / application (Telegram SMS and Termux) when the phone is not connected to charger. Logcat log:
01-06 10:45:57.787 1892 1892 I MiuiChargeManager: notifyBatteryStatusChanged: status: 3 isPlugged: 0 level: 70 wireState: -1 chargeSpeed: 0 m
WiredChargeType: 0 mWirelessChargeType: 0 chargeDeviceType: -1
01-06 10:50:15.716 4344 4652 W PowerChecker.Controller: autoKillApp, calling ProcessManager uid = 10289, pkg = com.termux
01-06 10:50:15.716 1580 2093 I ProcessManager: Kill reason AutoPowerKill from pid=4344
01-06 10:50:15.829 1580 2093 I ProcessManager: AutoPowerKill: kill com.termux Adj=200 State=5
01-06 10:50:15.830 1580 2093 I ActivityManager: Killing 13234:com.termux/u0a289 (adj 200): AutoPowerKill
01-06 10:50:15.875 4344 4652 W PowerChecker.Controller: autoKillApp, calling ProcessManager uid = 10305, pkg = com.qwe7002.telegram_sms
01-06 10:50:15.876 1580 2093 I ProcessManager: Kill reason AutoPowerKill from pid=4344
01-06 10:50:15.877 1580 2093 I ProcessManager: AutoPowerKill: kill com.qwe7002.telegram_sms:command Adj=200 State=5
01-06 10:50:15.878 1580 2093 I ActivityManager: Killing 23378:com.qwe7002.telegram_sms:command/u0a305 (adj 200): AutoPowerKill
01-06 10:50:15.880 1580 2093 I ProcessManager: AutoPowerKill: kill com.qwe7002.telegram_sms:battery Adj=200 State=5
01-06 10:50:15.880 1580 2093 I ActivityManager: Killing 23348:com.qwe7002.telegram_sms:battery/u0a305 (adj 200): AutoPowerKill
01-06 10:50:15.961 1580 1848 I ProcessManager: remove no clear notification:StatusBarNotification(pkg=com.termux user=UserHandle{0} id=1337 tag=null key=0|com.termux|1337|null|10289: Notification(channel=termux_notification_channel pri=1 contentView=null vibrate=null sound=null defaults=0x0 flags=0x62 color=0xff607d8b actions=2 vis=PRIVATE))
01-06 10:50:15.968 1580 3450 W ActivityManager: Scheduling restart of crashed service com.termux/.app.TermuxService in 1000ms
01-06 10:50:15.973 1580 1665 W ActivityManager: setHasOverlayUi called on unknown pid: 13234
01-06 10:50:15.977 1580 4023 W ActivityManager: Scheduling restart of crashed service com.qwe7002.telegram_sms/.battery_service in 10992ms
01-06 10:50:15.983 1580 1848 I ProcessManager: remove no clear notification:StatusBarNotification(pkg=com.qwe7002.telegram_sms user=UserHandle{0} id=2 tag=null key=0|com.qwe7002.telegram_sms|2|null|10305: Notification(channel=Chat command pri=0 contentView=null vibrate=null sound=null tick defaults=0x0 flags=0x62 color=0x00000000 vis=PRIVATE))
01-06 10:50:15.984 1580 4019 W ActivityManager: Scheduling restart of crashed service com.qwe7002.telegram_sms/.chat_command_service in 20984ms
01-06 10:50:16.650 23510 23510 E ExtAssistant: Error occurred processing removal of StatusBarNotification(pkg=com.termux user=UserHandle{0} id=1337 tag=null key=0|com.termux|1337|null|10289: Notification(channel=termux_notification_channel pri=1 contentView=null vibrate=null sound=null defaults=0x0 flags=0x62 color=0xff607d8b actions=2 vis=PRIVATE))
How to fix this?
Need to lock application in Recents menu:
Go to Security app > tap settings (gear on top right) > Boost speed >
Lock apps > Lock the app you need to keep running. This replaces the
"padlock" icon (App pinning from the recents menu) that no longer is
visible in MIUI 12.
Source

android.intent.action.SIM_STATE_CHANGED not allowed to run by Android OS

I have a broadcast receiver for android.intent.action.SIM_STATE_CHANGED and i assume that this will be called every time sim state changes. This has been also confirmed by some older posts here
But what I have observed in Android P is that every time this receiver is called my application process is killed by Os.
01-01 01:01:06.764 1020 1064 I am_proc_start: [0,3334,10036,com.testapp,broadcast,com.testapp/.receivers.SIMBroadcastReceiver]
01-01 01:01:06.764 1020 1064 I am_proc_start: [0,3334,10036,com.testapp,broadcast,com.testapp/.receivers.SIMBroadcastReceiver]
01-01 01:01:06.764 1020 1064 I ActivityManager: Start proc 3334:com.testapp/u0a36 for broadcast com.testapp/.receivers.SIMBroadcastReceiver
01-01 01:01:06.764 1020 1064 I ActivityManager: Start proc 3334:com.testapp/u0a36 for broadcast com.testapp/.receivers.SIMBroadcastReceiver
01-01 01:01:06.878 1020 1988 I am_proc_bound: [0,3334,com.testapp]
01-01 01:01:07.269 1020 1045 D PowerManagerService: acquireWakeLockInternal: lock=11990847, flags=0x1, tag="fiid-sync", ws=null, uid=10036, pid=3334, packageName=com.testapp
01-01 01:01:07.282 1020 1045 D PowerManagerService: releaseWakeLockInternal: lock=11990847 [fiid-sync], flags=0x0,packageName=com.testapp, total_time=11ms
01-01 01:01:09.021 1020 1988 I sysui_multi_action: [757,856,758,1,806,com.testapp,857,channel_services_updates,858,3]
01-01 01:01:09.025 1020 1988 I sysui_multi_action: [757,856,758,1,806,com.testapp,857,channel_push_custom_content,858,4]
01-01 01:01:09.030 1020 1988 I sysui_multi_action: [757,856,758,1,806,com.testapp,857,channel_app_installations,858,2]
01-01 01:01:12.543 1020 2486 I ActivityManager: Killing 3334:com.testapp/u0a36 (adj 906): empty #9
01-01 01:01:12.543 1020 2486 I am_kill : [0,3334,com.testapp,906,empty #9]
01-01 01:01:12.911 1020 2486 I am_proc_died: [0,3334,com.testapp,906,18]
As can be seen by events am_kill and am_proc_died. these two events don't even allow the onReceive() method o be called.
This is happening all the time in android P.

run-android stopped working and always fail

All of a sudden, my react native project stopped working in the android emulator.
every time I run
react-native run-android
i get the message 'Unfortunately, APPNAME has stopped.
My setup files are here.
The app is launched using
/Users/myusername/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell am start -n com.selfy/.MainActivity)...
I'm not sure what did happen before the last time it was working just fine. On the iOS simulator, the app runs as usual.
Just to get me started with the debug, what's the usual procedure to debug, when the app doesn't even start on the device? Is there a way to save the error stuck somewhere?
LogCat logs here:
01-04 10:27:34.401 2520 2520 D AndroidRuntime: >>>>>> START com.android.internal.os.RuntimeInit uid 2000 <<<<<<
01-04 10:27:34.402 2520 2520 D AndroidRuntime: CheckJNI is ON
01-04 10:27:34.403 2520 2520 E cutils-trace: Error opening trace file: Permission denied (13)
01-04 10:27:34.423 2520 2520 W art : Unexpected CPU variant for X86 using defaults: x86_64
01-04 10:27:34.427 2520 2520 D ICU : No timezone override file found: /data/misc/zoneinfo/current/icu/icu_tzdata.dat
01-04 10:27:34.440 2520 2520 E memtrack: Couldn't load memtrack module (No such file or directory)
01-04 10:27:34.440 2520 2520 E android.os.Debug: failed to load memtrack module: -2
01-04 10:27:34.441 2520 2520 I Radio-JNI: register_android_hardware_Radio DONE
01-04 10:27:34.448 2520 2520 D AndroidRuntime: Calling main entry com.android.commands.am.Am
01-04 10:27:34.456 2520 2520 D AndroidRuntime: Shutting down VM
01-04 10:27:34.676 2530 2530 D AndroidRuntime: >>>>>> START com.android.internal.os.RuntimeInit uid 2000 <<<<<<
01-04 10:27:34.678 2530 2530 D AndroidRuntime: CheckJNI is ON
01-04 10:27:34.678 2530 2530 E cutils-trace: Error opening trace file: Permission denied (13)
01-04 10:27:34.701 2530 2530 W art : Unexpected CPU variant for X86 using defaults: x86_64
01-04 10:27:34.706 2530 2530 D ICU : No timezone override file found: /data/misc/zoneinfo/current/icu/icu_tzdata.dat
01-04 10:27:34.720 2530 2530 E memtrack: Couldn't load memtrack module (No such file or directory)
01-04 10:27:34.720 2530 2530 E android.os.Debug: failed to load memtrack module: -2
01-04 10:27:34.721 2530 2530 I Radio-JNI: register_android_hardware_Radio DONE
01-04 10:27:34.727 2530 2530 D AndroidRuntime: Calling main entry com.android.commands.pm.Pm
01-04 10:27:34.742 2530 2530 I art : System.exit called, status: 0
01-04 10:27:34.742 2530 2530 I AndroidRuntime: VM exiting with result code 0.
01-04 10:27:34.989 2541 2541 D AndroidRuntime: >>>>>> START com.android.internal.os.RuntimeInit uid 2000 <<<<<<
01-04 10:27:34.990 2541 2541 D AndroidRuntime: CheckJNI is ON
01-04 10:27:34.990 2541 2541 E cutils-trace: Error opening trace file: Permission denied (13)
01-04 10:27:35.012 2541 2541 W art : Unexpected CPU variant for X86 using defaults: x86_64
01-04 10:27:35.015 2541 2541 D ICU : No timezone override file found: /data/misc/zoneinfo/current/icu/icu_tzdata.dat
01-04 10:27:35.028 2541 2541 E memtrack: Couldn't load memtrack module (No such file or directory)
01-04 10:27:35.028 2541 2541 E android.os.Debug: failed to load memtrack module: -2
01-04 10:27:35.028 2541 2541 I Radio-JNI: register_android_hardware_Radio DONE
01-04 10:27:35.034 2541 2541 D AndroidRuntime: Calling main entry com.android.commands.pm.Pm
01-04 10:27:35.043 1234 1234 I : free_cache(9402219) avail 469483520
01-04 10:27:36.164 2541 2541 I art : System.exit called, status: 0
01-04 10:27:36.164 2541 2541 I AndroidRuntime: VM exiting with result code 0.
01-04 10:27:36.376 2553 2553 D AndroidRuntime: >>>>>> START com.android.internal.os.RuntimeInit uid 2000 <<<<<<
01-04 10:27:36.378 2553 2553 D AndroidRuntime: CheckJNI is ON
01-04 10:27:36.378 2553 2553 E cutils-trace: Error opening trace file: Permission denied (13)
01-04 10:27:36.401 2553 2553 W art : Unexpected CPU variant for X86 using defaults: x86_64
01-04 10:27:36.406 2553 2553 D ICU : No timezone override file found: /data/misc/zoneinfo/current/icu/icu_tzdata.dat
01-04 10:27:36.420 2553 2553 E memtrack: Couldn't load memtrack module (No such file or directory)
01-04 10:27:36.420 2553 2553 E android.os.Debug: failed to load memtrack module: -2
01-04 10:27:36.420 2553 2553 I Radio-JNI: register_android_hardware_Radio DONE
01-04 10:27:36.431 2553 2553 D AndroidRuntime: Calling main entry com.android.commands.pm.Pm
01-04 10:27:36.723 1480 1492 W art : Long monitor contention with owner PackageInstaller (1507) at int android.content.res.AssetManager.getStringBlockCount!()(AssetManager.java:-2) waiters=0 in android.content.pm.PackageInstaller$SessionInfo com.android.server.pm.PackageInstallerSession.generateInfo() for 282ms
01-04 10:27:36.752 1480 1506 I PackageManager.DexOptimizer: Running dexopt (dex2oat) on: /data/app/vmdl1425441869.tmp/base.apk pkg=com.selfy isa=x86 vmSafeMode=false debuggable=true target-filter=interpret-only oatDir = /data/app/vmdl1425441869.tmp/oat sharedLibraries=null
01-04 10:27:36.764 2564 2564 W dex2oat : Unexpected CPU variant for X86 using defaults: x86
01-04 10:27:36.765 2564 2564 W dex2oat : Mismatch between dex2oat instruction set features (ISA: X86 Feature string: smp,-ssse3,-sse4.1,-sse4.2,-avx,-avx2,-lock_add,-popcnt) and those of dex2oat executable (ISA: X86 Feature string: smp,ssse3,sse4.1,sse4.2,-avx,-avx2,-lock_add,popcnt) for the command line:
01-04 10:27:36.765 2564 2564 W dex2oat : /system/bin/dex2oat --zip-fd=6 --zip-location=base.apk --oat-fd=7 --oat-location=/data/app/vmdl1425441869.tmp/oat/x86/base.odex --instruction-set=x86 --instruction-set-variant=x86 --instruction-set-features=default --runtime-arg -Xms64m --runtime-arg -Xmx512m --compiler-filter=interpret-only --swap-fd=9 --debuggable
01-04 10:27:36.765 2564 2564 I dex2oat : /system/bin/dex2oat --compiler-filter=interpret-only --debuggable
01-04 10:27:36.765 2564 2564 E cutils-trace: Error opening trace file: Permission denied (13)
01-04 10:27:36.929 2564 2566 W dex2oat : Before Android 4.1, method int android.support.v7.widget.ListViewCompat.lookForSelectablePosition(int, boolean) would have incorrectly overridden the package-private method in android.widget.ListView
01-04 10:27:36.978 2564 2566 W dex2oat : Before Android 4.1, method boolean com.facebook.share.widget.ShareButtonBase.canShare() would have incorrectly overridden the package-private method in android.widget.TextView
01-04 10:27:36.983 2564 2564 W dex2oat : Before Android 4.1, method android.graphics.PorterDuffColorFilter android.support.graphics.drawable.VectorDrawableCompat.updateTintFilter(android.graphics.PorterDuffColorFilter, android.content.res.ColorStateList, android.graphics.PorterDuff$Mode) would have incorrectly overridden the package-private method in android.graphics.drawable.Drawable
01-04 10:27:38.944 2564 2564 I dex2oat : dex2oat took 2.179s (threads: 2) arena alloc=280KB (287040B) java alloc=5MB (6023456B) native alloc=8MB (8991224B) free=2MB (3067400B)
01-04 10:27:38.949 1480 1494 I ActivityManager: Force stopping com.selfy appid=10054 user=-1: installPackageLI
01-04 10:27:38.962 1480 1506 I PackageManager: Package com.selfy codePath changed from /data/app/com.selfy-1 to /data/app/com.selfy-2; Retaining data and using new
01-04 10:27:38.962 1480 1506 W PackageManager: Code path for com.selfy changing from /data/app/com.selfy-1 to /data/app/com.selfy-2
01-04 10:27:38.962 1480 1506 W PackageManager: Resource path for com.selfy changing from /data/app/com.selfy-1 to /data/app/com.selfy-2
01-04 10:27:38.980 1480 1506 W PackageManager: Unknown permission com.google.android.c2dm.permission.RECEIVE in package com.selfy
01-04 10:27:38.980 1480 1506 W PackageManager: Unknown permission com.sec.android.provider.badge.permission.READ in package com.selfy
01-04 10:27:38.980 1480 1506 W PackageManager: Unknown permission com.sec.android.provider.badge.permission.WRITE in package com.selfy
01-04 10:27:38.980 1480 1506 W PackageManager: Unknown permission com.htc.launcher.permission.READ_SETTINGS in package com.selfy
01-04 10:27:38.980 1480 1506 W PackageManager: Unknown permission com.htc.launcher.permission.UPDATE_SHORTCUT in package com.selfy
01-04 10:27:38.980 1480 1506 W PackageManager: Unknown permission com.sonyericsson.home.permission.BROADCAST_BADGE in package com.selfy
01-04 10:27:38.980 1480 1506 W PackageManager: Unknown permission com.sonymobile.home.permission.PROVIDER_INSERT_BADGE in package com.selfy
01-04 10:27:38.980 1480 1506 W PackageManager: Unknown permission com.anddoes.launcher.permission.UPDATE_COUNT in package com.selfy
01-04 10:27:38.980 1480 1506 W PackageManager: Unknown permission com.majeur.launcher.permission.UPDATE_BADGE in package com.selfy
01-04 10:27:38.980 1480 1506 W PackageManager: Unknown permission com.huawei.android.launcher.permission.CHANGE_BADGE in package com.selfy
01-04 10:27:38.980 1480 1506 W PackageManager: Unknown permission com.huawei.android.launcher.permission.READ_SETTINGS in package com.selfy
01-04 10:27:38.980 1480 1506 W PackageManager: Unknown permission com.huawei.android.launcher.permission.WRITE_SETTINGS in package com.selfy
01-04 10:27:38.996 1480 1506 I art : Starting a blocking GC Explicit
01-04 10:27:39.014 1480 1506 I art : Explicit concurrent mark sweep GC freed 51004(2MB) AllocSpace objects, 17(676KB) LOS objects, 23% free, 12MB/16MB, paused 641us total 17.238ms
01-04 10:27:39.018 1234 1234 E : Couldn't opendir /data/app/vmdl1425441869.tmp: No such file or directory
01-04 10:27:39.022 2553 2553 I art : System.exit called, status: 0
01-04 10:27:39.022 2553 2553 I AndroidRuntime: VM exiting with result code 0.
01-04 10:27:39.022 1480 1506 I ActivityManager: Force stopping com.selfy appid=10054 user=0: pkg removed
01-04 10:27:39.042 1480 1521 I InputReader: Reconfiguring input devices. changes=0x00000010
01-04 10:27:39.057 1480 1521 I InputReader: Reconfiguring input devices. changes=0x00000010
01-04 10:27:39.061 1480 1521 I InputReader: Reconfiguring input devices. changes=0x00000010
01-04 10:27:39.061 1897 1897 W ContextImpl: Calling a method in the system process without a qualified user: android.app.ContextImpl.startService:1385 android.content.ContextWrapper.startService:613 android.content.ContextWrapper.startService:613 com.android.keychain.KeyChainBroadcastReceiver.onReceive:12 android.app.ActivityThread.handleReceiver:3011
01-04 10:27:39.133 1480 1493 W VoiceInteractionManagerService: no available voice recognition services found for user 0
01-04 10:27:39.133 1480 1493 W LocationProviderProxy-network: Odd, no component found for service com.android.location.service.v3.NetworkLocationProvider
01-04 10:27:39.139 1480 1493 W GeocoderProxy: Odd, no component found for service com.android.location.service.GeocodeProvider
01-04 10:27:39.139 1480 1493 W GeofenceProxy: Odd, no component found for service com.android.location.service.GeofenceProvider
01-04 10:27:39.139 1480 1493 W ActivityRecognitionProxy: Odd, no component found for service com.android.location.service.ActivityRecognitionProvider
01-04 10:27:39.143 1695 1695 D CarrierSvcBindHelper: No carrier app for: 0
01-04 10:27:39.146 1695 1695 D CarrierSvcBindHelper: No carrier app for: 0
01-04 10:27:39.147 1695 1695 D CarrierConfigLoader: mHandler: 9 phoneId: 0
01-04 10:27:39.702 2570 2570 D AndroidRuntime: >>>>>> START com.android.internal.os.RuntimeInit uid 2000 <<<<<<
01-04 10:27:39.703 2570 2570 D AndroidRuntime: CheckJNI is ON
01-04 10:27:39.703 2570 2570 E cutils-trace: Error opening trace file: Permission denied (13)
01-04 10:27:39.724 2570 2570 W art : Unexpected CPU variant for X86 using defaults: x86_64
01-04 10:27:39.728 2570 2570 D ICU : No timezone override file found: /data/misc/zoneinfo/current/icu/icu_tzdata.dat
01-04 10:27:39.744 2570 2570 E memtrack: Couldn't load memtrack module (No such file or directory)
01-04 10:27:39.744 2570 2570 E android.os.Debug: failed to load memtrack module: -2
01-04 10:27:39.748 2570 2570 I Radio-JNI: register_android_hardware_Radio DONE
01-04 10:27:39.759 2570 2570 D AndroidRuntime: Calling main entry com.android.commands.am.Am
01-04 10:27:39.765 1480 1591 I ActivityManager: START u0 {flg=0x10000000 cmp=com.selfy/.MainActivity} from uid 2000 on display 0
01-04 10:27:39.774 2570 2570 D AndroidRuntime: Shutting down VM
01-04 10:27:39.787 1480 1939 I ActivityManager: Start proc 2580:com.selfy/u0a54 for activity com.selfy/.MainActivity
01-04 10:27:39.794 2580 2580 I art : Not late-enabling -Xcheck:jni (already on)
01-04 10:27:39.795 2580 2580 W art : Unexpected CPU variant for X86 using defaults: x86
01-04 10:27:39.818 1220 1536 D gralloc_ranchu: gralloc_alloc: format 1 and usage 0x933 imply creation of host color buffer
01-04 10:27:39.842 1480 1501 D : HostConnection::get() New Host Connection established 0x7ffed95948e0, tid 1501
01-04 10:27:39.881 2580 2595 D NetworkSecurityConfig: No Network Security Config specified, using platform default
01-04 10:27:39.889 2580 2580 V fb-UnpackingSoSource: locked dso store /data/user/0/com.selfy/lib-main
01-04 10:27:39.889 2580 2580 V fb-UnpackingSoSource: deps mismatch on deps store: regenerating
01-04 10:27:39.890 2580 2580 V fb-UnpackingSoSource: so store dirty: regenerating
01-04 10:27:39.923 2580 2580 D ApkSoSource: not allowing consideration of lib/x86/libfb.so: deferring to libdir
01-04 10:27:39.923 2580 2580 D ApkSoSource: not allowing consideration of lib/x86/libfolly_json.so: deferring to libdir
01-04 10:27:39.923 2580 2580 D ApkSoSource: not allowing consideration of lib/x86/libglog.so: deferring to libdir
01-04 10:27:39.923 2580 2580 D ApkSoSource: not allowing consideration of lib/x86/libglog_init.so: deferring to libdir
01-04 10:27:39.923 2580 2580 D ApkSoSource: not allowing consideration of lib/x86/libgnustl_shared.so: deferring to libdir
01-04 10:27:39.923 2580 2580 D ApkSoSource: not allowing consideration of lib/x86/libicu_common.so: deferring to libdir
01-04 10:27:39.923 2580 2580 D ApkSoSource: not allowing consideration of lib/x86/libimagepipeline.so: deferring to libdir
01-04 10:27:39.923 2580 2580 D ApkSoSource: not allowing consideration of lib/x86/libjsc.so: deferring to libdir
01-04 10:27:39.923 2580 2580 D ApkSoSource: not allowing consideration of lib/x86/libreactnativejni.so: deferring to libdir
01-04 10:27:39.923 2580 2580 D ApkSoSource: not allowing consideration of lib/x86/libreactnativejnifb.so: deferring to libdir
01-04 10:27:39.924 2580 2580 V fb-UnpackingSoSource: regenerating DSO store com.facebook.soloader.ApkSoSource
01-04 10:27:39.924 2580 2580 V fb-UnpackingSoSource: starting syncer worker
01-04 10:27:39.939 2580 2580 V fb-UnpackingSoSource: releasing dso store lock for /data/user/0/com.selfy/lib-main (from syncer thread)
01-04 10:27:39.940 2580 2580 V fb-UnpackingSoSource: not releasing dso store lock for /data/user/0/com.selfy/lib-main (syncer thread started)
01-04 10:27:40.009 2580 2580 W unknown:React: Packager connection already open, nooping.
01-04 10:27:40.023 1220 2506 E SurfaceFlinger: ro.sf.lcd_density must be defined as a build property
01-04 10:27:41.021 2580 2610 D : HostConnection::get() New Host Connection established 0xe36cc700, tid 2610
01-04 10:27:41.021 1220 1536 D gralloc_ranchu: gralloc_alloc: format 1 and usage 0x900 imply creation of host color buffer
01-04 10:27:41.022 1480 1501 I Choreographer: Skipped 71 frames! The application may be doing too much work on its main thread.
01-04 10:27:41.038 2580 2610 I OpenGLRenderer: Initialized EGL, version 1.4
01-04 10:27:41.038 2580 2610 D OpenGLRenderer: Swap behavior 1
01-04 10:27:41.046 1220 1536 D gralloc_ranchu: gralloc_alloc: format 1 and usage 0x900 imply creation of host color buffer
01-04 10:27:41.067 1220 1536 D gralloc_ranchu: gralloc_alloc: format 1 and usage 0x900 imply creation of host color buffer
01-04 10:27:41.095 2580 2610 W gralloc_ranchu: Gralloc pipe failed
01-04 10:27:41.244 1220 1252 D gralloc_ranchu: gralloc_alloc: format 1 and usage 0x900 imply creation of host color buffer
01-04 10:27:41.249 1220 1252 D gralloc_ranchu: gralloc_alloc: format 1 and usage 0x900 imply creation of host color buffer
01-04 10:27:41.257 1480 1501 I ActivityManager: Displayed com.selfy/.MainActivity: +1s483ms
01-04 10:27:41.262 1220 1252 D gralloc_ranchu: gralloc_alloc: format 1 and usage 0x900 imply creation of host color buffer
01-04 10:27:41.394 2580 2580 I art : Thread[1,tid=2580,Native,Thread*=0xf008b400,peer=0x750cd6f0,"main"] recursive attempt to load library "/data/app/com.selfy-2/lib/x86/libfb.so"
01-04 10:27:41.404 1480 1938 W InputMethodManagerService: Window already focused, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub$Proxy#f85b331 attribute=null, token = android.os.BinderProxy#1a05b66
01-04 10:27:41.410 2580 2596 W unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.art.ARTRenderableViewManager
01-04 10:27:41.410 2580 2596 W unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.art.ARTGroupShadowNode
01-04 10:27:41.411 2580 2596 W unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.art.ARTShapeShadowNode
01-04 10:27:41.412 2580 2596 W unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.art.ARTTextShadowNode
01-04 10:27:41.413 2580 2596 W unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.art.ARTSurfaceViewManager
01-04 10:27:41.414 2580 2596 W unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.art.ARTSurfaceViewShadowNode
01-04 10:27:41.420 2580 2596 W unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.picker.ReactDialogPickerManager
01-04 10:27:41.421 2580 2596 W unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.uimanager.LayoutShadowNode
01-04 10:27:41.421 2580 2596 W unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.drawer.ReactDrawerLayoutManager
01-04 10:27:41.422 2580 2596 W unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.picker.ReactDropdownPickerManager
com.facebook.react.views.slider.ReactSliderManager
01-04 10:27:41.437 2580 2596 W unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.slider.ReactSliderManager$ReactSliderShadowNode
01-04 10:27:41.437 2580 2596 W unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.switchview.ReactSwitchManager
01-04 10:27:41.438 2580 2596 W unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.switchview.ReactSwitchManager$ReactSwitchShadowNode
01-04 10:27:41.441 2580 2596 W unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.text.frescosupport.FrescoBasedReactTextInlineImageViewManager
01-04 10:27:41.442 2580 2596 W unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.text.frescosupport.FrescoBasedReactTextInlineImageShadowNode
01-04 10:27:41.442 2580 2596 W unknown:ViewManagerPropertyUpdater: Could not find generated setter for class com.facebook.react.views.textinput.ReactTextInputManager
01-04 10:27:41.448 1480 1501 I WindowManager: Destroying surface Surface(name=Starting com.selfy) called by com.android.server.wm.WindowStateAnimator.destroySurface:2014 com.android.server.wm.WindowStateAnimator.destroySurfaceLocked:881 com.android.server.wm.WindowState.destroyOrSaveSurface:2073 com.android.server.wm.WindowSurfacePlacer.performSurfacePlacementInner:429 com.android.server.wm.WindowSurfacePlacer.performSurfacePlacementLoop:232 com.android.server.wm.WindowSurfacePlacer.performSurfacePlacement:180 com.android.server.wm.WindowManagerService$H.handleMessage:8079 android.os.Handler.dispatchMessage:102
01-04 10:27:41.583 1480 1501 W AppOps : Finishing op nesting under-run: uid 10054 pkg com.selfy code 24 time=0 duration=0 nesting=0
01-04 10:27:41.792 2580 2615 I ReactNativeJS: NOTIFICATION CLICKED
01-04 10:27:41.803 1480 1747 I WindowManager: Destroying surface Surface(name=com.android.launcher3/com.android.launcher3.Launcher) called by com.android.server.wm.WindowStateAnimator.destroySurface:2014 com.android.server.wm.WindowStateAnimator.destroySurfaceLocked:881 com.android.server.wm.WindowState.destroyOrSaveSurface:2073 com.android.server.wm.AppWindowToken.destroySurfaces:363 com.android.server.wm.AppWindowToken.notifyAppStopped:389 com.android.server.wm.WindowManagerService.notifyAppStopped:4456 com.android.server.am.ActivityStack.activityStoppedLocked:1252 com.android.server.am.ActivityManagerService.activityStopped:6873
01-04 10:27:41.848 2580 2615 I ReactNativeJS: { type: '##redux/INIT' }
01-04 10:27:41.848 2580 2615 I ReactNativeJS: { type: '##redux/PROBE_UNKNOWN_ACTION_h.k.0.z.2' }
01-04 10:27:41.848 2580 2615 I ReactNativeJS: { type: '##redux/INIT' }
01-04 10:27:41.848 2580 2615 I ReactNativeJS: { type: '##redux/PROBE_UNKNOWN_ACTION_6.p.6.i.j.h' }
01-04 10:27:41.851 2580 2615 I ReactNativeJS: { type: '##INIT' }
01-04 10:27:41.852 2580 2615 I ReactNativeJS: { type: '##INIT' }
01-04 10:27:41.863 2580 2621 E AndroidRuntime: FATAL EXCEPTION: IntentService[RNPushNotification]
01-04 10:27:41.863 2580 2621 E AndroidRuntime: Process: com.selfy, PID: 2580
01-04 10:27:41.863 2580 2621 E AndroidRuntime: java.lang.IllegalAccessError: Method 'void android.support.v4.content.ContextCompat.<init>()' is inaccessible to class 'com.google.android.gms.iid.zzd' (declaration of 'com.google.android.gms.iid.zzd' appears in /data/app/com.selfy-2/base.apk)
01-04 10:27:41.863 2580 2621 E AndroidRuntime: at com.google.android.gms.iid.zzd.zzdo(Unknown Source)
01-04 10:27:41.863 2580 2621 E AndroidRuntime: at com.google.android.gms.iid.zzd.<init>(Unknown Source)
01-04 10:27:41.863 2580 2621 E AndroidRuntime: at com.google.android.gms.iid.zzd.<init>(Unknown Source)
01-04 10:27:41.863 2580 2621 E AndroidRuntime: at com.google.android.gms.iid.InstanceID.zza(Unknown Source)
01-04 10:27:41.863 2580 2621 E AndroidRuntime: at com.google.android.gms.iid.InstanceID.getInstance(Unknown Source)
01-04 10:27:41.863 2580 2621 E AndroidRuntime: at com.dieam.reactnativepushnotification.modules.RNPushNotificationRegistrationService.onHandleIntent(RNPushNotificationRegistrationService.java:22)
01-04 10:27:41.863 2580 2621 E AndroidRuntime: at android.app.IntentService$ServiceHandler.handleMessage(IntentService.java:67)
01-04 10:27:41.863 2580 2621 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:102)
01-04 10:27:41.863 2580 2621 E AndroidRuntime: at android.os.Looper.loop(Looper.java:154)
01-04 10:27:41.863 2580 2621 E AndroidRuntime: at android.os.HandlerThread.run(HandlerThread.java:61)
01-04 10:27:41.863 1480 1591 W ActivityManager: Force finishing activity com.selfy/.MainActivity
01-04 10:27:41.869 2580 2580 D AndroidRuntime: Shutting down VM
01-04 10:27:41.869 2580 2580 I Process : Sending signal. PID: 2580 SIG: 9
01-04 10:27:41.905 1220 1536 D gralloc_ranchu: gralloc_alloc: format 1 and usage 0x900 imply creation of host color buffer
01-04 10:27:41.907 1480 1526 I OpenGLRenderer: Initialized EGL, version 1.4
01-04 10:27:41.907 1480 1526 D OpenGLRenderer: Swap behavior 1
01-04 10:27:41.913 1220 1536 D gralloc_ranchu: gralloc_alloc: format 1 and usage 0x900 imply creation of host color buffer
01-04 10:27:41.917 1240 1472 E FrameworkListener: read() failed (Connection reset by peer)
01-04 10:27:41.917 1480 1520 W InputDispatcher: channel '4042ea7 com.selfy/com.selfy.MainActivity (server)' ~ Consumer closed input channel or an error occurred. events=0x9
01-04 10:27:41.918 1480 1520 E InputDispatcher: channel '4042ea7 com.selfy/com.selfy.MainActivity (server)' ~ Channel is unrecoverably broken and will be disposed!
01-04 10:27:41.921 1480 1729 D GraphicsStats: Buffer count: 3
01-04 10:27:41.921 1480 1729 I WindowManager: WIN DEATH: Window{4042ea7 u0 com.selfy/com.selfy.MainActivity}
01-04 10:27:41.921 1480 1729 W InputDispatcher: Attempted to unregister already unregistered input channel '4042ea7 com.selfy/com.selfy.MainActivity (server)'
01-04 10:27:41.921 1480 1729 I WindowManager: Destroying surface Surface(name=com.selfy/com.selfy.MainActivity) called by com.android.server.wm.WindowStateAnimator.destroySurface:2014 com.android.server.wm.WindowStateAnimator.destroySurfaceLocked:881 com.android.server.wm.WindowState.removeLocked:1449 com.android.server.wm.WindowManagerService.removeWindowInnerLocked:2478 com.android.server.wm.WindowManagerService.removeWindowLocked:2436 com.android.server.wm.WindowState$DeathRecipient.binderDied:1780 android.os.BinderProxy.sendDeathNotice:688 <bottom of call stack>
01-04 10:27:41.922 1480 1492 I ActivityManager: Process com.selfy (pid 2580) has died
01-04 10:27:41.922 1480 1492 W ActivityManager: Scheduling restart of crashed service com.selfy/com.dieam.reactnativepushnotification.modules.RNPushNotificationRegistrationService in 1000ms
01-04 10:27:41.923 1220 1536 D gralloc_ranchu: gralloc_alloc: format 1 and usage 0x900 imply creation of host color buffer
01-04 10:27:41.978 1480 1591 W ActivityManager: Ignoring remove of inactive process: ProcessRecord{4ef2cd9 0:com.selfy/u0a54}
01-04 10:27:42.042 1220 1529 D gralloc_ranchu: gralloc_alloc: format 1 and usage 0x900 imply creation of host color buffer
01-04 10:27:42.055 1220 2506 D gralloc_ranchu: gralloc_alloc: format 1 and usage 0x900 imply creation of host color buffer
01-04 10:27:42.071 1220 2506 D gralloc_ranchu: gralloc_alloc: format 1 and usage 0x900 imply creation of host color buffer
01-04 10:27:42.165 1480 1495 I WindowManager: Destroying surface Surface(name=Application Error: com.selfy) called by com.android.server.wm.WindowStateAnimator.destroySurface:2014 com.android.server.wm.WindowStateAnimator.destroySurfaceLocked:881 com.android.server.wm.WindowState.removeLocked:1449 com.android.server.wm.WindowManagerService.removeWindowInnerLocked:2478 com.android.server.wm.WindowManagerService.removeWindowLocked:2436 com.android.server.wm.WindowManagerService.removeWindowLocked:2305 com.android.server.wm.WindowManagerService.removeWindow:2300 com.android.server.wm.Session.remove:193
01-04 10:27:42.166 1480 1495 W AppOps : Finishing op nesting under-run: uid 1000 pkg android code 24 time=0 duration=0 nesting=0
01-04 10:27:42.615 1911 1997 W OpenGLRenderer: Incorrectly called buildLayer on View: ShortcutAndWidgetContainer, destroying layer...
01-04 10:27:43.786 1480 1552 E TaskPersister: File error accessing recents directory (directory doesn't exist?).
Thanks

My Application Shuts Down with a Silent Error (AndroidRuntime: Shutting down VM)

MyApplication terminates silently. The last thing it prints is a tracelog from a function, then the Vm shuts down without any reference to my application.
This is the log snippet
05-17 15:25:28.294 4385 4385 D MyApplication: MyFunction()
05-17 15:25:28.294 4385 4385 D AndroidRuntime: Calling main entry com.android.commands.am.Am
05-17 15:25:28.369 4400 4400 W app_process: type=1400 audit(0.0:76): avc: denied { write } for name="system#framework#boot.art" dev="dm-0" ino=149 scontext=u:r:shell:s0 tcontext=u:object_r:dalvikcache_data_file:s0 tclass=file permissive=0
05-17 15:25:28.419 4400 4400 W main : type=1400 audit(0.0:77): avc: denied { write } for name="arm64" dev="dm-0" ino=143 scontext=u:r:shell:s0 tcontext=u:object_r:dalvikcache_data_file:s0 tclass=dir permissive=0
05-17 15:25:28.371 4400 4400 D AndroidRuntime: >>>>>> START com.android.internal.os.RuntimeInit uid 0 <<<<<<
05-17 15:25:28.375 4400 4400 D AndroidRuntime: CheckJNI is OFF
05-17 15:25:28.417 4400 4400 D ICU : No timezone override file found: /data/misc/zoneinfo/current/icu/icu_tzdata.dat
05-17 15:25:28.458 4400 4400 I Radio-JNI: register_android_hardware_Radio DONE
05-17 15:25:28.478 4385 4385 D AndroidRuntime: Shutting down VM
05-17 15:25:28.526 4400 4400 D AndroidRuntime: Calling main entry com.android.commands.am.Am
05-17 15:25:28.546 4400 4400 D AndroidRuntime: Shutting down VM
The application continued running.
There's no clear indicator except the generic: 05-17 15:25:28.546 4400 4400 D AndroidRuntime: Shutting down VM
The error was caused by an StackOverflow in native code I wrote.
Stackoverflows shut down silently in Android Native Code, in contrast to segfaults and are therefore hard to find.
Locate the last working piece of code with Tracelogging / Logdebug or use the debugger of Android Studio and you will find the location of the bug.
The indicator for the silent termination is: "Shutting down VM"
05-17 15:25:28.478 4385 4385 D AndroidRuntime: Shutting down VM
05-17 15:25:28.526 4400 4400 D AndroidRuntime: Calling main entry com.android.commands.am.Am
05-17 15:25:28.546 4400 4400 D AndroidRuntime: Shutting down VM
The application continued running, because the code was executed within it's own process (via ProcessBuilder.command())

MVVMCross 3.5.1 and xamarin android does not work

I have a question: is there somebody that use MVVMCross 3.5.1 with Api level android 21 and xamarin studio 5.9.3? I have a problem: I reference mvvmcross in an android app. I have a splashscreen and a firstview. When I tried to start with emulator I don't have any problem with level 15 emulator but when I tried it with the last version (Api 21) the app after splashscreen is closed without any error (not open the firstview).
Is there a solution?
UPDATE
I tried with logcat. In the following I attached the log:
W/AudioTrack( 394): AUDIO_OUTPUT_FLAG_FAST denied by client
I/ActivityManager( 394): START u0 {act=android.intent.action.MAIN cat=[android.
intent.category.LAUNCHER] flg=0x10000000 cmp=com.nowhere.nowhere/md51f5aeae0dbe3
fa3acab67292d41114d1.SplashScreen (has extras)} from uid 10007 on display 0
I/Choreographer( 824): Skipped 67 frames! The application may be doing too muc
h work on its main thread.
I/art ( 1716): Not late-enabling -Xcheck:jni (already on)
I/ActivityManager( 394): Start proc com.nowhere.nowhere for activity com.nowher
e.nowhere/md51f5aeae0dbe3fa3acab67292d41114d1.SplashScreen: pid=1716 uid=10056 g
ids={50056, 9997, 3003} abi=armeabi-v7a
I/Choreographer( 394): Skipped 32 frames! The application may be doing too muc
h work on its main thread.
F/MonoDroid( 1716): shared runtime initialization error: dlopen failed: library
"/data/app/Mono.Android.DebugRuntime-1/lib/arm/lib/libmonosgen-2.0.so" not found
I/Zygote ( 66): Process 1716 exited cleanly (1)
I/ActivityManager( 394): Process com.nowhere.nowhere (pid 1716) has died
I/art ( 1731): Not late-enabling -Xcheck:jni (already on)
I/ActivityManager( 394): Start proc com.nowhere.nowhere for activity com.nowher
e.nowhere/md51f5aeae0dbe3fa3acab67292d41114d1.SplashScreen: pid=1731 uid=10056 g
ids={50056, 9997, 3003} abi=armeabi-v7a
F/MonoDroid( 1731): shared runtime initialization error: dlopen failed: library
"/data/app/Mono.Android.DebugRuntime-1/lib/arm/lib/libmonosgen-2.0.so" not found
I/Zygote ( 66): Process 1731 exited cleanly (1)
I/ActivityManager( 394): Process com.nowhere.nowhere (pid 1731) has died
I/art ( 1746): Not late-enabling -Xcheck:jni (already on)
I/ActivityManager( 394): Start proc com.nowhere.nowhere for activity com.nowher
e.nowhere/md51f5aeae0dbe3fa3acab67292d41114d1.SplashScreen: pid=1746 uid=10056 g
ids={50056, 9997, 3003} abi=armeabi-v7a
F/MonoDroid( 1746): shared runtime initialization error: dlopen failed: library
"/data/app/Mono.Android.DebugRuntime-1/lib/arm/lib/libmonosgen-2.0.so" not found
I/Zygote ( 66): Process 1746 exited cleanly (1)
I/ActivityManager( 394): Process com.nowhere.nowhere (pid 1746) has died
W/ActivityManager( 394): Force removing ActivityRecord{27f513c9 u0 com.nowhere.
nowhere/md51f5aeae0dbe3fa3acab67292d41114d1.SplashScreen t8}: app died, no saved
state
W/WindowManager( 394): Failed looking up window
W/WindowManager( 394): java.lang.IllegalArgumentException: Requested window and
roid.view.ViewRootImpl$W#3c7a1def does not exist
W/WindowManager( 394): at com.android.server.wm.WindowManagerService.wi
ndowForClientLocked(WindowManagerService.java:8412)
W/WindowManager( 394): at com.android.server.wm.WindowManagerService.wi
ndowForClientLocked(WindowManagerService.java:8403)
W/WindowManager( 394): at com.android.server.wm.WindowManagerService.re
moveWindow(WindowManagerService.java:2558)
W/WindowManager( 394): at com.android.server.wm.Session.remove(Session.
java:186)
W/WindowManager( 394): at android.view.ViewRootImpl.dispatchDetachedFro
mWindow(ViewRootImpl.java:2920)
W/WindowManager( 394): at android.view.ViewRootImpl.doDie(ViewRootImpl.
java:5390)
W/WindowManager( 394): at android.view.ViewRootImpl$ViewRootHandler.han
dleMessage(ViewRootImpl.java:3223)
W/WindowManager( 394): at android.os.Handler.dispatchMessage(Handler.ja
va:102)
W/WindowManager( 394): at android.os.Looper.loop(Looper.java:135)
W/WindowManager( 394): at android.os.HandlerThread.run(HandlerThread.ja
va:61)
W/WindowManager( 394): at com.android.server.ServiceThread.run(ServiceT
hread.java:46)
W/InputMethodManagerService( 394): Window already focused, ignoring focus gain
of: com.android.internal.view.IInputMethodClient$Stub$Proxy#14f4aa0b attribute=n
ull, token = android.os.BinderProxy#5c9e508
I/Choreographer( 824): Skipped 56 frames! The application may be doing too muc
h work on its main thread.
D/TaskPersister( 394): removeObsoleteFile: deleting file=8_task.xml
UPDATE 2
The bind does not work. Inside the view..
UPDATE 3
I put the code in this repo:
https://onedrive.live.com/redir?resid=1E563B1D1AD8A1C!15847&authkey=!AII01sfuzToQiUQ&ithint=file%2czip
I used this configuration for the test:
1. Nexus 5,
2. Android 5.0-API Level 21,
3. CPU/ABI, I have chosen Google APIs Intel Atom(x86_64),
4. Use Host GPU.
UPDATE 4
new link for code: http://1drv.ms/1MZWf45
Thanks
Alessandro
I found the problem. The problem was the emulator. I tried to change the configuration and now run without problem.
Thanks
Al.

Categories

Resources