Re: [codenameone-discussions] Re: NoSuchMethodError No Direct Method

2019-08-29 Thread Thomas
you probably forgot to click on "Refresh CN1 libs" after replacing the old .cn1lib file in your project with your modified one. On Thursday, August 29, 2019 at 5:08:32 PM UTC+2, Gareth Murfin wrote: > > That's confusing. Weirdly I was trying to make a change to the bluetooth > lib but then

Re: [codenameone-discussions] Re: NoSuchMethodError No Direct Method

2019-08-29 Thread Gareth Murfin
That's confusing. Weirdly I was trying to make a change to the bluetooth lib but then when I try to use it I get the same error. about missing method etc...once i compile it. hair tearing madness. On Thursday, August 29, 2019 at 3:36:12 AM UTC+1, Shai Almog wrote: > > Notice that there is more

Re: [codenameone-discussions] Re: NoSuchMethodError No Direct Method

2019-08-28 Thread Shai Almog
Notice that there is more than one json lib... -- 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 codenameone-discussions+unsubscr...@googlegroups.com.

Re: [codenameone-discussions] Re: NoSuchMethodError No Direct Method

2019-08-28 Thread Gareth Murfin
I do have that library if you look carefully. I have tried cleaning and reimporting many times... seems ok on the emulator (ie json lib works) but on phone it always has that error. On Wed, 28 Aug 2019 at 14:13, Kandy Bitxenio wrote: > Hi Gareht > > You havenĀ“t all the required libs, You must

[codenameone-discussions] Re: NoSuchMethodError No Direct Method

2019-08-28 Thread Gareth Murfin
Thanks very much for your reply Kandy. They look similar (though) not exactly the same as mine.. where did you get CN1Bluetooth.cn1lib from? im using theirs which as you can see has a spelling mistake, so yours might be different? ModeLastWriteTime Length Name

[codenameone-discussions] Re: NoSuchMethodError No Direct Method

2019-08-28 Thread Kandy Bitxenio
Hi Garet I used the BlueThooh codename one lib and didn't have any problem. The project work fine for me. I added the BT and Json Required Libraries from Codename One Settings (libs option). This are my libs size C:\dev\eclipseOxigen\OxigenApp\lib>ls -la total 18736 drwxrwxrwx 1 user

[codenameone-discussions] Re: NoSuchMethodError No Direct Method

2019-08-28 Thread Gareth Murfin
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:

[codenameone-discussions] Re: NoSuchMethodError No Direct Method

2019-08-27 Thread Gareth Murfin
actually on the device im still getting the error, im very confused right now, any thoughts?? Exception: java.lang.NoSuchMethodError - No direct method (Ljava/util/Map;)V in class Lca/weblite/codename1/json/JSONObject; or its super classes (declaration of

[codenameone-discussions] Re: NoSuchMethodError No Direct Method

2019-08-27 Thread Gareth Murfin
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