Command failed: ./gradlew assembleRelease
Opened this issue · 3 comments
aoilti commented
按照官网上的教程来的,到打包apk这一步的时候卡这里了。
网上查的也没找到有效的解决办法。
错误信息
Error: Error: Command failed: ./gradlew assembleRelease
isLibProject: false, isAppProject: true
weex_plugin: []
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring project ':app'.
> Could not find support-compat.jar (com.android.support:support-compat:26.1.0).
Searched in the following locations:
https://jcenter.bintray.com/com/android/support/support-compat/26.1.0/support-compat-26.1.0.jar
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
weex 相关信息
- weexpack : v1.2.5
- weex-builder : v0.4.0
- weex-previewer : v1.5.1
platform android版本
android 6.3.17
resourceldg commented
me too :( find any solution?
aoilti commented
me too :( find any solution?
not yet. now i use ionic@2.2.1
shinriyo commented
me too
Error: Error: Command failed: ./gradlew assembleRelease
I have gradle.
gradle -v
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.codehaus.groovy.reflection.CachedClass (file:/usr/local/Cellar/gradle/4.10.2/libexec/lib/groovy-all-2.4.15.jar) to method java.lang.Object.finalize()
WARNING: Please consider reporting this to the maintainers of org.codehaus.groovy.reflection.CachedClass
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
------------------------------------------------------------
Gradle 4.10.2
------------------------------------------------------------
Build time: 2018-09-19 18:10:15 UTC
Revision: b4d8d5d170bb4ba516e88d7fe5647e2323d791dd
Kotlin DSL: 1.0-rc-6
Kotlin: 1.2.61
Groovy: 2.4.15
Ant: Apache Ant(TM) version 1.9.11 compiled on March 23 2018
JVM: 10.0.1 ("Oracle Corporation" 10.0.1+10)
OS: Mac OS X 10.14 x86_64