Ariela - Home Assistant Android Client

Same as him, I have never been able to open an hyperlink from Ariela or any add-on which opens the browser. Only the add-ons that support Ingress can opened.

Doesn’t bother me as these add-ons have their own web app shortcut from Chrome (Unifi, Pi-Hole) or are seldom used (IDE, NGINX Proxy Manager).

Hi,

i encountered another bug.
On an Android 4.3 tablet I can install the Ariela app without problems (since minimum is 4.1).
However, when I start the app I see the prompt to create a new configuration. Confirming it does not bring up the config wizard, though. The app is crashing because it does not find some keystore in the cache:

Logcat shows this:

08-16 14:13:58.277 476-1477/? I/ActivityManager: START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.surodev.ariela/.ArielaSplashActivity bnds=[685,316][960,474] (has extras)} from pid 798
08-16 14:13:58.387 24479-24479/? D/dalvikvm: Process 24479 nice name: com.surodev.ariela
08-16 14:13:58.387 476-780/? I/ActivityManager: Start proc com.surodev.ariela for activity com.surodev.ariela/.ArielaSplashActivity: pid=24479 uid=10050 gids={50050, 3001, 3002, 3003, 1028, 1015, 1006}
08-16 14:13:58.497 24479-24479/? I/MultiDex: MultiDexExtractor(/data/app/com.surodev.ariela-1.apk, /data/data/com.surodev.ariela/code_cache/secondary-dexes)
08-16 14:13:58.497 24479-24479/? I/MultiDex: Blocking on lock /data/data/com.surodev.ariela/code_cache/secondary-dexes/MultiDex.lock
08-16 14:13:58.497 24479-24479/? I/MultiDex: /data/data/com.surodev.ariela/code_cache/secondary-dexes/MultiDex.lock locked
08-16 14:13:58.497 24479-24479/? I/MultiDex: MultiDexExtractor.load(/data/app/com.surodev.ariela-1.apk, false, )
08-16 14:13:58.837 24479-24497/? I/FA: To enable faster debug mode event logging run:
      adb shell setprop debug.firebase.analytics.app com.surodev.ariela
08-16 14:13:58.907 24479-24479/? I/dalvikvm: Could not find method android.content.Context.checkSelfPermission, referenced from method com.surodev.ariela.common.Utils.hasPermission
08-16 14:13:58.907 24479-24479/? I/dalvikvm: Could not find method android.app.AlarmManager.setExactAndAllowWhileIdle, referenced from method com.surodev.ariela.common.Utils.scheduleServerUpdates
08-16 14:13:58.907 24479-24479/? I/dalvikvm: Could not find method android.app.Activity.checkSelfPermission, referenced from method com.surodev.ariela.common.Utils.selfPermissionsGranted
08-16 14:13:58.997 24479-24479/? I/dalvikvm: Could not find method android.net.ConnectivityManager.getActiveNetwork, referenced from method com.surodev.arielacore.common.Utils.getServerURL
08-16 14:13:58.997 24479-24479/? I/dalvikvm: Could not find method android.content.Context.checkSelfPermission, referenced from method com.surodev.arielacore.common.Utils.hasPermission
08-16 14:13:58.997 24479-24479/? I/dalvikvm: Could not find method android.app.AlarmManager.setExactAndAllowWhileIdle, referenced from method com.surodev.arielacore.common.Utils.scheduleServerUpdates
08-16 14:13:59.317 24479-24479/? D/HA_ArielaSplashActivity: onCreate: server address = 
08-16 14:13:59.797 476-492/? I/ActivityManager: Displayed com.surodev.ariela/.ArielaSplashActivity: +1s432ms
08-16 14:14:04.017 476-754/? I/ActivityManager: START u0 {cmp=com.surodev.ariela/.BaseFragmentActivity (has extras)} from pid 24479
08-16 14:14:04.687 24479-24479/? E/HA_ArielaTrustManager: getAppKeyStore(/data/data/com.surodev.ariela/cache/KeyStore.bks) - exception loading file key store
    java.io.FileNotFoundException: /data/data/com.surodev.ariela/cache/KeyStore.bks: open failed: ENOENT (No such file or directory)
        at libcore.io.IoBridge.open(IoBridge.java:409)
        at java.io.FileInputStream.<init>(FileInputStream.java:78)
        at de.robv.android.xposed.XposedBridge.invokeOriginalMethodNative(Native Method)
        at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:631)
        at java.io.FileInputStream.<init>(Native Method)
        at com.surodev.arielacore.common.ArielaTrustManager.loadAppKeyStore(ArielaTrustManager.java:78)
        at com.surodev.arielacore.common.ArielaTrustManager.<init>(ArielaTrustManager.java:58)
        at com.surodev.arielacore.common.ApiHTTPClient.getHTTPClient(ApiHTTPClient.java:46)
        at com.surodev.arielacore.api.icons.ImageUtils.<init>(ImageUtils.java:44)
        at com.surodev.arielacore.api.icons.ImageUtils.getInstance(ImageUtils.java:50)
        at com.surodev.ariela.fragments.setup.IntroSetupFragment.onViewCreated(IntroSetupFragment.java:55)
        at com.surodev.ariela.fragments.serverconfig.BaseConfigFragment.onCreateView(BaseConfigFragment.java:47)
        at androidx.fragment.app.Fragment.performCreateView(Fragment.java:2595)
        at androidx.fragment.app.FragmentManagerImpl.moveToState(FragmentManagerImpl.java:881)
        at androidx.fragment.app.FragmentManagerImpl.moveFragmentToExpectedState(FragmentManagerImpl.java:1238)
        at androidx.fragment.app.BackStackRecord.executeOps(BackStackRecord.java:434)
        at androidx.fragment.app.FragmentManagerImpl.executeOps(FragmentManagerImpl.java:2076)
        at androidx.fragment.app.FragmentManagerImpl.executeOpsTogether(FragmentManagerImpl.java:1866)
        at androidx.fragment.app.FragmentManagerImpl.removeRedundantOperationsAndExecute(FragmentManagerImpl.java:1821)
        at androidx.fragment.app.FragmentManagerImpl.execPendingActions(FragmentManagerImpl.java:1727)
        at androidx.fragment.app.FragmentManagerImpl.dispatchStateChange(FragmentManagerImpl.java:2660)
        at androidx.fragment.app.FragmentManagerImpl.dispatchActivityCreated(FragmentManagerImpl.java:2610)
        at androidx.fragment.app.FragmentController.dispatchActivityCreated(FragmentController.java:246)
        at androidx.fragment.app.FragmentActivity.onStart(FragmentActivity.java:542)
        at androidx.appcompat.app.AppCompatActivity.onStart(AppCompatActivity.java:201)
        at android.app.Instrumentation.callActivityOnStart(Instrumentation.java:1171)
        at android.app.Activity.performStart(Activity.java:5143)
        at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2223)
        at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2300)
        at android.app.ActivityThread.access$600(ActivityThread.java:144)
        at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1295)
        at android.os.Handler.dispatchMessage(Handler.java:99)
        at android.os.Looper.loop(Looper.java:150)
        at android.app.ActivityThread.main(ActivityThread.java:5162)
        at java.lang.reflect.Method.invokeNative(Native Method)
        at java.lang.reflect.Method.invoke(Method.java:525)
        at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:744)
        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:560)
        at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:132)
        at dalvik.system.NativeStart.main(Native Method)
     Caused by: libcore.io.ErrnoException: open failed: ENOENT (No such file or directory)
        at libcore.io.Posix.open(Native Method)
        at libcore.io.BlockGuardOs.open(BlockGuardOs.java:110)
        at libcore.io.IoBridge.open(IoBridge.java:393)
        at java.io.FileInputStream.<init>(FileInputStream.java:78) 
        at de.robv.android.xposed.XposedBridge.invokeOriginalMethodNative(Native Method) 
        at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:631) 
        at java.io.FileInputStream.<init>(Native Method) 
        at com.surodev.arielacore.common.ArielaTrustManager.loadAppKeyStore(ArielaTrustManager.java:78) 
        at com.surodev.arielacore.common.ArielaTrustManager.<init>(ArielaTrustManager.java:58) 
        at com.surodev.arielacore.common.ApiHTTPClient.getHTTPClient(ApiHTTPClient.java:46) 
        at com.surodev.arielacore.api.icons.ImageUtils.<init>(ImageUtils.java:44) 
        at com.surodev.arielacore.api.icons.ImageUtils.getInstance(ImageUtils.java:50) 
        at com.surodev.ariela.fragments.setup.IntroSetupFragment.onViewCreated(IntroSetupFragment.java:55) 
        at com.surodev.ariela.fragments.serverconfig.BaseConfigFragment.onCreateView(BaseConfigFragment.java:47) 
        at androidx.fragment.app.Fragment.performCreateView(Fragment.java:2595) 
        at androidx.fragment.app.FragmentManagerImpl.moveToState(FragmentManagerImpl.java:881) 
        at androidx.fragment.app.FragmentManagerImpl.moveFragmentToExpectedState(FragmentManagerImpl.java:1238) 
        at androidx.fragment.app.BackStackRecord.executeOps(BackStackRecord.java:434) 
        at androidx.fragment.app.FragmentManagerImpl.executeOps(FragmentManagerImpl.java:2076) 
        at androidx.fragment.app.FragmentManagerImpl.executeOpsTogether(FragmentManagerImpl.java:1866) 
        at androidx.fragment.app.FragmentManagerImpl.removeRedundantOperationsAndExecute(FragmentManagerImpl.java:1821) 
        at androidx.fragment.app.FragmentManagerImpl.execPendingActions(FragmentManagerImpl.java:1727) 
        at androidx.fragment.app.FragmentManagerImpl.dispatchStateChange(FragmentManagerImpl.java:2660) 
        at androidx.fragment.app.FragmentManagerImpl.dispatchActivityCreated(FragmentManagerImpl.java:2610) 
        at androidx.fragment.app.FragmentController.dispatchActivityCreated(FragmentController.java:246) 
        at androidx.fragment.app.FragmentActivity.onStart(FragmentActivity.java:542) 
        at androidx.appcompat.app.AppCompatActivity.onStart(AppCompatActivity.java:201) 
        at android.app.Instrumentation.callActivityOnStart(Instrumentation.java:1171) 
        at android.app.Activity.performStart(Activity.java:5143) 
        at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2223) 
        at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2300) 
        at android.app.ActivityThread.access$600(ActivityThread.java:144) 
        at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1295) 
        at android.os.Handler.dispatchMessage(Handler.java:99) 
        at android.os.Looper.loop(Looper.java:150) 
        at android.app.ActivityThread.main(ActivityThread.java:5162) 
        at java.lang.reflect.Method.invokeNative(Native Method) 
        at java.lang.reflect.Method.invoke(Method.java:525) 
        at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:744) 
        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:560) 
        at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:132) 
        at dalvik.system.NativeStart.main(Native Method) 
08-16 14:14:04.867 476-781/? W/ActivityManager:   Force finishing activity com.surodev.ariela/.BaseFragmentActivity
08-16 14:14:05.267 476-492/? I/ActivityManager: Displayed com.surodev.ariela/.BaseFragmentActivity: +1s173ms
08-16 14:14:39.797 476-756/? I/ActivityManager: Process com.surodev.ariela (pid 24479) has died.

In the folder /data/data/com.surodev…/cache I can see an “icons” folder and a shaders_cache but not the mentioned keystore.

here are the logs. this happens when ariela is restarted when the screen is off.
the app is only showing the loading circle and ariela logo

2019-08-16 14:37:39.059 429-1646/system_process I/ActivityManager: START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10208000 pkg=com.surodev.ariela cmp=com.surodev.ariela/.ArielaSplashActivity} from uid 10078 on display 0
2019-08-16 14:37:39.084 429-1646/system_process I/ActivityManager: Start proc 4992:com.surodev.ariela/u0a74 for activity com.surodev.ariela/.ArielaSplashActivity
2019-08-16 14:37:39.362 4992-4992/com.surodev.ariela I/art: Starting a blocking GC AddRemoveAppImageSpace
2019-08-16 14:37:39.370 4992-4992/com.surodev.ariela W/System: ClassLoader referenced unknown path: /data/app/com.surodev.ariela-1/lib/arm
2019-08-16 14:37:39.394 4992-4992/com.surodev.ariela I/MultiDex: VM with version 2.1.0 has multidex support
2019-08-16 14:37:39.394 4992-4992/com.surodev.ariela I/MultiDex: Installing application
2019-08-16 14:37:39.394 4992-4992/com.surodev.ariela I/MultiDex: VM has multidex support, MultiDex support library is disabled.
2019-08-16 14:37:39.465 4992-5008/com.surodev.ariela E/ActivityThread: Failed to find provider info for com.google.android.gms.chimera
2019-08-16 14:37:39.465 4992-5008/com.surodev.ariela W/DynamiteModule: Failed to retrieve remote module version.
2019-08-16 14:37:39.488 4992-5008/com.surodev.ariela W/GooglePlayServicesUtil: Google Play Store is missing.
2019-08-16 14:37:39.491 4992-5008/com.surodev.ariela I/DynamiteModule: Considering local module com.google.android.gms.ads.dynamite:20800 and remote module com.google.android.gms.ads.dynamite:0
2019-08-16 14:37:39.492 4992-5008/com.surodev.ariela I/DynamiteModule: Selected local version of com.google.android.gms.ads.dynamite
2019-08-16 14:37:39.499 4992-4992/com.surodev.ariela I/FirebaseInitProvider: FirebaseApp initialization successful
2019-08-16 14:37:39.499 4992-5016/com.surodev.ariela E/FirebaseInstanceId: Google Play services missing or without correct permission.
2019-08-16 14:37:39.507 4992-5008/com.surodev.ariela W/Ads: #007 Could not call remote method. @28
    com.google.android.gms.internal.ads.zzawt: com.google.android.gms.dynamite.DynamiteModule$LoadingException: Failed to instantiate module class: com.google.android.gms.ads.measurement.DynamiteMeasurementManager
        at com.google.android.gms.internal.ads.zzawr.zza(com.google.android.gms:play-services-ads-lite@@18.1.1:3)
        at com.google.android.gms.internal.ads.zzaiv.zza(com.google.android.gms:play-services-ads-lite@@18.1.1:17)
        at com.google.android.gms.internal.ads.zzaiv.zzd(com.google.android.gms:play-services-ads-lite@@18.1.1:44)
        at com.google.android.gms.internal.ads.zzaiy.run(com.google.android.gms:play-services-ads-lite@@18.1.1)
        at java.lang.Thread.run(Thread.java:761)
     Caused by: com.google.android.gms.dynamite.DynamiteModule$LoadingException: Failed to instantiate module class: com.google.android.gms.ads.measurement.DynamiteMeasurementManager
        at com.google.android.gms.dynamite.DynamiteModule.instantiate(Unknown Source)
        at com.google.android.gms.internal.ads.zzawr.zza(com.google.android.gms:play-services-ads-lite@@18.1.1:1)
        at com.google.android.gms.internal.ads.zzaiv.zza(com.google.android.gms:play-services-ads-lite@@18.1.1:17) 
        at com.google.android.gms.internal.ads.zzaiv.zzd(com.google.android.gms:play-services-ads-lite@@18.1.1:44) 
        at com.google.android.gms.internal.ads.zzaiy.run(com.google.android.gms:play-services-ads-lite@@18.1.1) 
        at java.lang.Thread.run(Thread.java:761) 
     Caused by: java.lang.ClassNotFoundException: Didn't find class "com.google.android.gms.ads.measurement.DynamiteMeasurementManager" on path: DexPathList[[zip file "/data/app/com.surodev.ariela-1/base.apk"],nativeLibraryDirectories=[/data/app/com.surodev.ariela-1/lib/arm, /system/lib, /vendor/lib]]
        at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:58)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:379)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
        at com.google.android.gms.dynamite.DynamiteModule.instantiate(Unknown Source)
        at com.google.android.gms.internal.ads.zzawr.zza(com.google.android.gms:play-services-ads-lite@@18.1.1:1) 
        at com.google.android.gms.internal.ads.zzaiv.zza(com.google.android.gms:play-services-ads-lite@@18.1.1:17) 
        at com.google.android.gms.internal.ads.zzaiv.zzd(com.google.android.gms:play-services-ads-lite@@18.1.1:44) 
        at com.google.android.gms.internal.ads.zzaiy.run(com.google.android.gms:play-services-ads-lite@@18.1.1) 
        at java.lang.Thread.run(Thread.java:761) 
2019-08-16 14:37:39.538 4992-5018/com.surodev.ariela W/zzd: Application name is not set. Call Builder#setApplicationName.
2019-08-16 14:37:39.547 4992-5003/com.surodev.ariela I/art: Background partial concurrent mark sweep GC freed 6699(440KB) AllocSpace objects, 11(212KB) LOS objects, 27% free, 1334KB/1846KB, paused 9.124ms total 118.560ms
2019-08-16 14:37:39.549 4992-4992/com.surodev.ariela D/HA_DBSettings: getStringProperty: key = setting_common_ha_server
2019-08-16 14:37:39.560 4992-4992/com.surodev.ariela D/HA_Utils: getDBSettings : active server = ArielaSettings.db
2019-08-16 14:37:39.560 4992-4992/com.surodev.ariela D/HA_DBSettings: getStringProperty: key = setting_theme
2019-08-16 14:37:39.565 4992-4992/com.surodev.ariela E/HA_Utils: applyTheme: current theme = 0
2019-08-16 14:37:39.568 4992-5013/com.surodev.ariela I/FA: App measurement is starting up, version: 16250
2019-08-16 14:37:39.568 4992-5013/com.surodev.ariela I/FA: To enable debug logging run: adb shell setprop log.tag.FA VERBOSE
2019-08-16 14:37:39.568 4992-5013/com.surodev.ariela I/FA: To enable faster debug mode event logging run:
      adb shell setprop debug.firebase.analytics.app com.surodev.ariela
2019-08-16 14:37:39.590 4992-5016/com.surodev.ariela E/FirebaseInstanceId: Google Play services missing or without correct permission.
2019-08-16 14:37:39.594 4992-4992/com.surodev.ariela I/art: Rejecting re-init on previously-failed class java.lang.Class<androidx.core.view.ViewCompat$2>: java.lang.NoClassDefFoundError: Failed resolution of: Landroid/view/View$OnUnhandledKeyEventListener;
2019-08-16 14:37:39.594 4992-4992/com.surodev.ariela I/art:     at android.view.ViewGroup androidx.appcompat.app.AppCompatDelegateImpl.createSubDecor() (AppCompatDelegateImpl.java:769)
2019-08-16 14:37:39.594 4992-4992/com.surodev.ariela I/art:     at void androidx.appcompat.app.AppCompatDelegateImpl.ensureSubDecor() (AppCompatDelegateImpl.java:649)
2019-08-16 14:37:39.594 4992-4992/com.surodev.ariela I/art:     at void androidx.appcompat.app.AppCompatDelegateImpl.setContentView(int) (AppCompatDelegateImpl.java:542)
2019-08-16 14:37:39.594 4992-4992/com.surodev.ariela I/art:     at void androidx.appcompat.app.AppCompatActivity.setContentView(int) (AppCompatActivity.java:161)
2019-08-16 14:37:39.594 4992-4992/com.surodev.ariela I/art:     at void com.surodev.ariela.ArielaSplashActivity.onCreate(android.os.Bundle) (ArielaSplashActivity.java:50)
2019-08-16 14:37:39.594 4992-4992/com.surodev.ariela I/art:     at void android.app.Activity.performCreate(android.os.Bundle) (Activity.java:6684)
2019-08-16 14:37:39.594 4992-4992/com.surodev.ariela I/art:     at void android.app.Instrumentation.callActivityOnCreate(android.app.Activity, android.os.Bundle) (Instrumentation.java:1119)
2019-08-16 14:37:39.594 4992-4992/com.surodev.ariela I/art:     at android.app.Activity android.app.ActivityThread.performLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent) (ActivityThread.java:2652)
2019-08-16 14:37:39.594 4992-4992/com.surodev.ariela I/art:     at void android.app.ActivityThread.handleLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent, java.lang.String) (ActivityThread.java:2766)
2019-08-16 14:37:39.594 4992-4992/com.surodev.ariela I/art:     at void android.app.ActivityThread.-wrap12(android.app.ActivityThread, android.app.ActivityThread$ActivityClientRecord, android.content.Intent, java.lang.String) (ActivityThread.java:-1)
2019-08-16 14:37:39.594 4992-4992/com.surodev.ariela I/art:     at void android.app.ActivityThread$H.handleMessage(android.os.Message) (ActivityThread.java:1507)
2019-08-16 14:37:39.594 4992-4992/com.surodev.ariela I/art:     at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:102)
2019-08-16 14:37:39.594 4992-4992/com.surodev.ariela I/art:     at void android.os.Looper.loop() (Looper.java:153)
2019-08-16 14:37:39.594 4992-4992/com.surodev.ariela I/art:     at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:6244)
2019-08-16 14:37:39.594 4992-4992/com.surodev.ariela I/art:     at java.lang.Object java.lang.reflect.Method.invoke!(java.lang.Object, java.lang.Object[]) (Method.java:-2)
2019-08-16 14:37:39.594 4992-4992/com.surodev.ariela I/art:     at void com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run() (ZygoteInit.java:891)
2019-08-16 14:37:39.594 4992-4992/com.surodev.ariela I/art:     at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:781)
2019-08-16 14:37:39.594 4992-4992/com.surodev.ariela I/art: Caused by: java.lang.ClassNotFoundException: Didn't find class "android.view.View$OnUnhandledKeyEventListener" on path: DexPathList[[zip file "/data/app/com.surodev.ariela-1/base.apk"],nativeLibraryDirectories=[/data/app/com.surodev.ariela-1/lib/arm, /system/lib, /vendor/lib]]
2019-08-16 14:37:39.594 4992-4992/com.surodev.ariela I/art:     at java.lang.Class dalvik.system.BaseDexClassLoader.findClass(java.lang.String) (BaseDexClassLoader.java:58)
2019-08-16 14:37:39.594 4992-4992/com.surodev.ariela I/art:     at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String, boolean) (ClassLoader.java:379)
2019-08-16 14:37:39.594 4992-4992/com.surodev.ariela I/art:     at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String) (ClassLoader.java:312)
2019-08-16 14:37:39.594 4992-4992/com.surodev.ariela I/art:     at android.view.ViewGroup androidx.appcompat.app.AppCompatDelegateImpl.createSubDecor() (AppCompatDelegateImpl.java:769)
2019-08-16 14:37:39.594 4992-4992/com.surodev.ariela I/art:     at void androidx.appcompat.app.AppCompatDelegateImpl.ensureSubDecor() (AppCompatDelegateImpl.java:649)
2019-08-16 14:37:39.594 4992-4992/com.surodev.ariela I/art:     at void androidx.appcompat.app.AppCompatDelegateImpl.setContentView(int) (AppCompatDelegateImpl.java:542)
2019-08-16 14:37:39.594 4992-4992/com.surodev.ariela I/art:     at void androidx.appcompat.app.AppCompatActivity.setContentView(int) (AppCompatActivity.java:161)
2019-08-16 14:37:39.594 4992-4992/com.surodev.ariela I/art:     at void com.surodev.ariela.ArielaSplashActivity.onCreate(android.os.Bundle) (ArielaSplashActivity.java:50)
2019-08-16 14:37:39.594 4992-4992/com.surodev.ariela I/art:     at void android.app.Activity.performCreate(android.os.Bundle) (Activity.java:6684)
2019-08-16 14:37:39.595 4992-4992/com.surodev.ariela I/art:     at void android.app.Instrumentation.callActivityOnCreate(android.app.Activity, android.os.Bundle) (Instrumentation.java:1119)
2019-08-16 14:37:39.595 4992-4992/com.surodev.ariela I/art:     at android.app.Activity android.app.ActivityThread.performLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent) (ActivityThread.java:2652)
2019-08-16 14:37:39.595 4992-4992/com.surodev.ariela I/art:     at void android.app.ActivityThread.handleLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent, java.lang.String) (ActivityThread.java:2766)
2019-08-16 14:37:39.595 4992-4992/com.surodev.ariela I/art:     at void android.app.ActivityThread.-wrap12(android.app.ActivityThread, android.app.ActivityThread$ActivityClientRecord, android.content.Intent, java.lang.String) (ActivityThread.java:-1)
2019-08-16 14:37:39.595 4992-4992/com.surodev.ariela I/art:     at void android.app.ActivityThread$H.handleMessage(android.os.Message) (ActivityThread.java:1507)
2019-08-16 14:37:39.595 4992-4992/com.surodev.ariela I/art:     at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:102)
2019-08-16 14:37:39.595 4992-4992/com.surodev.ariela I/art:     at void android.os.Looper.loop() (Looper.java:153)
2019-08-16 14:37:39.595 4992-4992/com.surodev.ariela I/art:     at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:6244)
2019-08-16 14:37:39.595 4992-4992/com.surodev.ariela I/art:     at java.lang.Object java.lang.reflect.Method.invoke!(java.lang.Object, java.lang.Object[]) (Method.java:-2)
2019-08-16 14:37:39.595 4992-4992/com.surodev.ariela I/art:     at void com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run() (ZygoteInit.java:891)
2019-08-16 14:37:39.595 4992-4992/com.surodev.ariela I/art:     at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:781)
2019-08-16 14:37:39.615 4992-5013/com.surodev.ariela W/GooglePlayServicesUtil: Google Play Store is missing.
2019-08-16 14:37:39.615 4992-5013/com.surodev.ariela W/FA: Service invalid
2019-08-16 14:37:39.661 4992-5016/com.surodev.ariela E/FirebaseInstanceId: Google Play services missing or without correct permission.
2019-08-16 14:37:39.742 4992-4992/com.surodev.ariela W/GooglePlayServicesUtil: Google Play Store is missing.
2019-08-16 14:37:39.742 4992-4992/com.surodev.ariela E/GooglePlayServicesUtil: GooglePlayServices not available due to error 9
2019-08-16 14:37:39.742 4992-4992/com.surodev.ariela W/System.err: com.google.android.gms.common.GooglePlayServicesNotAvailableException
2019-08-16 14:37:39.742 4992-4992/com.surodev.ariela W/System.err:     at com.google.android.gms.common.GooglePlayServicesUtilLight.ensurePlayServicesAvailable(Unknown Source)
2019-08-16 14:37:39.742 4992-4992/com.surodev.ariela W/System.err:     at com.google.android.gms.common.GoogleApiAvailabilityLight.verifyGooglePlayServicesIsAvailable(Unknown Source)
2019-08-16 14:37:39.742 4992-4992/com.surodev.ariela W/System.err:     at com.google.android.gms.security.ProviderInstaller.installIfNeeded(Unknown Source)
2019-08-16 14:37:39.743 4992-4992/com.surodev.ariela W/System.err:     at com.surodev.ariela.ArielaSplashActivity.onCreate(ArielaSplashActivity.java:53)
2019-08-16 14:37:39.743 4992-4992/com.surodev.ariela W/System.err:     at android.app.Activity.performCreate(Activity.java:6684)
2019-08-16 14:37:39.743 4992-4992/com.surodev.ariela W/System.err:     at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1119)
2019-08-16 14:37:39.743 4992-4992/com.surodev.ariela W/System.err:     at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2652)
2019-08-16 14:37:39.743 4992-4992/com.surodev.ariela W/System.err:     at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2766)
2019-08-16 14:37:39.743 4992-4992/com.surodev.ariela W/System.err:     at android.app.ActivityThread.-wrap12(ActivityThread.java)
2019-08-16 14:37:39.743 4992-4992/com.surodev.ariela W/System.err:     at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1507)
2019-08-16 14:37:39.743 4992-4992/com.surodev.ariela W/System.err:     at android.os.Handler.dispatchMessage(Handler.java:102)
2019-08-16 14:37:39.743 4992-4992/com.surodev.ariela W/System.err:     at android.os.Looper.loop(Looper.java:153)
2019-08-16 14:37:39.743 4992-4992/com.surodev.ariela W/System.err:     at android.app.ActivityThread.main(ActivityThread.java:6244)
2019-08-16 14:37:39.743 4992-4992/com.surodev.ariela W/System.err:     at java.lang.reflect.Method.invoke(Native Method)
2019-08-16 14:37:39.743 4992-4992/com.surodev.ariela W/System.err:     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:891)
2019-08-16 14:37:39.743 4992-4992/com.surodev.ariela W/System.err:     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:781)
2019-08-16 14:37:39.743 4992-4992/com.surodev.ariela D/HA_DBSettings: getStringProperty: key = ha_server_key
2019-08-16 14:37:39.745 4992-4992/com.surodev.ariela D/HA_DBSettings: getStringProperty: key = ha_server_password_key
2019-08-16 14:37:39.746 4992-4992/com.surodev.ariela D/HA_ArielaSplashActivity: onCreate: server address = https://adloko:8123
2019-08-16 14:37:39.746 4992-4992/com.surodev.ariela D/HA_DBSettings: getStringProperty: key = settings_vpn_connection
2019-08-16 14:37:39.749 4992-4992/com.surodev.ariela D/HA_DBSettings: getStringProperty: key = server_wifi_network_key
2019-08-16 14:37:39.750 4992-4992/com.surodev.ariela D/HA_Utils: getServerURL: getExtraInfo = "S!Box" sn = S!Box
2019-08-16 14:37:39.750 4992-4992/com.surodev.ariela D/HA_DBSettings: getStringProperty: key = ha_server_key
2019-08-16 14:37:39.751 4992-4992/com.surodev.ariela D/HA_DBSettings: getStringProperty: key = has_server_token_access
2019-08-16 14:37:39.752 4992-4992/com.surodev.ariela D/HA_ArielaSplashActivity: server address = https://adloko:8123 token auth = true
2019-08-16 14:37:39.752 4992-5021/com.surodev.ariela D/HA_HAConnectionTester: HAConnectionTester: connecting to https://adloko:8123
2019-08-16 14:37:39.753 4992-5021/com.surodev.ariela D/HA_DBSettings: getStringProperty: key = setting_server_read_timeout
2019-08-16 14:37:39.755 4992-5021/com.surodev.ariela D/HA_DBSettings: getStringProperty: key = setting_server_connect_timeout
2019-08-16 14:37:39.767 4992-5013/com.surodev.ariela I/FA: Tag Manager is not found and thus will not be used
2019-08-16 14:37:39.796 4992-5021/com.surodev.ariela D/HA_DBSettings: getStringProperty: key = setting_key_pcks_certificate
2019-08-16 14:37:39.820 4992-5016/com.surodev.ariela E/FirebaseInstanceId: Google Play services missing or without correct permission.
2019-08-16 14:37:39.921 4992-5022/com.surodev.ariela W/linker: /system/vendor/lib/hw/gralloc.omap4470.so: unused DT entry: type 0xf arg 0x53b
2019-08-16 14:37:39.921 4992-5022/com.surodev.ariela W/linker: /system/vendor/lib/libpvr2d_SGX544_112.so: unused DT entry: type 0xf arg 0x767
2019-08-16 14:37:39.925 4992-5022/com.surodev.ariela I/OpenGLRenderer: Initialized EGL, version 1.4
2019-08-16 14:37:39.925 4992-5022/com.surodev.ariela D/OpenGLRenderer: Swap behavior 1
2019-08-16 14:37:39.926 4992-5022/com.surodev.ariela W/OpenGLRenderer: Failed to choose config with EGL_SWAP_BEHAVIOR_PRESERVED, retrying without...
2019-08-16 14:37:39.926 4992-5022/com.surodev.ariela D/OpenGLRenderer: Swap behavior 0
2019-08-16 14:37:40.207 4992-5021/com.surodev.ariela D/HA_HAConnectionTester: HAConnectionTester: final URL = https://adloko:8123/api/
2019-08-16 14:37:40.308 4992-4992/com.surodev.ariela W/IInputConnectionWrapper: reportFullscreenMode on inexistent InputConnection
2019-08-16 14:37:40.316 429-450/system_process I/ActivityManager: Displayed com.surodev.ariela/.ArielaSplashActivity: +1s18ms (total +1s247ms)
2019-08-16 14:37:40.386 4992-5013/com.surodev.ariela E/ActivityThread: Failed to find provider info for com.google.android.gms.phenotype
2019-08-16 14:37:40.568 4992-5023/com.surodev.ariela E/HA_ArielaTrustManager: checkServerTrusted: called

That’s not a crash, just something put in the logs.

Regarding permanent loading, i think i know what its happening. I could reproduce the issue too. I will see what i can do to fix it.

Well the app is force closing due to the missing key store, isnt it`?

“Force finishing activity com.surodev.ariela/.BaseFragmentActivity” comes directly after the exception.

At the same time this is displayed: image

Can you send me the all log? It can be send over email too if you want to be considered more private.

It appears Ariela is not updating location if the app is closed even if I have it set to run as a background service on boot, and checking allow running in background.

If I back out of the app (closing it) it no longer updates my location until I open it again.
Is this working correctly and I must not close the app?
Or since I have it set to run as a background service should it still be updating even if the app is closed?

I still get notifications - so it is working for that…

Thanks!
DeadEnd

Is Ariela still showing the notification? If Ariela is not working then only if using mobile_app it should update the device tracker (but nobody guarantees it will since the system can send updates or not).

Yes, notifications still come through - although if the phone is in sleep it can take an extra 10 minutes or more… but they work.

Location doesn’t update though until I open Ariela app it appears.
I hadn’t noticed until recently so I haven’t taken time to test multiple scenarios yet.
Hopefully soon I will be able to so I can test and try and identify specific scenarios where it works / doesn’t work.

DeadEnd

I noticed strange problem. The phone alarm sensor (Mobile App) in HA is always 5 minutes earlier then the alarm set on phone.
Other sensors (including availability) show right time.

It’s not big problem with simple workaround but I was wondering what can be causing it.

Ok, please let me know.

The alarm is not something Ariela controls. Whatever Android OS is reporting, that value is sended to Home Assistant. Can you confirm this issue is reproducible with other phones too?

Still struggling to get Ariela to update the location tracker unless I open the app. Have set all options to run in the background, start at boot, auto reconnect etc. etc in the app, but still no luck. Guessing I need to have the permanent Ariela notification? but how do I add that?

@Rocklobster
A few messages ago I reported the same thing.
I am gong to try and get some time to test different scenario’s - but you are not the only one seeing this behavior. Location use to update correctly for me, but at some point in the last few weeks (or months) it started doing just as you are observing.

Cheers!
DeadEnd

Settings, notifications

Are you using power saver mode on your phone settings? I had to have it so that Ariela was not automatically being put to sleep in android.

Thanks for the suggestion.
I just changed my phone so that battery optimization does not influence Ariela.
We’ll see if that fixes the issue.

DeadEnd

Yeah, just checked it on my wife’s phone and it works as intended…
Must be my phones issue - any case it;s no a big problem.

On the other hand - I’m playing with step counter sensor - is there any way to set it automatically to 0 at the beginning of day so it only calculates daily steps?

1 Like

Hi @Ionut, any update about find my car docs using mobile app sensors?

That sensor it should reset automatically. I will investigate.

Find my car using mobile_app sensor it should be almost the same like the mqtt ones. Still, i will see what i can do about this, maybe i could add a special sensor for the car BT :smiley:

Looks like that didn’t fix it.