我已经在 Mac 上成功构建了适用于 android 的 Linphone 项目,并且在 Android Studio 中运行良好。现在我想重命名包
org.linphone
至
com.my.package.name
在自述文件中给出
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"
我遵循前 2 步,但不了解第 3 步。如果我尝试从 Android Studio 更改包名称,那么它会给我很多错误,例如找不到 R 文件等。谁能告诉我在 Android Studio 中重命名 Linphone 包名称的正确方法。
OR
使用 Linephone SDK 是个好主意吗?我还创建了 linphone.jar(带有 armeabi-v7a 和 x86)并放在其他项目的 lib 文件夹中,但不知道如何使用这些 lib。在现有项目中。