I have just imported an android project and when I am trying to run it it is giving me error on the following imports
import com.google.android.vending.licensing
You may want to review the steps this link. It goes through the steps of adding it to your Android project, regardless of your IDE. Eclipse will work just fine.
These steps take some time and effort, but I have successfully done this before.