weexteam / A-pack-tool-for-Apache-Weex

A pack tool for Android、iOS and H5 plartform of Weex. This tool is a third party work, and is not developed nor maintained by Apache Weex.
Apache License 2.0
611 stars 76 forks source link

build android 的时候出现 Configuration with name 'default' not found 的错误 #212

Closed SaiyanGuo closed 6 years ago

SaiyanGuo commented 6 years ago
============build config============
AppId=>com.alibaba.weex
AppName=>ASMR
SplashText=>Hello
Weex
WeexBundle=>index.js
if you want to change build config.please modify android.config.json
 => Building app ...
Incremental java compilation is an incubating feature.

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring project ':app'.
> Could not resolve all dependencies for configuration ':app:_debugApk'.
   > Configuration with name 'default' not found.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED
junhaotong commented 6 years ago

同问,我也报这个错 `============build config============ AppId=>com.alibaba.weex AppName=>WeexApp SplashText=>Hello Weex WeexBundle=>index.js if you want to change build config.please modify android.config.json => Building app ...

FAILURE: Build failed with an exception.

BUILD FAILED

Total time: 11.444 secs`

junhaotong commented 6 years ago

问题解决,折腾了半天,发现 image 这里引入了 weexplugin,但是目录下没有这个文件, 我到这里链接 将weexplugin文件夹拷贝到我的android项目下,运行成功