Skip to content
This repository has been archived by the owner on Jun 3, 2021. It is now read-only.

weex run android失败 #627

Open
imallb opened this issue Jul 7, 2020 · 3 comments
Open

weex run android失败 #627

imallb opened this issue Jul 7, 2020 · 3 comments

Comments

@imallb
Copy link

imallb commented Jul 7, 2020

[√] Compile JSBundle done
? Select one of the device Pixel_2_API_24 (Simulator)
[√] Start hotreload server done
[√] Set native config done
[√] Copy JS source done
[√] Watch JS source done
| Building APP - this may take a few seconds
Error: Command failed: call gradlew.bat clean assembleDebug

FAILURE: Build failed with an exception.

  • What went wrong:
    Could not determine java version from '13.0.1'.

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

    at ChildProcess.exithandler (child_process.js:295:12)
    at ChildProcess.emit (events.js:210:5)
    at maybeClose (internal/child_process.js:1021:16)
    | Building APP - this may take a few seconds

如何处理

@imallb
Copy link
Author

imallb commented Jul 7, 2020

为何weex创建的安卓项目https://services.gradle.org/distributions/gradle-2.14.1-all.zip版本这么低?

@pengqiangsheng
Copy link

weex run android
[√] Compile JSBundle done
[√] Use Pixel_3a_API_30_x86 (Simulator)
[√] Start hotreload server done
[√] Set native config done
[√] Copy JS source done
[√] Watch JS source done
/ Error: Command failed: call gradlew.bat clean assembleDebug
Exception in thread "main" java.net.ConnectException: Connection timed out: connect

@pengqiangsheng
Copy link

同问,如上,我的是Connection timed out: connect

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

No branches or pull requests

2 participants