Forums - Could not find SNPE-release during build

4 posts / 0 new
Last post
Could not find SNPE-release during build
harhoang
Join Date: 20 Jul 17
Posts: 14
Posted: Wed, 2017-08-02 15:58
Hi Folks - could someone help support, not sure how to resolve snpe-release
 
Information:Gradle tasks [:app:generateDebugSources, :app:generateDebugAndroidTestSources, :app:mockableAndroidJar, :app:prepareDebugUnitTestDependencies, :app:compileDebugSources, :app:compileDebugAndroidTestSources, :app:compileDebugUnitTestSources]
Error:A problem occurred configuring project ':app'.
> Could not resolve all dependencies for configuration ':app:_debugApkCopy'.
   > Could not find :snpe-release:.
     Required by:
         image-classifiers:app:unspecified
Information:BUILD FAILED
Information:Total time: 1.326 secs
Information:1 error
  • Up0
  • Down0
moljaca moderator
Join Date: 25 Jul 17
Location: San Diego
Posts: 40
Posted: Fri, 2017-08-04 19:31

Hi,

Could you please provide some details about your setup and how you got to the above error? If you are building https://developer.qualcomm.com/software/snapdragon-neural-processing-eng... tutorial, did all steps in System Requirements and Setup the SDK complete successfuly?

Thanks.

  • Up0
  • Down0
harhoang
Join Date: 20 Jul 17
Posts: 14
Posted: Tue, 2017-08-08 16:29

Hi I redid all the steps and most of it is good now.

 

One thing that isn't working is the python benchmarks tool - in python performing import snpe isn't working:

 

>>> import snpe
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named snpe
 
 
Would you know what environment vars are needed to be set for Python
 
br,
Harold
  • Up0
  • Down0
daecheol.you
Join Date: 13 Sep 17
Posts: 1
Posted: Mon, 2017-09-25 21:46

Check whether the PYTHONPATH variable is set properly. (It should contain $SNPE_ROOT/lib/python)

If not, run the bin/envsetup.sh script as explained in SDK documents.

  • Up0
  • Down0
or Register

Opinions expressed in the content posted here are the personal opinions of the original authors, and do not necessarily reflect those of Qualcomm Incorporated or its subsidiaries (“Qualcomm”). The content is provided for informational purposes only and is not meant to be an endorsement or representation by Qualcomm or any other party. This site may also provide links or references to non-Qualcomm sites and resources. Qualcomm makes no representations, warranties, or other commitments whatsoever about any non-Qualcomm sites or third-party resources that may be referenced, accessible from, or linked to this site.