aidl简单使用教程
https://blog.csdn.net/baidu_32015283/article/details/93203701
https://www.cnblogs.com/chase1/p/7135961.html
不过在bandservice时会报错:
Service Intent must be explicit: Intent
需要添加package
Intent bi = new Intent("com.android.vending.billing.InAppBillingService.BIND");
bi.setPackage("com.android.vending");
报错:
java.lang.SecurityException: Binder invocation to an incorrect interface
服务端和客户端aidl文件包名不同导致。
https://blog.csdn.net/tfslovexizi/article/details/50698663
网友评论