crownstone / bluenet-example-android

An android project providing a simple example of how to use the blunet library for android
1 stars 0 forks source link

Errors with the bluenet-example!! #2

Open zorbaskyriakos opened 7 years ago

zorbaskyriakos commented 7 years ago

Hello i would like to test the bluenet-example-android because recently i bought some crownstones!! I followed exactly the steps to import it to android studio but unfortunately when i am going to Generate the Signed apk for testing the app with my smartphone it gives me the following errors!! I did something wrong?Thanks for the help!!

Information:Gradle tasks [:app:assembleDebug, :bluenet:assembleDebug] C:\Users\Kyriakos\Desktop\bluenet-example-android\app\src\main\java\nl\dobots\bluenetexample\ControlActivity.java Error:(22, 44) error: cannot find symbol class IStatusCallback Error:(68, 23) error: cannot find symbol class IStatusCallback Error:(119, 42) error: cannot find symbol class IStatusCallback Error:(154, 43) error: cannot find symbol class IStatusCallback Error:(236, 38) error: cannot find symbol class IStatusCallback Error:(297, 40) error: cannot find symbol class IStatusCallback Error:(369, 11) error: cannot find symbol class IStatusCallback Error:(406, 31) error: cannot find symbol class IStatusCallback Error:(425, 30) error: cannot find symbol class IStatusCallback C:\Users\Kyriakos\Desktop\bluenet-example-android\app\src\main\java\nl\dobots\bluenetexample\MainActivity.java Error:(19, 44) error: cannot find symbol class IStatusCallback Error:(68, 23) error: cannot find symbol class IStatusCallback Error:(163, 46) error: cannot find symbol class IStatusCallback Error:(210, 21) error: cannot find symbol class IStatusCallback Error:(228, 55) error: <anonymous nl.dobots.bluenetexample.MainActivity$4> is not abstract and does not override abstract method onSuccess() in IStatusCallback Error:(228, 29) error: incompatible types: void cannot be converted to boolean C:\Users\Kyriakos\Desktop\bluenet-example-android\app\src\main\java\nl\dobots\bluenetexample\MainActivityService.java Error:(24, 44) error: cannot find symbol class IStatusCallback Error:(30, 43) error: cannot find symbol class EventListener Error:(57, 84) error: cannot find symbol class EventListener Error:(342, 22) error: cannot find symbol class Event Error:(113, 54) error: incompatible types: MainActivityService cannot be converted to EventListener Error:(215, 62) error: cannot find symbol class IStatusCallback Error:(341, 2) error: method does not override or implement a method from a supertype Error:(346, 9) error: cannot find symbol variable BLUETOOTH_INITIALIZED Error:(350, 9) error: cannot find symbol variable BLUETOOTH_TURNED_OFF Error:(354, 9) error: cannot find symbol variable BLE_PERMISSIONS_MISSING Error:(370, 9) error: cannot find symbol class IStatusCallback Error:Execution failed for task ':app:compileDebugJavaWithJavac'.

Compilation failed; see the compiler error output for details. Information:BUILD FAILED Information:Total time: 24.762 secs Information:27 errors Information:0 warnings Information:See complete output in console

vliedel commented 7 years ago

Hey, sorry, we haven't updated this example for quite some time. Have a look at the dev app instead.

zorbaskyriakos commented 7 years ago

Ok thank you very much !! 👍