Hello all,
I'm trying to recompile Anywhere Software BlePeripheral2.java into a new test library, please note that I've not changed anything in original BlePeripheral2.java file but I'm getting an error whilst compiling.
Below is the file that I'm trying to compile, I've not changed anything. I've just downloaded the file from Anywhere Software Github page and placed it into src\anywheresoftware\b4a\objects folder.
[/URL]
Below is the error message that I'm seeing with absolutely changes to the original code.
I've been trying to get BlePeripheral2.java to compile into a library for days, but to no avail. With very little actual java coding experience I'm finding it impossible to fix the error message and compile. I personally DO NOT code in java, so any help would be seriously appreciated.
Thank you.
Peter...
I'm trying to recompile Anywhere Software BlePeripheral2.java into a new test library, please note that I've not changed anything in original BlePeripheral2.java file but I'm getting an error whilst compiling.
Below is the file that I'm trying to compile, I've not changed anything. I've just downloaded the file from Anywhere Software Github page and placed it into src\anywheresoftware\b4a\objects folder.
B4A/Libs_BLE2Peripheral/src/anywheresoftware/b4a/objects/BlePeripheral2.java at master · AnywhereSoftware/B4A
B4A core libraries. Contribute to AnywhereSoftware/B4A development by creating an account on GitHub.
github.com
Below is the error message that I'm seeing with absolutely changes to the original code.
Starting step: Compiling Java code.
javac 1.8.0_381
C:\Users\peter\Desktop\Test P2\src\anywheresoftware\b4a\objects\BlePeripheral2.java:76: error: cannot find symbol
public void Initialize(BA ba, String EventName, BleManager2 Ble) {
^
symbol: class BleManager2
location: class BlePeripheral2
Note: C:\Users\peter\Desktop\Test P2\src\anywheresoftware\b4a\objects\BlePeripheral2.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
1 error
Error.
I've been trying to get BlePeripheral2.java to compile into a library for days, but to no avail. With very little actual java coding experience I'm finding it impossible to fix the error message and compile. I personally DO NOT code in java, so any help would be seriously appreciated.
Thank you.
Peter...
Last edited: