Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Module Not Defined #41

Closed
VinayTShetty opened this issue Jan 2, 2018 · 17 comments
Closed

Module Not Defined #41

VinayTShetty opened this issue Jan 2, 2018 · 17 comments

Comments

@VinayTShetty
Copy link

After importing the zip file,the android studio is showing. Module not defined.

@roshanrajaratnam
Copy link
Member

roshanrajaratnam commented Jan 2, 2018

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.

@VinayTShetty
Copy link
Author

VinayTShetty commented Jan 2, 2018

Hi roshan i have cloned and compiled the file as below you told but its showing different error now.

androidstudio_screenshot
projectextraction_screen_shot

@philips77
Copy link
Member

The Android-BLE-Library project must be cloned into yours DFUupdate folder, and named Android-BLE-Library, without -master.

@philips77
Copy link
Member

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.

@VinayTShetty
Copy link
Author

Can u please send the single zip file which has completed all the above process.thanks in advance.

@roshanrajaratnam
Copy link
Member

roshanrajaratnam commented Jan 2, 2018

@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,

@VinayTShetty
Copy link
Author

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

@VinayTShetty
Copy link
Author

@roshanrajaratnam
I have extracted it outside as u suggested,but its still the same issue.
screenshot1
screenshot2
screenshot3 png

@roshanrajaratnam
Copy link
Member

@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.

@VinayTShetty
Copy link
Author

@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.

@roshanrajaratnam
Copy link
Member

Here you go, it's not that hard. Just open the toolbox project from Android studio and you are good to go.
example.zip

@roshanrajaratnam
Copy link
Member

@VinayTShetty is your issue resolved now?

@philips77
Copy link
Member

Duplicate of #40

@philips77 philips77 marked this as a duplicate of #40 Jan 4, 2018
@VinayTShetty
Copy link
Author

@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.
screenshot1
screenshot2

@philips77
Copy link
Member

On the right-top corner of AS, next to the green Play icon, there is a drop-down. Select 'app', not 'wear'.

@VinayTShetty
Copy link
Author

VinayTShetty commented Jan 5, 2018

@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.
screenshot2

@roshanrajaratnam
Copy link
Member

@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.

philips77 added a commit that referenced this issue Jan 5, 2018
@NordicSemiconductor NordicSemiconductor locked as off-topic and limited conversation to collaborators Jan 6, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants