Im starting a contract today coding bluetooth in codenameone, so hopefully 
someone can help in some way!!

On Wednesday, August 28, 2019 at 12:35:31 AM UTC+1, Gareth Murfin wrote:
>
> actually on the device im still getting the error, im very confused right 
> now, any thoughts??
>
>  Exception: java.lang.NoSuchMethodError - No direct method 
> <init>(Ljava/util/Map;)V in class Lca/weblite/codename1/json/JSONObject; or 
> its super classes (declaration of 'ca.weblite.codename1.json.JSONObject' 
> appears in /data/app/com.pippa.hobmonitor-i555BGum4BjW27o1gIXtCQ==/base.apk)
> W/System.err: java.lang.NoSuchMethodError: No direct method 
> <init>(Ljava/util/Map;)V in class Lca/weblite/codename1/json/JSONObject; or 
> its super classes (declaration of 'ca.weblite.codename1.json.JSONObject' 
> appears in /data/app/com.pippa.hobmonitor-i555BGum4BjW27o1gIXtCQ==/base.apk)
>
> On Tuesday, August 27, 2019 at 10:13:24 PM UTC+1, Gareth Murfin wrote:
>>
>> Seems like it should be due to no json lib, but its there, then I 
>> realised it was only 30k somehow soI grabbed it from here
>>
>> https://github.com/codenameone/CodenameOneLibs/tree/master/cn1libs
>>
>> that one was 85k... but now it wont compile  (complains that it cannot 
>> find ca.weblite.codename1.json.JSONObject; ) , even after doing refresh cn1 
>> libs. I cannot work out whats going wrong ive used the json lib hundreds of 
>> times with no issue.
>>
>> On Tuesday, August 27, 2019 at 9:30:11 PM UTC+1, Gareth Murfin wrote:
>>>
>>> I compiled and sent this project to the server 
>>> https://github.com/chen-fishbein/bluetoothle-codenameone/tree/master/BTDemo
>>>
>>> It runs fine but when I tap "initialise" I get this error
>>>
>>> "no such method error, no direct method java/util/map in class 
>>> ca/weblite/codename1/json/JSonObject
>>>
>>> Any ideas?
>>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/46f62dc9-bcaa-4ebf-a109-0a491f26ae0b%40googlegroups.com.

Reply via email to