F FrankBerra Active Member Licensed User Longtime User Apr 1, 2017 #1 I am using B4A because i am not a skilled programmer and because it is relatively simple to develop applications with, but now i am facing a tedious problem. In my application i am using a library that has been abandoned by the author. The library worked perfectly for a lot of time but now i discovered that the library has unwanted behaviour in some circumstances. For trying to patch the library i decompiled it and i found where is the problem. Now i want to change the library code for my needs and then recompile it again with Simple Library Compiler (https://www.b4x.com/android/forum/t...ompiler-build-libraries-without-eclipse.29918) When i recompile it i get some errors: - First i get the error Code: Copy error: package Build does not exist /* 55 */ int currentapiVersion = Build.VERSION.SDK_INT; If i remove import android.os.Build.VERSION; from the source code i get another error: Code: Copy Starting step: Compiling Java code. javac 1.8.0_121 javac: directory not found: bin\classes Usage: javac <options> <source files> use -help for a list of possible options Error. Maybe there are some misconfigurations of the compiler...how can i fix them?
I am using B4A because i am not a skilled programmer and because it is relatively simple to develop applications with, but now i am facing a tedious problem. In my application i am using a library that has been abandoned by the author. The library worked perfectly for a lot of time but now i discovered that the library has unwanted behaviour in some circumstances. For trying to patch the library i decompiled it and i found where is the problem. Now i want to change the library code for my needs and then recompile it again with Simple Library Compiler (https://www.b4x.com/android/forum/t...ompiler-build-libraries-without-eclipse.29918) When i recompile it i get some errors: - First i get the error Code: Copy error: package Build does not exist /* 55 */ int currentapiVersion = Build.VERSION.SDK_INT; If i remove import android.os.Build.VERSION; from the source code i get another error: Code: Copy Starting step: Compiling Java code. javac 1.8.0_121 javac: directory not found: bin\classes Usage: javac <options> <source files> use -help for a list of possible options Error. Maybe there are some misconfigurations of the compiler...how can i fix them?
Erel B4X founder Staff member Licensed User Longtime User Apr 2, 2017 #2 It is problematic to help you unless the library author gives permission to decompile his code. Upvote 0
F FrankBerra Active Member Licensed User Longtime User Apr 2, 2017 #3 I think i am just too much tired. :-/ After searching workarounds and solutions i took a look to the original post of the library and i discovered that the author published the source codes (https://www.b4x.com/android/forum/threads/simple-wifi-library.38601) And now i solved the compilation problems Upvote 0
I think i am just too much tired. :-/ After searching workarounds and solutions i took a look to the original post of the library and i discovered that the author published the source codes (https://www.b4x.com/android/forum/threads/simple-wifi-library.38601) And now i solved the compilation problems
DonManfred Expert Licensed User Longtime User Apr 2, 2017 #4 The Library is now maintained by another user. See here: https://www.b4x.com/android/forum/threads/simple-wifi-library-updated-v-3-02-03-07-2017.76233/ Upvote 0
The Library is now maintained by another user. See here: https://www.b4x.com/android/forum/threads/simple-wifi-library-updated-v-3-02-03-07-2017.76233/