Issues with Phonegap & plugin

Ideas and discussion about publishing and distributing your games

Post » Sat Mar 04, 2017 4:02 pm

Hi

I know that phonegap is not every ones favourite compiler for Construct 2 projects but in general I find the resulting compiled apk for Android is more of a realistic file size over that of Intel XDK.

So I still want to use phonegap and on purchasing a plugin for Construct 2 which is the Cordova SQLite Database I have been really struggling to get this to work. On being in touch with the author of this plugin he has not really tried this via phonegap and pointed me in the direction of the phonegap guide on how to include a cordova plugin.

I really nearly gave up on this after trying various xml settings within the config.xml before uploading it to phonegap with little luck. As there have been many attempts at this with different errors it is hard to provide one definitive message that I get from Phonegap , however if someone could provided ideas on what I need to do I would appreciate it

** EDIT **

On making further tried I found that one of the issues is that the plugin reference on the authors site had a capital C in the name now that I have corrected that I get the following error message :

Error - Plugin error (you probably need to remove plugin files from your app): Fetching plugin "[email protected]" via npm Installing "cordova-sqlite-storage" at "1.4.4" for android Error during processing of action! Attempting to revert... Failed to install 'cordova-sqlite-storage':CordovaError: Uh oh! "/tmp/gimlet/26548780/2479767/www_android/project/cordova/plugins/cordova-sqlite-storage/node_modules/cordova-sqlite-storage-dependencies/libs/sqlite-connector.jar" not found! at copyFile (/tmp/gimlet/26548780/2479767/www_android/project/cordova/lib/pluginHandlers.js:219:36) at copyNewFile (/tmp/gimlet/26548780/2479767/www_android/project/cordova/lib/pluginHandlers.js:250:5) at install (/tmp/gimlet/26548780/2479767/www_android/project/cordova/lib/pluginHandlers.js:43:17) at Object.process (/tmp/gimlet/26548780/2479767/www_android/project/cordova/node_modules/cordova-common/src/ActionStack.js:56:25) at PluginManager.doOperation (/tmp/gimlet/26548780/2479767/www_android/project/cordova/node_modules/cordova-common/src/PluginManager.js:117:20) at PluginManager.addPlugin (/tmp/gimlet/26548780/2479767/www_android/project/cordova/node_modules/cordova-common/src/PluginManager.js:147:17) at /tmp/gimlet/26548780/2479767/www_android/project/cordova/Api.js:254:18 at _fulfilled (/tmp/gimlet/26548780/2479767/www_android/project/cordova/node_modules/q/q.js:834:54) at self.promiseDispatch.done (/tmp/gimlet/26548780/2479767/www_android/project/cordova/node_modules/q/q.js:863:30) at Promise.promise.promiseDispatch (/tmp/gimlet/26548780/2479767/www_android/project/cordova/node_modules/q/q.js:796:13) Uh oh! "/tmp/gimlet/26548780/2479767/www_android/project/cordova/plugins/cordova-sqlite-storage/node_modules/cordova-sqlite-storage-dependencies/libs/sqlite-connector.jar" not found!
Regards

TimCS
B
23
S
8
Posts: 130
Reputation: 1,917

Return to Distribution and Publishing

Who is online

Users browsing this forum: No registered users and 1 guest