Hi! I’m using Cordova tu build an android app. When i use cordova build android
I receive this error:
archimede@localhost:~/exper/myApp> cordova build
Checking Java JDK and Android SDK versions
ANDROID_SDK_ROOT=undefined (recommended setting)
ANDROID_HOME=undefined (DEPRECATED)
Using Android SDK: /home/archimede/Android/Sdk
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007fb6715e7d36, pid=12575, tid=0x00007fb670c51640
#
# JRE version: OpenJDK Runtime Environment (8.0_275-b01) (build 1.8.0_275-b01)
# Java VM: OpenJDK 64-Bit Server VM (25.275-b01 mixed mode linux-amd64 compressed oops)
# Derivative: IcedTea 3.17.1
# Distribution: Custom build (Thu Dec 3 19:48:59 UTC 2020)
# Problematic frame:
# V [libjvm.so+0x653d36] jni_SetStaticBooleanField+0x96
#
# Core dump written. Default location: /home/archimede/exper/myApp/core or core.12575
#
# An error report file with more information is saved as:
# /home/archimede/exper/myApp/hs_err_pid12575.log
#
# If you would like to submit a bug report, please include
# instructions on how to reproduce the bug and visit:
# https://icedtea.classpath.org/bugzilla
#
Command was killed with SIGABRT (Aborted): /usr/bin/gradle -p /home/archimede/exper/myApp/platforms/android wrapper -b /home/archimede/exper/myApp/platforms/android/wrapper.gradle
The strange thing is that I get this error in all new projects, but all works well in an ‘old’ project (a project started 4-5 days ago, where I didn’t nothing different to initialize from cordova create app
and cordova add platform android
).
This is the log file indicated https://pastebin.com/Dyhr1yXG