Skip to main content
Solved

Ionic failed to build android app "Cannot resolve symbol hybridcommon" and more


Forum|alt.badge.img+3

 

How to solve this missing lib on android?

I have installed  cordova and capacitor plugins for ionic by following this guide :

https://ionicframework.com/docs/native/purchases

$ npm install cordova-plugin-purchases@2.3.0 
$ npm install @awesome-cordova-plugins/purchases 
$ ionic cap sync

 

package.json I have those :

 

"@awesome-cordova-plugins/core": "5.43.0",

"@awesome-cordova-plugins/purchases": "^5.44.0",

"cordova-annotated-plugin-android": "^1.0.4",

"cordova-plugin-purchases": "^2.3.0",

 

 

Best answer by Andy

Hi! πŸ‘‹πŸ» I replied on the github issue, happy to help figure this out. Let’s keep the conversation on the GitHub issue. 

View original
Did this post help you find an answer to your question?

3 replies

Forum|alt.badge.img+3

I found missing file on this repo : 

https://github.com/RevenueCat/purchases-hybrid-common

 

So how to install it on my project ?


Andy
RevenueCat Staff
Forum|alt.badge.img+8
  • RevenueCat Staff
  • 237 replies
  • Answer
  • July 4, 2022

Hi! πŸ‘‹πŸ» I replied on the github issue, happy to help figure this out. Let’s keep the conversation on the GitHub issue. 


Forum|alt.badge.img+3

Thanks for @Andy

May this help others

 

Solved with:

Android Studio -> File -> sync project with Gradle files

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