Log in or register to post comments

Package name changes

October 8, 2013 - 10:39am #1

I downloaded the ImageTargets sample app and changed the name with my app name. Then i changed the package name with my package name com.sample.cloud. But in all Activity screen the package name is displaying package com.qualcomm.QCARSamples.CloudRecognition; Is i need to change to package com.sample.cloud?  In manifest file package name changed like this: package="com.samplecloud.cloud".

Package name changes

October 9, 2013 - 10:16am #3

I changed package name for com.samplecloud.cloud . But in my Activity still displays the "package com.qualcomm.QCARSamples.CloudRecognition" s . Is i need to change this line to com.samplecloud.cloud? But i changed the package already in manifest file and right click rename change package name.

Package name changes

October 9, 2013 - 12:13am #2

in case you renamed the Java package and/or class names, you might get an UnsatisfiedLinkError due to the fact that you did not rename the C++ native functions accordingly; for instance, if your package name is:

com.my.company.ImageTargets (instead of com.qualcomm.QCARSamples.ImageTargets);

and your main Java class is called:

com.my.company.ImageTargets.ImageTargets  (instead of com.qualcomm.QCARSamples.ImageTargets.ImageTargets),

then the native functions will have to be renamed like in this example:


must be renamed to:


Then, as usual, remember to run ndk-build again and refresh the Java project in Eclipse.

Log in or register to post comments