java.lang.RuntimeException error

so I am trying to publish my game to the google play store. I apply for production but google rejects it. They give me a error message saying that I need to fix it before publishing:
Exception java.lang.RuntimeException: Error while disconnecting UiAutomation@d822532[id=-1, flags=0]
at android.app.UiAutomation.disconnect (UiAutomation.java:392)
at android.app.Instrumentation.finish (Instrumentation.java:267)
at androidx.test.runner.MonitoringInstrumentation.finish (MonitoringInstrumentation.java:9)
at androidx.test.runner.AndroidJUnitRunner.onStart (AndroidJUnitRunner.java:20)
at android.app.Instrumentation$InstrumentationThread.run (Instrumentation.java:2278)
Caused by android.os.DeadObjectException:
at android.os.BinderProxy.transactNative
at android.os.BinderProxy.transact (BinderProxy.java:571)
at android.app.IUiAutomationConnection$Stub$Proxy.disconnect (IUiAutomationConnection.java:527)
at android.app.UiAutomation.disconnect (UiAutomation.java:390)
Can someone help me