Search Unity

Android release only RemoteServiceException

Discussion in 'Android' started by Dee_Lucky, Mar 1, 2021.

  1. Dee_Lucky

    Dee_Lucky

    Joined:
    Jun 26, 2015
    Posts:
    53
    Hi guys.

    We're experiencing extremely weird crashes lately in our application. They appear to be absolutely random (sometimes once 12-24 hours, sometimes once an hour) and they're only happening on the release version of the application. We're using our custom Java plugin to connect with EEG (with Bluetooth). The only piece of information that was found is that stack trace below.

    Does anyone have any idea how to deal with this?



    02-21 13:35:19.992 3519 3519 E AndroidRuntime: FATAL EXCEPTION: main
    02-21 13:35:19.992 3519 3519 E AndroidRuntime: Process: com.ABC.Prototype, PID: 3519
    02-21 13:35:19.992 3519 3519 E AndroidRuntime: android.app.RemoteServiceException: can't deliver broadcast
    02-21 13:35:19.992 3519 3519 E AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1738)
    02-21 13:35:19.992 3519 3519 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:106)
    02-21 13:35:19.992 3519 3519 E AndroidRuntime: at android.os.Looper.loop(Looper.java:193)
    02-21 13:35:19.992 3519 3519 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:6692)
    02-21 13:35:19.992 3519 3519 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
    02-21 13:35:19.992 3519 3519 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
    02-21 13:35:19.992 3519 3519 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)


    Here's our android manifest


    <?xml version="1.0" encoding="utf-8"?>
    <manifest xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    package="com.ABC.Prototype">


    <uses-feature android:name="android.hardware.bluetooth_le" android:required="true"/>
    <uses-permission android:name="android.permission.BLUETOOTH"/>
    <uses-permission android:name="android.permission.BLUETOOTH_ADMIN"/>
    <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
    <uses-permission android:name="android.permission.WAKE_LOCK" />
    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
    <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />

    <application
    android:allowBackup="true"
    android:icon="@drawable/app_icon"
    android:label="[USER=7078]@String[/USER]/app_name"
    android:supportsRtl="true"
    tools:replace="android:icon"
    >
    <receiver android:name="com.ABC.Prototype.BootReceiver">
    <intent-filter >
    <action android:name="android.intent.action.BOOT_COMPLETED"/>
    </intent-filter>
    </receiver>
    <activity android:name="com.ABC.Prototype.ArghulPlayerActivity">
    <intent-filter>
    <action android:name="android.intent.action.MAIN" />
    <category android:name="android.intent.category.LAUNCHER" />
    </intent-filter>
    <meta-data android:name="unityplayer.UnityActivity" android:value="true" />
    </activity>
    </application>

    </manifest>




    Thanks a lot,
    Dee
     
    annabelleiris92 likes this.