title: How can I update the Codename One libraries?
body: <p>I tried and tried to run this code in a new &quot;bare bones&quot; project, but there is nothing to do, it always gives me the following error:</p>
  <pre><code>/home/francesco/NetBeansProjects/TestUUID/src/net/informaticalibera/test/UUID/MyApplication.java:62: error: cannot find symbol
                  hi.add(new SpanLabel(Util.getUIID()));
    symbol:   method getUIID()
    location: class Util
  1 error
  </code></pre>
  <p>Code that is known to work, it's an example that I inserted in the <a href="https://www.codenameone.com/javadoc/com/codename1/io/Util.html#getUUID--" rel="nofollow noreferrer">Javadoc of <code>Util.getUIID</code></a>:</p>
  <pre><code>        Form hi = new Form(&quot;Test UIID&quot;, BoxLayout.y());
          Button button = new Button(&quot;Generate 10 UIID&quot;);
          hi.add(button);
          hi.show();
          button.addActionListener(l -&gt; {
              String myId = &quot;myUsername&quot;; // do not exceed 12 characters
              Preferences.set(&quot;CustomDeviceId__$&quot;, Long.parseLong(myId, 36));
              hi.add(new SpanLabel(&quot;10 Random UUID&quot;));
              for (int i = 0; i &lt; 10; i++) {
                  hi.add(new SpanLabel(Util.getUIID()));
              }
              hi.revalidate();
          });
  </code></pre>
  <p>I think it is a problem of updating the Codename One libraries, which maybe in a project bare bones are old. However, opening &quot;Codename One Settings&quot;, clicking on the hamburger menu at the top right and choosing first &quot;Update&quot; and then &quot;Save&quot; I keep getting the same error. If I try to use the old version of the &quot;Codename One Settings&quot; GUI, clicking on &quot;Basic&quot; and then &quot;Update Project Libs&quot;, the problem remains. I don't know what to do.</p>
  <p>Is it a Codename One bug or am I not doing the right action?</p>