By UsmanKurd
on Wed, 10/17/2012 - 12:08
Hi guys
i am working with sample project of ImageTargets. I want to change the LOCAL_MODULE:= ImageTargets in android .mk file in jni folder but when i change it and build and run it crashes but with this name ,rebuild and run,it works fine. how can i rename the ImageTargets to any other name.
Thank you
LOCAL_MODULE:= ImageTargets
Hi, if you change LOCAL_MODULE value, then you must be aware that the library generated by the build process (ndk-build) will also change its name (check and see under the libs/armeabi folder); for instance, for "ImageTargets" the library generated is called "libImageTargets.so",
LOCAL_MODULE:= ImageTargets
One additional note:
in case your goal is simply to change the name of the App as it appears to the users, it will be sufficient to just go to the /res/values folder of your project, open the strings.xml file with a text editor and change the app_name in this line:
LOCAL_MODULE:= ImageTargets
Thank you AlessandroB
LOCAL_MODULE:= ImageTargets
You're welcome.