AIDL中service报空指针

    xiaoxiao2021-03-25  98

    AIDL中service报空指针:

    很可能是intent的隐式调用没有添加action配置文件

    <service android:name=".MusicService" android:enabled="true" android:exported="true"> <intent-filter> <action android:name="com.work.MusicService"></action> </intent-filter> </service>
    转载请注明原文地址: https://ju.6miu.com/read-24333.html

    最新回复(0)