Closed VinayTShetty closed 6 years ago
Hi, I think you are missing the BLE library here, please clone the Android-BLE-Library repository outside the Android-nRF-Toolbox project. The BLE side of things have been moved in to a separate module to make it easier for maintenance. Let us know how it goes.
The Android-BLE-Library project must be cloned into yours DFUupdate folder, and named Android-BLE-Library, without -master.
Btw, it's not a good idea to name folders with a name of a branch (master), as you may check you and branch in your local repository.
Can u please send the single zip file which has completed all the above process.thanks in advance.
@VinayTShetty All you have to do is to just move the extracted Android-Ble-Library folder to "Example 1" folder. This Android-Ble-Library module should be located outside your project folder (This case your project folder seems to be Android-nRF-Toolbox-master). Give this a go and it should work,
Can u please send the single zip file which has completed all the above process as its again showing the same error .thanks in advance. @roshanrajaratnam @philips77
@roshanrajaratnam
I have extracted it outside as u suggested,but its still the same issue.
@VinayTShetty check inside the extracted folder to see if its inside another directory of the same name. I think when you extracted, it went in to a sub folder within the folder. Hopefully this should fix your issue and remember to remove "-master". If you look at the settings.gradle file in the project you should see how the folder should look like.
@roshanrajaratnam Its seriously not helping its getting more confused.I request you to send a single zip folder which has completed all the above process. so that i can compile and run.
Here you go, it's not that hard. Just open the toolbox project from Android studio and you are good to go. example.zip
@VinayTShetty is your issue resolved now?
Duplicate of #40
@roshanrajaratnam
Thank you so much for your effort.
I got to know how to do it.
Am really thank full to you for Sending that Zip file.
But when i open in android studio application its showing Missing Feature Watch.
How to disable that watch feature.
On the right-top corner of AS, next to the green Play icon, there is a drop-down. Select 'app', not 'wear'.
@roshanrajaratnam @philips77 Thank you Both for Guiding me till here. Its Working like a charm, But i have some question below please answer it..
Question 1:-When i click the select Device Button(Screen Shot),the scan is not showing my device.
Question 2:-I need only DFU firware update to be implemented to my XYZ application, i don t require rest of the things which they have implemented like BPM,UART,...etc. Can u please guide me on How to get only DFU firmware update code both java and XML and Manifest.
Question 3:-My main requirement is devloping an application, that updates DFU through cloud.Not by selecting the Zip files.
Is that possible..?
Where i can find any reference for cloud update..?
Can u both guide me on Update of DFU through Cloud.
@VinayTShetty it would be great if you can post these questions on https://devzone.nordicsemi.com/questions/ as the issues created here are solely for supporting issues related to the app it self. We can take it ahead from there.
After importing the zip file,the android studio is showing. Module not defined.