user26867952
user26867952

Reputation:

execution failed for task ':app:connecteddebugandroidtest

My instrumentation test is not executed in the device after the test and app install. The test sometimes keep "building" for long times +15min

Here is the logcat with warnings and info omitted (post get declined if i upload all logcat):

2024-08-21 12:34:07.730  1613-1753  InstallApkReceiver      com.miui.home                        E  uninstall:package:com.example.tipcalculator
2024-08-21 12:34:07.763  1392-1392  Recents                 com.android.systemui                 E  packageMonitor   onPackageModified  packageName=com.example.tipcalculator   mIsRecentsWithinLauncher=true
2024-08-21 12:34:07.767  1613-1753  InstallApkReceiver      com.miui.home                        E  install:package:com.example.tipcalculator
2024-08-21 12:34:10.177  1613-1753  InstallApkReceiver      com.miui.home                        E  uninstall:package:com.example.tipcalculator.test
2024-08-21 12:34:10.204  1392-1392  Recents                 com.android.systemui                 E  packageMonitor   onPackageModified  packageName=com.example.tipcalculator.test   mIsRecentsWithinLauncher=true
2024-08-21 12:34:10.207  1613-1753  InstallApkReceiver      com.miui.home                        E  install:package:com.example.tipcalculator.test
2024-08-21 12:34:15.991 19753-19753 libc                    com.example.tipcalculator            E  Access denied finding property "ro.vendor.df.effect.conflict"
         

This is another error displayed by logcat but not appears always:

2024-08-21 12:40:06.302  1613-1753  InstallApkReceiver      com.miui.home                        E  uninstall:package:com.example.tipcalculator
2024-08-21 12:40:07.455  1392-1392  Recents                 com.android.systemui                 E  packageMonitor   onPackageModified  packageName=com.example.tipcalculator.test   mIsRecentsWithinLauncher=true
2024-08-21 12:40:07.460  1613-1753  InstallApkReceiver      com.miui.home                        E  uninstall:package:com.example.tipcalculator.test
2024-08-21 12:40:29.552  1392-1392  Recents                 com.android.systemui                 E  packageMonitor   onPackageModified  packageName=com.example.tipcalculator   mIsRecentsWithinLauncher=true
2024-08-21 12:40:29.553  1613-1753  InstallApkReceiver      com.miui.home                        E  install:package:com.example.tipcalculator
2024-08-21 12:40:30.036  1613-1766  Launcher.AllAppsList    com.miui.home                        E  Can't load postion for packageName: com.example.tipcalculator activityName: com.example.tipcalculator.MainActivity
2024-08-21 12:40:32.477  3332-3505  AppOpsAdapter           com.lbe.security.miui                E   doApplyAppPermissionConfig error  (Ask Gemini)
                                                                                                    android.content.pm.PackageManager$NameNotFoundException: com.example.tipcalculator.test
                                                                                                        at android.app.ApplicationPackageManager.getPackageInfoAsUser(ApplicationPackageManager.java:194)
                                                                                                        at android.app.ApplicationPackageManager.getPackageInfo(ApplicationPackageManager.java:161)
                                                                                                        at com.lbe.security.service.provider.internal.AppOpsAdapter$AppOpsAdapterHandler.doApplyAppPermissionConfig(Unknown Source:30)
                                                                                                        at com.lbe.security.service.provider.internal.AppOpsAdapter$AppOpsAdapterHandler.handleMessage(Unknown Source:86)
                                                                                                        at android.os.Handler.dispatchMessage(Handler.java:107)
                                                                                                        at android.os.Looper.loop(Looper.java:225)
                                                                                                        at android.os.HandlerThread.run(HandlerThread.java:67)
2024-08-21 12:40:33.492  1392-1392  Recents                 com.android.systemui                 E  packageMonitor   onPackageModified  packageName=com.example.tipcalculator.test   mIsRecentsWithinLauncher=true
2024-08-21 12:40:33.497  1613-1753  InstallApkReceiver      com.miui.home                        E  install:package:com.example.tipcalculator.test
---------------------------- PROCESS STARTED (22711) for package com.example.tipcalculator ----------------------------
2024-08-21 12:40:38.211 22711-22711 libc                    com.example.tipcalculator            E  Access denied finding property "ro.vendor.df.effect.conflict"

I have tried to restart and unplug the devices, read other post about the problem but it seems to be produced from different motives.

Upvotes: 1

Views: 142

Answers (0)

Related Questions