```
weex run android
? This command need to install weexpack. Install now? Yes
{ Error: Cannot find module '../src/run/Web'
at Function.Module._resolveFilename (module.js:469:15)
at Function.Module._load (module.js:417:25)
at Module.require (module.js:497:17)
at require (internal/module.js:20:19)
at Object.<anonymous> (/home/zhongwei/.xtoolkit/node_modules/weexpack/bin/weexpack-run:7:16)
at Module._compile (module.js:570:32)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3) code: 'MODULE_NOT_FOUND' }
```vue
```
$ weex platform add android
Error: Current working directory is not a weexpack project.
```node
> 我的理解weex-toolkit能夠用來開發時調試,weexpack用做打包,可是怎麼把weex-toolkit開發完成的文件放進weexpack進行打包呢android
> 你只須要把你的vue 或者 .we文件放到src下面。ios
> 使用weex-toolkit腳手架的init是初始化一個vue project,而create纔是初始化一個weexpack project。請確認一下使用方式,而後我的推薦工程使用vue去構建。git
原來 weex init 與 weex create 建立的項目是有區別的github
- weex init 建立的是 vue project
- weex create 建立的是 weexpack project segmentfault
## 參考
- [Native Mobile Apps with Weex and VueJS 2.0 – Hacker Noon](https://hackernoon.com/how-to-create-a-weex-vue2-project-6b94981bee4e)
- [weex init 建立的項目如何打包到真機? · Issue #83 · weexteam/weex-toolkit](https://github.com/weexteam/weex-toolkit/issues/83)
- [weex-plugins/amap-running-app: a demo running app for weex-amap](https://github.com/weex-plugins/amap-running-app)
- [使用weex-toolkit建立工程後執行weex platform add ios報錯 - SegmentFault](https://segmentfault.com/q/1010000008771985)
- [weex 學習日記 第三天 (大概是安卓打包的事最終版) - weexhelp](http://weex.help/topic/58dcbbf22668808722df284f)weex