简体   繁体   中英

How to merge source code from 2 project Android

Very sorry if my questions are stupid. After searching, I get the source code of 2 open source projects. Somewhat difficult to describe, but it is an assistant app instead of google assistant. A project is similar to the framework for the assistant, and the other project that receives information from the assistant to search. I want to put two projects into one and export a single apk. It's hard to get started, so please help me.

You can import your old project in the new as a module. See the following instructions.

  1. Find your old project folder by right-clicking on the project name in the "Package Explorer" -> Properties -> "Location".
  2. Open your new project, go to File -> New -> Import Module, browse "Location" path and choose your project.
  3. Go to Project structure -> Dependencies tab and then add that module as a dependency.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM