Skip to content Skip to sidebar Skip to footer

Not_licensed Cannot Be Resolved Or Is Not A Field

I have been trying to follow the documentation available here: http://developer.android.com/google/play/expansion-files.html#Preparing I have tried to follow what it says to do .

Solution 1:

To correct the problem I had to remove the downloader library I had imported and then use the Android SDK manager to uninstall the "Google Play APK Expansion Library" then re-install it. Then in eclispe re-import downloader lib and then 'right click' the downloader project and remove the bad library 'market_licensing' and add the correct library 'play_licensing'

Solution 2:

I solved it.

In this case, the imported class Policy is basic google class.

so remove import line import java.security.Policy

and than add import line import com.google.android.vending.licensing.Policy

Post a Comment for "Not_licensed Cannot Be Resolved Or Is Not A Field"