加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 编程开发 > Java > 正文

java – 如何将两个android工作室项目合并为一个[复制]

发布时间:2020-12-15 02:18:29 所属栏目:Java 来源:网络整理
导读:参见英文答案 How to create jar for Android Library Project????????????????????????????????????8个 我有一个用于消息传递的sinch项目和我自己的聊天项目,我想为我的应用程序集成两个项目.请帮帮我.我没有得到满意的答案.我在询问SINCH MESSAGING CHAT.
参见英文答案 > How to create jar for Android Library Project????????????????????????????????????8个
我有一个用于消息传递的sinch项目和我自己的聊天项目,我想为我的应用程序集成两个项目.请帮帮我.我没有得到满意的答案.我在询问SINCH MESSAGING CHAT.
提前致谢.

解决方法

从 Combine android projects together起

The answer depends on what you intend to do with the projects.

If you wish to merge the project into a single app,at least one of
them should be set as an android library,and another project should
use it . This way,the merged projects would be able to recognize
each other .

If you wish to have 2 apps and not a single app,each activity that you wish to access from another activity should have a special definition in the manifest (using intent filter) of how to open it,as it’s not the default behavior .

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读