Log.sendLog() works, or more precisely sends me a log file,
String s = null; s.compareTo("test"); works
However the below code (which is also in my original post) crashes, and
does not send a logfile. BTW, I would rather focus on the crash and not on
the fact there is no logfile.
Form hi = new Form("Hi World");
hi.setLayout(new BorderLayout());
Button btnLogin = new Button("Test");
btnLogin.setIcon(FontImage.createMaterial(FontImage.MATERIAL_CLOUD_DOWNLOAD,
UIManager.getInstance().getComponentStyle("Command"), 5));
hi.add(BorderLayout.CENTER, btnLogin);
hi.show();
On Friday, October 20, 2017 at 9:24:13 PM UTC-7, Shai Almog wrote:
>
> If you use something like Log.p("Test"); Log.sendLog(); this should work
> even in the simulator. If it doesn't it's possible that your local account
> is building against a different account from the pro account. Notice that
> the account you are logged into might be a different one from the one you
> send builds to. You see the former in Codename One Settings. You see the
> latter printed to the IDE console when sending a build.
>
--
You received this message because you are subscribed to the Google Groups
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to codenameone-discussions+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit
https://groups.google.com/d/msgid/codenameone-discussions/26e72833-ea36-4770-9220-caa13ecb4ca9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.