android引用外部工程或jar包
16lz
2021-12-04
android引用外部工程或jar包
http://blog.csdn.net/mmvc2010/article/details/6005043
按如下方法设置:
1. 假设要引用的android工程叫LibProject,引入到的工程叫MainProject;
2. 设置LibProject,右键->Properties->Android,将Is library项选中,然后Apply;
3. 设置MainProject,右键->->Properties->Android, 在Library中,点击Add按钮,将LibProject工程加入,Apply即可。
设置完成后,在MainProject工程中能看到LibProject的代码等资源都已经引入进来。
更多相关文章
- Android(安卓)头像上传
- UI组件
- ToggleButton
- Android(安卓)TextView 文字居中
- Android如何设置TextView的行间距、行高
- Android开发环境搭建
- android之android:largeHeap说明
- drawable类型
- android 配置属性