1

I'm using flutter_callKeep , but I'm getting the above error.

These are permissions in my manifest.xml

<uses-permission android:name="android.permission.BIND_TELECOM_CONNECTION_SERVICE"/>
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
<uses-permission android:name="android.permission.CALL_PHONE" />
<uses-permission android:name="android.permission.RECORD_AUDIO" />


 <application>....
        
        <service android:name="myAPPID.VoiceConnectionService"
        android:label="MY APP NAME"
        android:permission="android.permission.BIND_TELECOM_CONNECTION_SERVICE">
        <intent-filter>
            <action android:name="android.telecom.ConnectionService" />
        </intent-filter>
    </service>
4

1 回答 1

0

这是因为服务中的 android:name 。尝试替换android:name="myAPPID.VoiceConnectionService"android:name="io.wazo.callkeep.VoiceConnectionService"

于 2021-09-16T13:00:35.280 回答