Issue
I am trying to build my ionic project, but I get the following errors:
error: package android.content.res does not exist
error: package org.json does not exist
Does anyone know how to solve it? Thanks.
Solution
It may be because some of your plugins are still using an old version of cordova/gradle plugins, or you didn’t updated cordova/gradle plugin of your app.
You may try:
- Remove these cordova plugins and switch to their corresponding versions of the capacitor version your are using.
- Another way, if you prefer you may upgrade/downgrade your Capacitor version to be compatible with the plugins your are using..
Answered By - Everton Costa
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.