You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
copying your project files into the unzipped androidjs-sdk folder
and rebuilding the apk file using apktool
I am not familiar with Android App Development, or Java.
It tooks a while for me to find out what the androidjs-sdk actually is.
It is simply a decoded apk file of a basic Android App using nodejs.
Just follow the readme instructions.
But instead of using the linked nodejs-v10 -android files from inactive repo for the header files etc,
head over to https://github.com/nodejs-mobile/nodejs-mobile and download the latest release.
Build and Test the Android Project. It should run now using nodejs v16.
Locate the apk file of the Android Project build, then use apktool to decode the apk file.
The output is simliar to "androidjs-sdk folder" at step 1.
When I build my Nodejs Android app with Androidjs and then check version of Node inside via
console.log(JSON.stringify(process.versions))
among others I get
"node":"10.13.0"
This is very old.
How do I get later versions of the Node JS runtime inside the Android app?
Is it maybe even possible to set the exact version of Node to compile the app with?
The text was updated successfully, but these errors were encountered: