net_rim_json_org not found

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-05 12:26:13
Tariq M Nasim

I also faced this problem and have managed to solve like as described below.

package org.json.me is built-in in JDE 6.0.0 but not in JDE 5.0.0 or below. So, you need to add that package yourself. You can download the package from github.

If you want to write the same code for both JDE 6 and JDE 5 and make your application work on both JDE 6 and JDE 5, then you can rename that package to something like org.json.whatever .... and in your code wherever you need to use org.json.me.JSONArray , org.json.me.JSONObject .... you just use org.json.whatever.JSONArray, org.json.whatever.JSONObject etc. Thus you can make your code JDE-version independent for JSON parsing.

More on json parsing in the SO question "Json parser for Blackberry OS 5"

You have compiled your application with SDK 6.0 and are trying to launch it on device with SDK 5.0

SDK version == JDE version you have used.

Error you get means that device OS ver. 5.0 does not have this library, that exists in device OS ver. 6.0

Note that, if you compile your app with SDK 6.0 it will run properly on devices with OS versions 6.0 and 7.0, but not on devices with OS 5.0 and older.

In you build settings==> order and export, you are exporting that library or not. If not then please check the checkbox and your application works fine

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!