Android billing library error -
everyone. started in app purchase in application. it's new me. i've seen examples on net, found 1 project on github total of errors before linked billing library it. when did solved errors in project, still got exclamation reddish mark on because android billing library bundle has errors. checked error, couldn't solve it, because didn't understand how to. please guys, need help.
i got error in these lines
@override public android.os.ibinder asbinder() { homecoming this; }
in asbinder error , saying "multiple markers @ line
- method asbinder() of type imarketbillingservice.stub must override superclass method - implements android.os.iinterface.asbinder"
same code getting error
@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; seek { _data.writeinterfacetoken(descriptor); if ((bundle!=null)) { _data.writeint(1); bundle.writetoparcel(_data, 0); } else { _data.writeint(0); } mremote.transact(stub.transaction_sendbillingrequest, _data, _reply, 0); _reply.readexception(); if ((0!=_reply.readint())) { _result = android.os.bundle.creator.createfromparcel(_reply); } else { _result = null; } } { _reply.recycle(); _data.recycle(); } homecoming _result; } } static final int transaction_sendbillingrequest = (android.os.ibinder.first_call_transaction + 0); }
i don't know these errors are. got library , placed in eclipse project. , error in inappbillingservice, can't access because it's auto generated!!
thanks in advance.
it getting lot of errors in generated iinappbillingservice.java. tried many, many suggested solutions without success. variant of zedifire's method worked on eclipse sdk. (these steps memory - seek around until works!)
turned off >project>build automatically deleted /gen files went >window>preferences>java>compiler , found somehow compliance level had defaulted 1.5 changed compliance level 1.7
project>clean project>build (still errors!) right clicked on project window >android tools>fix project properties
android android-library android-billing
No comments:
Post a Comment