apache / incubator-weex-cli

Weex Toolkit is the Standard Tooling for Weex Development.
https://weexteam.github.io/CLI-for-Apache-Weex
Apache License 2.0
564 stars 113 forks source link

<Project>\platforms\android\app\build\outputs\apk\weex-app.apk: No such file or directory #625

Open shah-bhavik204 opened 4 years ago

shah-bhavik204 commented 4 years ago

Followed the steps in Documentation given @ https://weex.apache.org/guide/develop/create-a-new-app.html#set-up.

PS B:\My Projects\new-weex> npm run android

new-weex@1.0.0 android B:\My Projects\new-weex weex run android

[√] Compile JSBundle done [√] Use Pixel_2_API_29 (Simulator) [√] Start hotreload server done [√] Set native config done [√] Copy JS source done [√] Watch JS source done [√] Build APP done Error: Command failed: C:\Users\bhavi\AppData\Local\Android\sdk\platform-tools\adb -s emulator-5554 install -r B:\My Projects\new-weex\platforms\android\app\build\outputs\apk\weex-app.apk adb: failed to stat Projects\new-weex\platforms\android\app\build\outputs\apk\weex-app.apk: No such file or directory

at ChildProcess.exithandler (child_process.js:303:12)
at ChildProcess.emit (events.js:315:20)
at maybeClose (internal/child_process.js:1021:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:286:5)

Environment:- OS - Windows 10 Weex - 2.0.0-beta.31 (Core 2.0.0-beta.31)

package.json { "name": "new-weex", "version": "1.0.0", "description": "A weex project", "author": "", "private": true, "scripts": { "start": "npm run serve", "build": "webpack --env.NODE_ENV=common", "build:prod": "webpack --env.NODE_ENV=production", "build:prod:web": "webpack --env.NODE_ENV=release", "build:plugin": "webpack --env.NODE_ENV=plugin", "clean:web": "rimraf ./release/web", "clean:ios": "rimraf ./release/ios", "clean:android": "rimraf ./release/android", "dev": "webpack --env.NODE_ENV=common --progress --watch", "unit": "karma start test/unit/karma.conf.js --single-run", "test": "npm run unit", "lint": "eslint --ext .js,.vue src test/unit --fix", "serve": "webpack-dev-server --env.NODE_ENV=development --progress", "ios": "weex run ios", "web": "npm run serve", "android": "weex run android", "pack:ios": "npm run clean:ios && weex build ios", "pack:android": "npm run clean:android && weex build android", "pack:web": "npm run clean:web && npm run build:prod:web" }, "keywords": [ "weex" ], "license": "MIT", "dependencies": { "phantom-limb": "0.0.1", "vue": "^2.5.11", "weex-vue-render": "^1.0.17" }, "devDependencies": { "autoprefixer": "^8.0.0", "babel-core": "^6.26.0", "babel-eslint": "^8.2.1", "babel-loader": "^7.1.1", "babel-preset-stage-0": "^6.24.1", "chai": "^4.1.2", "css-loader": "^0.28.8", "eslint": "^4.15.0", "eslint-config-standard": "^10.2.1", "eslint-friendly-formatter": "^3.0.0", "eslint-loader": "^1.7.1", "eslint-plugin-import": "^2.7.0", "eslint-plugin-node": "^5.2.0", "eslint-plugin-promise": "^3.4.0", "eslint-plugin-standard": "^3.0.1", "eslint-plugin-vue": "^4.0.0", "extract-text-webpack-plugin": "^3.0.2", "friendly-errors-webpack-plugin": "^1.6.1", "fs-extra": "^5.0.0", "glob": "^7.1.2", "html-webpack-plugin": "^2.30.1", "html-webpack-plugin-for-multihtml": "^2.30.2", "ip": "^1.1.5", "karma": "^1.7.1", "karma-coverage": "^1.1.1", "karma-mocha": "^1.3.0", "karma-phantomjs-launcher": "^1.0.4", "karma-phantomjs-shim": "^1.5.0", "karma-sinon-chai": "^1.3.3", "karma-sourcemap-loader": "^0.3.7", "karma-spec-reporter": "0.0.31", "karma-webpack": "^2.0.6", "mocha": "^5.2.0", "node-notifier": "^5.1.2", "portfinder": "^1.0.13", "postcss-import": "^11.0.0", "postcss-loader": "^2.0.9", "postcss-plugin-weex": "^0.1.6", "raw-loader": "^0.5.1", "rimraf": "^2.6.2", "script-ext-html-webpack-plugin": "^1.8.5", "sinon": "^4.1.3", "sinon-chai": "^2.14.0", "vue-loader": "^12.2.0", "vue-style-loader": "^3.0.3", "vue-template-compiler": "^2.5.11", "webpack": "^3.10.0", "webpack-dev-server": "^2.9.7", "webpack-merge": "^4.1.0", "webpack-uglify-parallel": "^0.1.4", "weex-loader": "^0.7.2", "weex-vue-precompiler": "^0.1.17", "ws": "^1.1.0" } }