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

Issue with gradle sync and dependencies #12

Open
thakareabhi opened this issue Dec 9, 2020 · 3 comments
Open

Issue with gradle sync and dependencies #12

thakareabhi opened this issue Dec 9, 2020 · 3 comments

Comments

@thakareabhi
Copy link

"Gradle's dependency cache may be corrupt" I tried to re-download the dependencies but that didn't help

@Mquinn960
Copy link
Owner

@thakareabhi
Copy link
Author

thakareabhi commented Dec 10, 2020

The Gradle sync worked but a new issue came up
Facing issue

error: cannot find symbol
InputStream is = getResources().openRawResource(R.raw.trained);
^
symbol: variable raw
location: class R

I tried with some available suggestions on StackOverflow
https://stackoverflow.com/questions/47809317/android-studio-errorcannot-find-symbol-variable-raw
but they didn't work
Could you please help me with this

@Mquinn960
Copy link
Owner

Hello,

It sounds like you don't have a "trained.xml" available to the app - this is the pre-trained SVM model which will allow for detection of hand gestures.

This file is generated using my offline-trainer repository - have you followed my guide on how to do this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants