Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Command failed: ./gradlew assembleRelease #238

Open
aoilti opened this issue Aug 7, 2018 · 3 comments
Open

Command failed: ./gradlew assembleRelease #238

aoilti opened this issue Aug 7, 2018 · 3 comments

Comments

@aoilti
Copy link

aoilti commented Aug 7, 2018

按照官网上的教程来的,到打包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.

image

weex 相关信息

 - weexpack : v1.2.5
 - weex-builder : v0.4.0
 - weex-previewer : v1.5.1

platform android版本
android 6.3.17

@resourceldg
Copy link

me too :( find any solution?

@aoilti
Copy link
Author

aoilti commented Oct 25, 2018

me too :( find any solution?

not yet. now i use [email protected]

@shinriyo
Copy link

shinriyo commented Nov 4, 2018

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants