bindService无响应

2022-04-14  本文已影响0人  花花爱笑

如果你是targetSdkVerison是30及30以上的话,需要在调用的客户端AndroidManifest上加上    <!--如果想要与其他的应用进行AIDL通信的话,需要在这里注册包名的信息--> <!--谷歌的文档说明https://developer.android.google.cn/guide/topics/manifest/queries-element?hl=en-->

</queries>   

 <package android:name="com.ebanma.payment" />

</queries>

上一篇 下一篇

猜你喜欢

热点阅读