Due to the BLE issues introduced with SDK 9.2, which have not yet been fixed, I have been using SDK 9.1 for simulation.
This workaround stopped working after some device definitions were updated. Since then, the simulator has shown the following error message:
The currently running app requires a newer SDK to run. Please select a newer SDK in the Connect IQ SDK Manager.
I initially worked around this by restoring older device definitions. However, I have now found that the error is only triggered when dc.clearClip() is called.
Replacing it with:
dc.setClip(0, 0, dc.getWidth(), dc.getHeight());
makes it possible to simulate apps built with SDK 9.1 while using the current device definitions.
So far, I have not found any other method that causes the same issue.
I hope this helps anyone else in the same situation.