小编Mic*_*hal的帖子

如何纠正自动生成的IMarketBillingService.java文件中的错误?

我正在尝试In app billing在我的Andorid应用程序中实现服务.

我已将IMarketBillingService.aidl文件添加到Eclipse中的项目中.然后Eclipse自动生成了该IMarketBillingService.java文件,但有很多错误.

@Override public android.os.IBinder asBinder() { return mRemote; }
- implements android.os.IInterface.asBinder
- The method asBinder() of type IMarketBillingService.Stub.Proxy must override asuperclass  method

@Override public android.os.Bundle sendBillingRequest(android.os.Bundle bundle) throws android.os.RemoteException
{
android.os.Parcel _data = android.os.Parcel.obtain();
android.os.Parcel _reply = android.os.Parcel.obtain();
android.os.Bundle _result;
......
}
- The method sendBillingRequest(Bundle) of type IMarketBillingService.Stub.Proxy must override a superclass method
- implements com.android.vending.billing.IMarketBillingService.sendBillingRequest 
Run Code Online (Sandbox Code Playgroud)

谁能帮我这个?

我正在使用Mac,Eclipse Juno和最新版本的Android SDK.

android in-app-billing

28
推荐指数
1
解决办法
5472
查看次数

标签 统计

android ×1

in-app-billing ×1