10-21-2010 03:21 AM
I need to support all possible OS versions in my app. It seems to work till i wanted to test it in OS 6 (Build and run from JDE 6).
When i tried to build i`ve got this error message.
Research In Motion\BlackBerry JDE 6.0.0\lib\net_rim_api.jar(net_rim_json_org.cod): Error!: Duplicate definition for 'org.json.me.JSONArray' <project pagages> org.json.me.JSONArray
Yes i use JSON (the jar file is imported to the project) and i guess the new OS came with inbuild JSON parser. (same as the JAR!!)
If i build with JDE 4.2.1 it seems to work on OS 6 simulator, but i`m not sure is a good way.
10-21-2010 07:58 AM - edited 10-21-2010 08:02 AM
I built it with 4.2.1 and no have problems in the emulator, i`m curios what will happen when the app will be released and somebody will install to a torch.
03-10-2011 04:00 AM
I am having the same problem with the zxing library. I have my own zxing code which is bundled with my application and it works fine on jde 5.0.
I tried it in 9700 it was working fine but i need to test it in torch.
will the same build which works on 9700 will work on torch or i need to get a build specified for torch.
Any suggestions will be use ful.
03-10-2011 07:06 AM
06-14-2012 06:59 AM
If you are using OS 6 and above no need to add Json jar to your project, BB JDE 6 or later comes with JSON standard, remove the one you added, and it should compile just find.
11-19-2012 01:21 PM