The import com.google.android.vending cannot be resolved in an imported android project

后端 未结 6 893
时光取名叫无心
时光取名叫无心 2021-02-08 13:15

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         


        
6条回答
  •  清酒与你
    2021-02-08 13:50

    In Android studio you need to add a folder same level as java(folder) called aidl. Take a look at the image for more specific.

    You can get those file here - https://android.googlesource.com/platform/development.git/+/b8168f27f6f5b6b0ced5ef3210c0e89e8d3a5ae2/samples/MarketLicensing/src/com/android/vending/licensing

提交回复
热议问题