When trying to follow step 3 of this answer, I get an error when launching ./android command from the folder android-sdk-linux/tools folder:
perissf@perissf-ubuntu:~/Scaricati/android-sdk-linux/tools$ ./android
(Android SDK Manager:6135): GLib-GObject-CRITICAL **: g_type_add_interface_static: assertion 'g_type_parent (interface_type) == G_TYPE_INTERFACE' failed
(Android SDK Manager:6135): GLib-GObject-CRITICAL **: g_type_add_interface_static: assertion 'g_type_parent (interface_type) == G_TYPE_INTERFACE' failed
However, despite the error, the Android SDK Manager window opens anyway.
In the system there are the preinstalled Java and OpenJDK, but I have installed the Oracle JRE and set it as default:
perissf@perissf-ubuntu:~$ java -version
java version "1.8.0_101"
Java(TM) SE Runtime Environment (build 1.8.0_101-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.101-b13, mixed mode)
perissf@perissf-ubuntu:~$ javac -version
Il programma "javac" può essere trovato nei seguenti pacchetti:
default-jdk
ecj
gcj-5-jdk
openjdk-8-jdk-headless
gcj-4.8-jdk
gcj-4.9-jdk
openjdk-9-jdk-headless
Provare: sudo apt install
<PACCHETTO SELEZIONATO>
And my question is: should I care about this error or go on anyway?