I have successfully build the Linphone project for android on Mac and its working fine in Android Studio. Now I want to rename the package from
org.linphone
to
com.my.package.name
in the README it is given
To create an apk with a different package name
----------------------------------------------
You need to edit the custom_rules.xml file:
1) look for the property named "linphone.package.name" and change it value accordingly
2) also update the values in the AndroidManifest file where the comment <!-- Change package ! --> appears
3) update the path to the sounds in the linphonerc-factory files in the res folders and optionally change default sip account on linphonerc-default
4) run again the Makefile script by calling "make"
I follow the first 2 step, but do not understand the 3rd step. If I try to change the package name from Android Studio then it give me a lot of errors like do not find R file etc. Can anybody tell me the correct way to rename the package name of Linphone in Android Studio.
OR
Is it a good idea to use the Linephone SDK. I also have created the linphone.jar (with armeabi-v7a and x86) and placed in lib folder of other project but do not how to use these lib. in existing project.