Re: [codenameone-discussions] Re: NoSuchMethodError No Direct Method
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 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 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. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/d71faa9b-a21c-44ca-b8dc-e9edadc49b0f%40googlegroups.com.
Re: [codenameone-discussions] Re: NoSuchMethodError No Direct Method
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 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. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/3458eb04-2bf7-4e18-9469-0d0c5c1fb035%40googlegroups.com.
Re: [codenameone-discussions] Re: NoSuchMethodError No Direct Method
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. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/98ece3a8-649d-4641-8677-f3947dc33a11%40googlegroups.com.
Re: [codenameone-discussions] Re: NoSuchMethodError No Direct Method
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 import the Json > CN1JSON.cn1lib. > > I recomended you, clean your libs and reimport it. > > I importd directly from codenameOne Preferences, I use Eclipse. Whai Ide > you use? > > Just see this links: > > https://www.codenameone.com/cn1libs.html > https://www.codenameone.com/manual/advanced-topics.html#_libraries_cn1lib > > Best Regards Kandy > > > > El miércoles, 28 de agosto de 2019, 15:06:03 (UTC+2), Gareth Murfin > escribió: >> >> 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 >> - -- >> d- 28/08/2019 14:03impl >> -a 27/08/2019 20:462264815 CLDC11.jar >> -a 27/08/2019 21:46 50396 CN1Bluethooth.cn1lib >> -a 14/08/2017 10:44 30533 CN1JSON.cn1lib >> -a 27/08/2019 21:196256001 CodenameOne.jar >> -a 27/08/2019 21:19 1036 CodenameOne_SRC.zip >> >> >> >> On Wednesday, August 28, 2019 at 1:49:26 PM UTC+1, Kandy Bitxenio wrote: >>> >>> 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 group 0 Jul 3 20:47 . >>> drwxrwxrwx 1 user group 0 Jul 3 20:47 .. >>> -rw-rw-rw- 1 user group 12380 Jul 3 20:47 >>> AnimatedGifSupport.cn1lib >>> -rw-rw-rw- 1 user group 10 Jul 3 20:47 >>> AnimatedGifSupport.ver >>> -rw-rw-rw- 1 user group 2264815 Jul 3 20:47 CLDC11.jar >>> -rw-rw-rw- 1 user group 46807 Jul 3 20:47 >>> CN1Bluetooth.cn1lib >>> -rw-rw-rw- 1 user group 10 Jul 3 20:47 CN1Bluetooth.ver >>> -rw-rw-rw- 1 user group 30564 Jul 3 20:47 CN1JSON.cn1lib >>> -rw-rw-rw- 1 user group 10 Jul 3 20:47 CN1JSON.ver >>> -rw-rw-rw- 1 user group 6129031 Jul 8 12:36 CodenameOne.jar >>> -rw-rw-rw- 1 user group10695991 Jul 8 12:36 >>> CodenameOne_SRC.zip >>> drwxrwxrwx 1 user group 0 Jul 3 20:47 impl >>> >>> >>> >>> Best Regards Kandy >>> >>> El miércoles, 28 de agosto de 2019, 14:32:17 (UTC+2), Gareth Murfin >>> escribió: 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 > (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 > (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 a
[codenameone-discussions] Re: NoSuchMethodError No Direct Method
Hi Gareht You haven´t all the required libs, You must import the Json CN1JSON.cn1lib. I recomended you, clean your libs and reimport it. I importd directly from codenameOne Preferences, I use Eclipse. Whai Ide you use? Just see this links: https://www.codenameone.com/cn1libs.html https://www.codenameone.com/manual/advanced-topics.html#_libraries_cn1lib Best Regards Kandy El miércoles, 28 de agosto de 2019, 15:06:03 (UTC+2), Gareth Murfin escribió: > > 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 > - -- > d- 28/08/2019 14:03impl > -a 27/08/2019 20:462264815 CLDC11.jar > -a 27/08/2019 21:46 50396 CN1Bluethooth.cn1lib > -a 14/08/2017 10:44 30533 CN1JSON.cn1lib > -a 27/08/2019 21:196256001 CodenameOne.jar > -a 27/08/2019 21:19 1036 CodenameOne_SRC.zip > > > > On Wednesday, August 28, 2019 at 1:49:26 PM UTC+1, Kandy Bitxenio wrote: >> >> 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 group 0 Jul 3 20:47 . >> drwxrwxrwx 1 user group 0 Jul 3 20:47 .. >> -rw-rw-rw- 1 user group 12380 Jul 3 20:47 >> AnimatedGifSupport.cn1lib >> -rw-rw-rw- 1 user group 10 Jul 3 20:47 >> AnimatedGifSupport.ver >> -rw-rw-rw- 1 user group 2264815 Jul 3 20:47 CLDC11.jar >> -rw-rw-rw- 1 user group 46807 Jul 3 20:47 CN1Bluetooth.cn1lib >> -rw-rw-rw- 1 user group 10 Jul 3 20:47 CN1Bluetooth.ver >> -rw-rw-rw- 1 user group 30564 Jul 3 20:47 CN1JSON.cn1lib >> -rw-rw-rw- 1 user group 10 Jul 3 20:47 CN1JSON.ver >> -rw-rw-rw- 1 user group 6129031 Jul 8 12:36 CodenameOne.jar >> -rw-rw-rw- 1 user group10695991 Jul 8 12:36 CodenameOne_SRC.zip >> drwxrwxrwx 1 user group 0 Jul 3 20:47 impl >> >> >> >> Best Regards Kandy >> >> El miércoles, 28 de agosto de 2019, 14:32:17 (UTC+2), Gareth Murfin >> escribió: >>> >>> 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 (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 (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 codenameone-discussions+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/28059ec0-8818-4b88-9c23-b12260924431%40googlegroups.com.
[codenameone-discussions] Re: NoSuchMethodError No Direct Method
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 - -- d- 28/08/2019 14:03impl -a 27/08/2019 20:462264815 CLDC11.jar -a 27/08/2019 21:46 50396 CN1Bluethooth.cn1lib -a 14/08/2017 10:44 30533 CN1JSON.cn1lib -a 27/08/2019 21:196256001 CodenameOne.jar -a 27/08/2019 21:19 1036 CodenameOne_SRC.zip On Wednesday, August 28, 2019 at 1:49:26 PM UTC+1, Kandy Bitxenio wrote: > > 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 group 0 Jul 3 20:47 . > drwxrwxrwx 1 user group 0 Jul 3 20:47 .. > -rw-rw-rw- 1 user group 12380 Jul 3 20:47 > AnimatedGifSupport.cn1lib > -rw-rw-rw- 1 user group 10 Jul 3 20:47 > AnimatedGifSupport.ver > -rw-rw-rw- 1 user group 2264815 Jul 3 20:47 CLDC11.jar > -rw-rw-rw- 1 user group 46807 Jul 3 20:47 CN1Bluetooth.cn1lib > -rw-rw-rw- 1 user group 10 Jul 3 20:47 CN1Bluetooth.ver > -rw-rw-rw- 1 user group 30564 Jul 3 20:47 CN1JSON.cn1lib > -rw-rw-rw- 1 user group 10 Jul 3 20:47 CN1JSON.ver > -rw-rw-rw- 1 user group 6129031 Jul 8 12:36 CodenameOne.jar > -rw-rw-rw- 1 user group10695991 Jul 8 12:36 CodenameOne_SRC.zip > drwxrwxrwx 1 user group 0 Jul 3 20:47 impl > > > > Best Regards Kandy > > El miércoles, 28 de agosto de 2019, 14:32:17 (UTC+2), Gareth Murfin > escribió: >> >> 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 >>> (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 >>> (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 codenameone-discussions+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/f145faf7-fa26-4e82-a72b-93505d702048%40googlegroups.com.
[codenameone-discussions] Re: NoSuchMethodError No Direct Method
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 group 0 Jul 3 20:47 . drwxrwxrwx 1 user group 0 Jul 3 20:47 .. -rw-rw-rw- 1 user group 12380 Jul 3 20:47 AnimatedGifSupport.cn1lib -rw-rw-rw- 1 user group 10 Jul 3 20:47 AnimatedGifSupport.ver -rw-rw-rw- 1 user group 2264815 Jul 3 20:47 CLDC11.jar -rw-rw-rw- 1 user group 46807 Jul 3 20:47 CN1Bluetooth.cn1lib -rw-rw-rw- 1 user group 10 Jul 3 20:47 CN1Bluetooth.ver -rw-rw-rw- 1 user group 30564 Jul 3 20:47 CN1JSON.cn1lib -rw-rw-rw- 1 user group 10 Jul 3 20:47 CN1JSON.ver -rw-rw-rw- 1 user group 6129031 Jul 8 12:36 CodenameOne.jar -rw-rw-rw- 1 user group10695991 Jul 8 12:36 CodenameOne_SRC.zip drwxrwxrwx 1 user group 0 Jul 3 20:47 impl Best Regards Kandy El miércoles, 28 de agosto de 2019, 14:32:17 (UTC+2), Gareth Murfin escribió: > > 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 >> (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 >> (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 codenameone-discussions+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/9cf8b31f-7c56-48a0-8803-5c85837dcba5%40googlegroups.com.
[codenameone-discussions] Re: NoSuchMethodError No Direct Method
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 > (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 > (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 codenameone-discussions+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/46f62dc9-bcaa-4ebf-a109-0a491f26ae0b%40googlegroups.com.
[codenameone-discussions] Re: NoSuchMethodError No Direct Method
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 'ca.weblite.codename1.json.JSONObject' appears in /data/app/com.pippa.hobmonitor-i555BGum4BjW27o1gIXtCQ==/base.apk) W/System.err: java.lang.NoSuchMethodError: No direct method (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 codenameone-discussions+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/17a67f47-af0f-4e53-befc-07c78541bde8%40googlegroups.com.
[codenameone-discussions] Re: NoSuchMethodError No Direct Method
oh I forgot to delete the folder in the libs dir, I think that was why, all good now. 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 codenameone-discussions+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/4326a151-c494-4698-ba25-282b7ad86f14%40googlegroups.com.
[codenameone-discussions] Re: NoSuchMethodError No Direct Method
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 codenameone-discussions+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/549b88e6-ab19-4490-a186-30621b1e34e5%40googlegroups.com.