Douglas Farias Expert Licensed User Longtime User Nov 3, 2016 #1 I want to compile a piece of code that uses the JSONObject and JSONException classes. If i leave the import like this: "import org.json.JSONObject;", the compiler does not accept it. How do i handle that anyway? Thanks Attachments json.jpg 392.3 KB · Views: 446
I want to compile a piece of code that uses the JSONObject and JSONException classes. If i leave the import like this: "import org.json.JSONObject;", the compiler does not accept it. How do i handle that anyway? Thanks
Erel B4X founder Staff member Licensed User Longtime User Nov 3, 2016 #2 You need to put json.jar in the libs folder. https://www.b4x.com/android/forum/t...uild-libraries-without-eclipse.29918/#content
You need to put json.jar in the libs folder. https://www.b4x.com/android/forum/t...uild-libraries-without-eclipse.29918/#content