在Android的多库项目 [英] Multiple Library Projects in Android
问题描述
我们可以用两种库项目在android系统?我想使用 map_lib 和 GOOGLE_PLAY服务-LIB 在我的Android项目。 map_lib 在我的应用程序显示谷歌地图和 GOOGLE_PLAY服务-LIB 获取GPS值来跟踪用户。如果我在我的应用程序都添加了库项目,我的 R.java 文件丢失。我知道我们可以使用 map_lib 这两项任务。但我想seprately使用它。
Can we use two library projects in android? I want to use map_lib and google_play-services-lib in my android project. map_lib for displaying the Google Map in my app and google_play-services-lib for getting GPS values to track the user. If i add both the Library projects in my app, my R.java file is missing. I know we can do both tasks using map_lib. But i want to use it seprately.
请帮助我。先谢谢了。
推荐答案
是的,你当然可以,请确保您已在工作区中导入的项目,将它们添加到构建路径,然后清理项目,并重新启动Eclipse。
Yes you certainly can, make sure you have imported the projects in your workspace and added them to the build path,then clean your project and restart eclipse.
这篇关于在Android的多库项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!