Hello
I am trying to build Qualcomm Neural Network AI android example, image-classifiers, in android studio in Ubuntu18.04.
I get the following error
Cannot resolve symbol 'SNPE'.
Cannot resolve symbol 'NeuralNetwork'
Cannot resolve symbol 'FloatTensor'
...
...
build.gradle
dependencies { implementation(name: 'snpe-release', ext:'aar') testImplementation 'junit:junit:4.13.2' }
Any help or insight would be greatly apprectiated.
Best regards,
Dear customer,
What's SDK version your tested?
I suspect below lines will help you.
https://github.com/mlcommons/mobile_app_open/commit/0dfbe8500bfc5799f06f354297bf35531ff6498b
BR.
Wei
Hi junwei_qiu,
Make sure that you have included the snpe-release.aar properly in your source tree.
As mentioned in SNPE documentation you must need to keep the copy of snpe-release.aar inside the libs folder.
Follow the instruction carefully on the link given below,
https://developer.qualcomm.com/sites/default/files/docs/snpe/android_tut...
Hope this might resolve your problem.
If issue still persist, please let me know with the further error logs.
Regards,
Sahil Bandar