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

后端 未结 6 1030
时光取名叫无心
时光取名叫无心 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:49

    In android studio 2.2.3 I was able to fix the "package com.google.android.vending.licensing does not exist" error by:

    • Right click the downloader_library module from your project view
    • Select "Open Module Settings"
    • Select "Dependencies" Tab
    • Press plus sign + then select "3 Module Dependency"
    • Select "market_licensing" and press OK.

    Original writeup of fix at https://kitefaster.com/2017/02/15/expansion-apk-files-android-studio/

提交回复
热议问题