clever_trevor clever_trevor - 1 year ago 113
Android Question

Google In-App Billing in Eclipse error of IabHelper cannot be resolved to a type

I've been trying to implement Google In-App Billing into one of my Android apps by following
but I get the error that "IabHelper cannot be resolved to a type" after following the steps for an "Existing Project". I've added a picture as well. enter image description here

Answer Source

Make sure you have followed step 3:

Add the helper classes from the /util directory of the TrivialDrive sample to your project. Remember to change the package name declarations in those files accordingly so that your project compiles correctly.

You need to copy all the classes under and put them in your project. IabHelper is one of them and seems to be what you are missing.

enter image description here

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download