I upgraded to the pro plan, and 27 builds later I still dont have a crash
report.
Hello World works, so I removed code until it worked and then started to
add it all back in one line at a time. Add a line, build, uninstall app,
install app, watch it crash or not crash, goto Add a line.
Here is the offending line, as well as a hello world app that reproduces
the problem:
Crash here:
btnLogin.setIcon(FontImage.createMaterial(FontImage.MATERIAL_CLOUD_DOWNLOAD,
UIManager.getInstance().getComponentStyle("Command"), 5));
Full hello world app:
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();
I feel like I was stuck in the shower following the instructions on the
shampoo...wash, rinse, repeat...wash, rinse, repeat there's no break in
that loop :)
Peter
On Thursday, October 19, 2017 at 11:36:32 AM UTC-7, Steve Hannah wrote:
>
> Likely it is crashing on start. Without the stack trace it is hard to
> know what is going on there. If you're a pro user you can turn on crash
> reporting and it will send you the crash report in email. Otherwise you
> can select "include sources", and open the project in Visual Studio if you
> have that to see the debug log.
>
> Do you also get a black screen if you just build a hello world app?
>
>
>
> On Thu, Oct 19, 2017 at 11:01 AM, <[email protected] <javascript:>>
> wrote:
>
>> I have an app that has been in production for a while on iOS and Android,
>> now there is one user who wants to run it on their surface pro. So I did a
>> windows uwp build following the instructions here:
>> https://www.codenameone.com/manual/appendix-uwp.html
>>
>> I saw the bug report here:
>> https://github.com/codenameone/CodenameOne/issues/2114 but it shows as
>> closed and fixed.
>>
>> Questions:
>> 1. Any ideas on the black screen?
>> 2. The link mentioned somewhere about MS supporting android apk is dead
>> 3. Would it be easier to implement the new MS iOS app to UWP app bridge?
>> https://developer.microsoft.com/en-us/windows/bridges
>>
>>
>> <https://lh3.googleusercontent.com/-JMlUEsV67_A/WejobOtwBWI/AAAAAAAAFsk/9lN926gafAs8TxDsPZ2_V0z_yA2JC7-1ACLcBGAs/s1600/Screenshot%2Bfrom%2B2017-10-19%2B10-44-14.png>
>>
>>
>> <https://lh3.googleusercontent.com/-f7MJGlHPzRU/Wejod6-GeNI/AAAAAAAAFso/xE7yUEIOVt0wJbqb8Mth7yHi3VNfCjvhgCLcBGAs/s1600/Screenshot%2Bfrom%2B2017-10-19%2B10-46-18.png>
>>
>>
>>
>> --
>>
> --
> Steve Hannah
> Software Developer
> Codename One
> http://www.codenameone.com
>
--
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 [email protected].
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/3cce7179-8344-4a99-8f0a-52d6152f4c27%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.