Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个已经存在的 android 项目,现在我想将此项目用作我的另一个项目的库项目。
我怎样才能做到这一点?
假设您已在同一个工作区中导入了两个项目,
右键单击你的新项目 -> 属性 -> Android -> 库 -> 选择现有项目作为新项目的库
此外,对于现有项目:
右键单击现有项目 -> 属性 -> Android -> 选中“是库”复选框以使项目可用作库