JaneaSystems / nodejs-mobile-samples

Repository for demo applications that use Node.js on Mobile
MIT License
168 stars 111 forks source link

cordova example outdated and non functional #31

Open semidark opened 3 years ago

semidark commented 3 years ago

I tried to get the cordova example up and running so I can figure out how to build sqlite for my current nodejs-mobile-cordova project wich is using Cordova v10 and node v12.

To get the Build of the example running I had to downgrade my node Version to the now unsupported version 8 and my Cordova Version to 8.1.2.

After the downgrade, the build process succeeded. But running the app in the Android Emulator failed since the app is only saying "Starting Engine". Pressing the Buttons is not doing anything.

my current System Setup looks like this:

Environment:

I Think this issue is related: https://github.com/JaneaSystems/nodejs-mobile/issues/301

JaosnHsieh commented 2 years ago

try this hello world example

there are some scripts needed changes I found it here and put them in the above example

luweigen commented 2 years ago

@semidark I failed on the cordova example too. Instead i made the android/native-gradle-node-folder work in my fork.