Software Archive
Read-only legacy content
17061 Discussions

Issue with plugin SQLite in Windows build

Hamilton_Tenório_da_
Valued Contributor I
868 Views

I´m trying to build a Windows APP (Cordova Hybrid) on XDK 1878. This same APP was builded OK some days ago.

Now, on building, I receive this:

Build Log:
Building a Cordova 4.1.2 application.
The application name is ConfirmAki Basica
The package name is 9HTSInformtica.ConfirmAkiBsica
Plugin "Device" (0.2.13) was installed.
Plugin "SplashScreen" (0.3.5) was installed.
Plugin "google-analytics-plugin" () was installed.
Plugin "Device" (1.0.7) was installed.
Error: Plugin "Cordova-SQLitePlugin" failed to install.

Looking at he log, the final lines are:

Processing configuration changes for plugins.
Iterating over installed plugins: [ 'org.apache.cordova.device',
  'org.apache.cordova.splashscreen',
  'com.danielcwilson.plugins.googleanalytics',
  'com.intel.xdk.device' ]
Writing out cordova_plugins.js...
Install complete for com.intel.xdk.device on windows.
Calling plugman.fetch on plugin "...\pl.st.olyv1c5c.g5q\com.brodysoft.sqlitePlugin"
Copying plugin "...\pl.st.olyv1c5c.g5q\com.brodysoft.sqlitePlugin" => "...\ConfirmAkiBasica\plugins\com.brodysoft.sqlitePlugin"
Calling plugman.install on plugin "...\ConfirmAkiBasica\plugins\com.brodysoft.sqlitePlugin" for platform "windows" with options "{"cli_variables":{},"browserify":false}"
Installing "com.brodysoft.sqlitePlugin" for windows
Install start for "com.brodysoft.sqlitePlugin" on windows.
Error during processing of action! Attempting to revert...

I tried some times. Then, I change to Android version and the build was OK.

Any ideia?

 

 

 

0 Kudos
5 Replies
Hamilton_Tenório_da_
Valued Contributor I
868 Views

I tried today and receive the same error. 

Building iOS or Android everything is OK.

Then I removed this plugin (Cordova-SQLitePlugin") the build (Windows) is OK.

Is it a problem with the plugin?

 

0 Kudos
Hamilton_Tenório_da_
Valued Contributor I
868 Views

Hi, I again...

I tried to change order of plugins, remove and reinstall, and nothing. I have the same issue yet.

The same APP is builded on iOS and Cordova, but doen´t work on Windows. The error message is always the same: Error: Plugin "Cordova-SQLitePlugin" failed to install.

Someone has any idea?

0 Kudos
John_H_Intel2
Employee
868 Views

 

Taken directly from Windows section of https://github.com/litehelpers/Cordova-sqlite-storage

WARNING: This is still in experimental state. Please read and follow these items very carefully.

 
    0 Kudos
    Hamilton_Tenório_da_
    Valued Contributor I
    868 Views

    Yes, I know that. But I used the same plugin in another APP and it works well. It is now on Microsoft Store.

    But, in this APP the build does not finish. There is an error.

    I don´t know if the problem is on XDK or on plugin.

     

    0 Kudos
    John_H_Intel2
    Employee
    868 Views

    Try creating a new app, moving your code over and only selecting the plugins that you require. Do NOT use the select all box, there is currently a bug with the select all box. Add you 3rd party plugin and build.

    0 Kudos
    Reply