Err: Failed to unpack
iDobbler last edited by
I’m trying to import a cordova plugin into my project but after waiting sometime i end up with a message like “Failed to unpack”.
The plugin I’m trying to import is Wikitude Cordova Plugin. I know this plugin has worked with monaca in the past. Is there a way or somewhat of a workaround to be able to import and use this plugin?
This error might be related to required
minSdkVersionvalue. If you are using the latest version of the Wikitude plugin which requires
minSdkVersionto be at least
19. By default with Cordova 7.1 project,
minSdkVersionis set to
16. In this case, you can just change the
19as shown below:
<platform name="android"> ... <preference name="android-minSdkVersion" value="19" /> ... </platform>