开发者

Error starting application. Module ... not found

I am developing an application for OS 5.0 and above. I am receiving an error when running it on OS 4.6 and I can't enter the application. What I wanna do is make a try catch to get the error and start the application开发者_开发技巧 on OS 4.6 even if a module is not found. For example I want to launch a Main Screen where I want to notify the user to download the new OS version in order to use the application.

Any hint about this topic? Thanks in advance


Because of your import statements you won't be able to do that. You'll need to create a separate version for pre-5.0 OSes.


Another option would be to write a starter application than will run on pre-5.0 OSes that checks the current OS level and launches your application if the OS is OK, or displays your request that they upgrade.

The best solution though is to inform your user base what device/OS combinations you support. If you are doing the installation OTA is is quite easy to detect the OS version from the UserAgent string and act accordingly.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜