Closed Voyage-He closed 1 year ago
不知道这样的主机。 (maven.google.com)
Google translate leads me to believe this is a connection issue on your network, the connection to maven.google.com
is either blocked, or unreachable.
Google translate leads me to believe this is a connection issue on your network, the connection to
maven.google.com
is either blocked, or unreachable.
Hi,bro,has the way to solve this problem?
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':extractReleaseAnnotations'.
> Could not resolve all files for configuration ':detachedConfiguration1'.
> Could not resolve com.android.tools.lint:lint-gradle:30.4.2.
Required by:
project :
> Could not resolve com.android.tools.lint:lint-gradle:30.4.2.
> Could not get resource 'https://maven.google.com/com/android/tools/lint/lint-gradle/30.4.2/lint-gradle-30.4.2.pom'.
> Could not GET 'https://maven.google.com/com/android/tools/lint/lint-gradle/30.4.2/lint-gradle-30.4.2.pom'.
> Connect to maven.google.com:443 [maven.google.com/142.251.43.14] failed: Connection timed out: connect
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 1m 52s
Failed to build plugin @nativescript/core :
Error: Command gradlew.bat failed with exit code 1
I have the same issue:
FAILURE: Build failed with an exception.
* What went wrong:
Could not open settings generic class cache for settings file 'C:\Users\igor.mytyuk\Desktop\Projects\visualpos-mobile\platforms\tempPlugin\core\settings.gradle' (C:\Users\igor.mytyuk\.gradle\caches\8.4\scripts\3n04429yuegs5t7zs8asw1441).
> BUG! exception in phase 'semantic analysis' in source unit '_BuildScript_' Unsupported class file major version 66
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at https://help.gradle.org.
BUILD FAILED in 512ms
Failed to build plugin @nativescript/core :
Error: Command gradlew.bat failed with exit code 1
This is not the same issue,
BUG! exception in phase 'semantic analysis' in source unit 'BuildScript' Unsupported class file major version 66
Indicates you are using java 22, please install and use java 17
Issue Description
when i run
ns run android
, it didnt work. it's same as #5649, which is supposed to be fixed. hope for reply, appreciate!error as the following:
Reproduction
Relevant log output (if applicable)
Environment
$ns doctor android
√ Getting environment information
No issues were detected. √ Your ANDROID_HOME environment variable is set and points to correct directory. √ Your adb from the Android SDK is correctly installed. √ The Android SDK is installed. √ A compatible Android SDK for compilation is found. √ Javac is installed and is configured properly. √ The Java Development Kit (JDK) is installed and is configured properly. √ Local builds for iOS can be executed only on a macOS system. To build for iOS on a different operating system, you can use the NativeScript cloud infrastructure. √ Getting NativeScript components versions information... √ Component nativescript has 8.3.3 version and is up to date. √ Component @nativescript/core has 8.3.6 version and is up to date. √ Component @nativescript/android has 8.3.1 version and is up to date.
Dependencies
Please accept these terms