Closed LordTylus closed 4 years ago
I also just tested launching on iOS Simulator.
Sadly I don't exactly know how to access the Logs from the simulator.
hi, thank you for report. could you please share symbolicate one ? you can do it by crashing the app (e.g. just launch from phone launcher to get it crashed). then in Xcode menu: Window->Device and Simulators select your device and hit 'View Device Logs'. Wait for logs being fetched. Then select the one (probably last), hit right button and click "re-symbolicate log". It should be done on same Mac where you have build the app.
btw, sample you shared works for me. also in Gitter channel there were reports that LC10 works for complex projects.
Hello,
thank you for your fast reply.
I did not know you could symbolicate the logs I will do so first thing tomorrow and share it with you.
Now that I think about it, I just grabbed the sources of the new Project posted above, but did keep the robovm.xml robovm.ini and robovm.properties from my original project. As well as the dependencies in the build.gradle. So lots of error potential remaining.
Tomorrow I will continue test if it works after I removed all third party libs and dependencies, and temporarily get rid of the robovm.ini in which I set up mx=512M. Since the error message indicates some memory problems maybe its related to that.
Ultimately it should work with these settings, but maybe I can narrow down the cause of the Issue I am having by removing things the sample project does not need. I will let you know once I know more about it.
root case -- tree shaker was removing required during the boot classes. opened stand-alone issue for it. https://github.com/dkimitsa/robovm-libcore10-smoketest/issues/2 closing this now
Hello there,
today I tried running our companies Mobile App with this Test Version of RoboVM using the precompiled IDEA Plugin. Since I never used IDEA Before I installed RoboVM 2.3.10 first to see if everything is imported correctly, compiles and can be launched. Which worked fine.
I updated the plugin to the MobiVM Libcore 10 and started compiling. The first time failed, because our Project still had:
in the ForceLinkClasses section of robovm.xml. Since this does not seem to be a thing anymore I just removed it. Dont really think I ever used it anyway just put it there because the Sample Project did, and we do use encryption so its probably useful.
After getting rid of those two entries compiling worked fine.
However deploying on the iPad failed. I only saw the apps spash screen. No Console, No Device Logs, no Nothing.
Instead of starting to go big I then proceeded with the RoboVM Sample Project I created with Eclipse and imported to IDEA. This worked fine with 2.3.10 so I assumed it also should work fine with Libcore 10. Which sadly it did not. Same error as before and no logs.
When trying to launch it via instruments however it instantly crashes and also offers some logs which I pulled from the device.
Unfortunately this kind of analysis is a bit beyond my current capabilities so I have absolutely no clue what the actual problem is. Apart from a seemingly invalid memory access.
Device Crash Log
You should be able to reproduce it with the sample Project. Since I altered a bit you can also use the following classes: Note: Since I am currently compiling with Java 1.7 I replaced the Lambda with an Anonymus class. Eclipse didn't really care but IDEA was unhappy about me using 1.7 and putting a Lambda in there so I just fixed it.
Main.java
MyViewController.java
I hope this information is useful for you.
Thank you for the hard work.