Error: cannot find symbol R.raw.trained_mnist_model

i download the android example from

when build the project, there is an error:
\src\main\java\org\deeplearning4j\examples\image_recognition_demo\MainActivity.java:88: error: cannot find symbol
InputStream inputStream = getResources().openRawResource(R.raw.trained_mnist_model);
^
symbol: variable raw

The android examples are currently being reworked because they have issues, just as you are seeing here. I apologize for the inconvenience.

For the most part you should be able to follow the normal examples. If you run into android specific problems, don’t hesitate to ask questions here.