Android Question Recompile Library

FrankBerra

Active Member
Licensed User
Longtime User
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
B4X:
 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:
B4X:
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?
 

DonManfred

Expert
Licensed User
Longtime User
Upvote 0
Top