Issue with gradle sync and dependencies
thakareabhi opened this issue · comments
"Gradle's dependency cache may be corrupt" I tried to re-download the dependencies but that didn't help
Try updating your gradle plugin https://stackoverflow.com/questions/38442901/gradles-dependency-cache-may-be-corrupt-this-sometimes-occurs-after-a-network
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
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?