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
This is output from application when installing through adb (Similar message when installing directly on device):
adb -s R58M78HHBVJ install dist/daq-desktop-1.0.0.apk => adb: failed to install dist/daq-desktop-1.0.0.apk: Failure [INSTALL_PARSE_FAILED_NOT_APK: Failed to parse /data/app/vmdl291506725.tmp/base.apk]
WARNING in ./node_modules/express/lib/view.js 81:13-25
Critical dependency: the request of a dependency is an expression
@ ./node_modules/express/lib/application.js
@ ./node_modules/express/lib/express.js
@ ./node_modules/express/index.js
@ ./src/main/index.js
@ multi ./src/main/index.js
Child
Hash: bb92bcc7b5951588e90a
Time: 407ms
Built at: 11/28/2019 8:28:40 AM
Asset Size Chunks Chunk Names
index.html 288 bytes [emitted]
renderer.js 1.14 KiB 0 [emitted] renderer
renderer.js.map 1.9 KiB 0 [emitted] [dev] renderer
Entrypoint renderer = renderer.js renderer.js.map
[0] multi ./src/renderer/index.js 28 bytes {0} [built]
[1] ./src/renderer/index.js 184 bytes {0} [built]
[2] external "electron" 42 bytes {0} [built]
Child html-webpack-plugin for "index.html":
1 asset
Entrypoint undefined = index.html
[0] ./node_modules/html-loader/dist/cjs.js?minimize=false&url=false!./dist/.renderer-index-template.html 255 bytes {0} [built]
• electron-builder version=21.2.0 os=5.3.0-23-generic
• loaded configuration file=package.json ("build" field)
• loaded parent configuration file=/home/kuhadatko/kseftiky/daq-ozm/daq-ozm/gui/desktop/node_modules/electron-webpack/out/electron-builder.js
• Specified application directory equals to project dir — superfluous or wrong configuration appDirectory=.
• description is missed in the package.json appPackageFile=/home/kuhadatko/kseftiky/daq-ozm/daq-ozm/gui/desktop/package.json
• writing effective config file=dist/builder-effective-config.yaml
• packaging platform=linux arch=x64 electron=7.0.0 appOutDir=dist/linux-unpacked
• asar using is disabled — it is strongly not recommended solution=enable asar and use asarUnpack to unpack files that must be externally available
• file source doesn't exist from=/home/kuhadatko/kseftiky/daq-ozm/daq-ozm/gui/desktop/static
• building target=apk arch=x64 file=dist/daq-desktop-1.0.0.apk
• default Electron icon is used reason=application icon is not set
• application Linux category is set to default "Utility" reason=linux.category is not set and cannot map from macOS docs=https://www.electron.build/configuration/linux
`
The text was updated successfully, but these errors were encountered:
This is output from application when installing through adb (Similar message when installing directly on device):
adb -s R58M78HHBVJ install dist/daq-desktop-1.0.0.apk =>
adb: failed to install dist/daq-desktop-1.0.0.apk: Failure [INSTALL_PARSE_FAILED_NOT_APK: Failed to parse /data/app/vmdl291506725.tmp/base.apk]
json package:
{ "name": "daq-desktop", "version": "1.0.0", "license": "SEE LICENSE IN LICENSE", "main": "src/main/index.js", "homepage": "http://acrios.com", "author": { "name": "Dušan Červenka", "email": "[email protected]" }, "scripts": { "compile": "electron-webpack", "dev": "node_modules/.bin/electron --js-flags='--max-old-space-size=10192' . DEBUG", "lindev": "yarn compile && electron-builder -l", "windev": "yarn compile && electron-builder -w portable", "adev": "yarn compile && electron-builder -l apk", "linDAQ": "yarn compile && electron-builder --armv7l" }, "dependencies": { "electron-npm-packages": "^4.1.2", "javascript-obfuscator": "^0.18.1", "node": "^12.11.1", "npm": "^6.11.3", "source-map-support": "^0.5.9", "yarn": "^1.19.0" }, "devDependencies": { "electron": "^7.0.0", "electron-builder": "^21.2.0", "electron-webpack": "^2.7.4", "webpack": "^4.41.2" }, "build": { "compression": "store", "asar": "false", "win": { "target": "portable", "icon": "icon.ico", "files": ["**/*", "!html/measurements/*"] }, "linux": { "files": ["**/*", "!html/measurements/*"] }, "directories": { "app": ".", "buildResources": "static" } } }
build output:
`yarn adev
yarn run v1.19.2
$ yarn compile && electron-builder -l apk
$ electron-webpack
Hash: fee3800d6a662e8386adbb92bcc7b5951588e90a
Version: webpack 4.41.2
Child
Hash: fee3800d6a662e8386ad
Time: 3493ms
Built at: 11/28/2019 8:28:43 AM
Asset Size Chunks Chunk Names
main.js 582 KiB 0 [emitted] main
main.js.map 240 KiB 0 [emitted] [dev] main
Entrypoint main = main.js main.js.map
[1] external "path" 42 bytes {0} [built]
[2] external "fs" 42 bytes {0} [built]
[3] external "util" 42 bytes {0} [built]
[4] external "buffer" 42 bytes {0} [built]
[10] external "net" 42 bytes {0} [built]
[11] external "stream" 42 bytes {0} [built]
[24] external "http" 42 bytes {0} [built]
[31] external "events" 42 bytes {0} [built]
[41] external "querystring" 42 bytes {0} [built]
[43] external "url" 42 bytes {0} [built]
[57] external "electron" 42 bytes {0} [built]
[58] multi ./src/main/index.js 28 bytes {0} [built]
[59] ./src/main/index.js 4.66 KiB {0} [built]
[142] external "child_process" 42 bytes {0} [built]
[143] external "v8" 42 bytes {0} [built]
+ 129 hidden modules
Child
Hash: bb92bcc7b5951588e90a
Time: 407ms
Built at: 11/28/2019 8:28:40 AM
Asset Size Chunks Chunk Names
index.html 288 bytes [emitted]
renderer.js 1.14 KiB 0 [emitted] renderer
renderer.js.map 1.9 KiB 0 [emitted] [dev] renderer
Entrypoint renderer = renderer.js renderer.js.map
[0] multi ./src/renderer/index.js 28 bytes {0} [built]
[1] ./src/renderer/index.js 184 bytes {0} [built]
[2] external "electron" 42 bytes {0} [built]
Child html-webpack-plugin for "index.html":
1 asset
Entrypoint undefined = index.html
[0] ./node_modules/html-loader/dist/cjs.js?minimize=false&url=false!./dist/.renderer-index-template.html 255 bytes {0} [built]
• electron-builder version=21.2.0 os=5.3.0-23-generic
• loaded configuration file=package.json ("build" field)
• loaded parent configuration file=/home/kuhadatko/kseftiky/daq-ozm/daq-ozm/gui/desktop/node_modules/electron-webpack/out/electron-builder.js
• Specified application directory equals to project dir — superfluous or wrong configuration appDirectory=.
• description is missed in the package.json appPackageFile=/home/kuhadatko/kseftiky/daq-ozm/daq-ozm/gui/desktop/package.json
• writing effective config file=dist/builder-effective-config.yaml
• packaging platform=linux arch=x64 electron=7.0.0 appOutDir=dist/linux-unpacked
• asar using is disabled — it is strongly not recommended solution=enable asar and use asarUnpack to unpack files that must be externally available
• file source doesn't exist from=/home/kuhadatko/kseftiky/daq-ozm/daq-ozm/gui/desktop/static
• building target=apk arch=x64 file=dist/daq-desktop-1.0.0.apk
• default Electron icon is used reason=application icon is not set
• application Linux category is set to default "Utility" reason=linux.category is not set and cannot map from macOS docs=https://www.electron.build/configuration/linux
`
The text was updated successfully, but these errors were encountered: