Skip to main content
Question

Unresolved reference: Entitlement

  • 7 February 2022
  • 3 replies
  • 186 views

Forum|alt.badge.img+6
Hi,import com.revenuecat.purchases.Entitlement throws Unresolved reference: Entitlement error in my Android app.  The other imports are accepted.import com.android.billingclient.api.SkuDetailsimport com.revenuecat.purchases.Entitlementimport com.revenuecat.purchases.Offeringimport com.revenuecat.purchases.PurchaserInfoimport com.revenuecat.purchases.Purchases

Any suggestions?

Regards

Peter

sundeep
RevenueCat Staff
Forum|alt.badge.img+8
  • RevenueCat Staff
  • February 9, 2022

Hi @Peter Rule,

Can you confirm you’re following the steps in our Android installation guide? https://docs.revenuecat.com/docs/android 

 

If you followed those instructions and you’re still getting this error, it could be an issue with your IDE - I did see a StackOverflow post with some suggestions that might help: https://stackoverflow.com/questions/49545037/android-studio-3-1-erroneous-unresolved-references-in-editor/49595693#49595693
 


Forum|alt.badge.img+6
  • Dedicated Member
  • February 9, 2022

Hi @sundeep 

Yes I am following the guide.  I have it working now.  My imports are below. I am able to download the entitlement.

 

import com.revenuecat.purchases.*import com.revenuecat.purchases.Purchases.Companion.configure

Forum|alt.badge.img
  • New Member
  • January 24, 2023

Does not look like 

com.revenuecat.purchases.Entitlement

exists anymore


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings