1

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

<p>(Android SDK Manager:6135): GLib-GObject-CRITICAL **: g_type_add_interface_static: assertion 'g_type_parent (interface_type) == G_TYPE_INTERFACE' failed</p>

<p>(Android SDK Manager:6135): GLib-GObject-CRITICAL **: g_type_add_interface_static: assertion 'g_type_parent (interface_type) == G_TYPE_INTERFACE' failed</p>

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

<p>java version "1.8.0_101"</p>

<p>Java(TM) SE Runtime Environment (build 1.8.0_101-b13)</p>

<p>Java HotSpot(TM) 64-Bit Server VM (build 25.101-b13, mixed mode)</p>

<p>perissf@perissf-ubuntu:~$ javac -version</p>

<p>Il programma "javac" può essere trovato nei seguenti pacchetti:</p>

<ul>
<li><p>default-jdk</p></li>
<li><p>ecj</p></li>
<li><p>gcj-5-jdk</p></li>
<li><p>openjdk-8-jdk-headless</p></li>
<li><p>gcj-4.8-jdk</p></li>
<li><p>gcj-4.9-jdk</p></li>
<li><p>openjdk-9-jdk-headless</p></li>
</ul>

<p>Provare: sudo apt install <code>&lt;PACCHETTO SELEZIONATO&gt;</code></p>

And my question is: should I care about this error or go on anyway?

perissf
  • 111
  • 3
    These are harmless warnings meant for devs and you will usually see them when opening GTK apps from the terminal. See http://askubuntu.com/questions/23423/why-am-i-getting-this-error-while-using-gedit for example. There are plenty of similar questions on this site regarding this. – edwinksl Aug 31 '16 at 08:33

0 Answers0