Description
Describe the bug
When following the "Quick Start", for the sample-app "chat-app", I get "ERROR: failed to build.apk", followed by "stderr:" and a bunch of other stuff.
To Reproduce
git clone https://github.com/android-js/sample-app
cd chat-app
npm install
androidjs b -f
Expected behavior
I expected to find an apk in the ./dist folder, but there wasn't even a .dist folder
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
- OS: Windows 10 pro
- Browser: chrome
- Version: Version 78.0.3904.108 (Official Build) (64-bit)
Additional context
The project.json file:
{
"name": "myapp",
"private": true,
"package-name": "chatapp",
"app-name": "Chat App",
"icon": "./assets/icon/app3.png",
"project-type": "webview",
"version": "1.0.0",
"description": "",
"main": "main.js",
"scripts": {
"test": "node main.js",
"build": "androidjs build"
},
"permission": [
"android.permission.INTERNET"
],
"dist-path": "./dist",
"author": "",
"license": "ISC",
"dependencies": {
"androidjs": "^1.0.0",
"ip": "^1.1.5",
"left-pad": "^1.3.0",
"localtunnel": "^2.0.0",
"public-ip": "^3.0.0",
"socket.io": "^2.2.0"
}
}