Eugene
Eugene

Reputation: 60184

How to keep project libraries withint the project structure?

I'm using ActionBarSherlock project as a Library in my project. I want to keep it in version control system but I can't store it within project's folder structure for some reason. I tried to move Library's folder to my_project/libs/ folder but then things just do not compile. Does it mean it is prohibited to keep "Projects as Libraries" within your project folder? If it is not - how to make things work?

Upvotes: 0

Views: 223

Answers (2)

Ahmad
Ahmad

Reputation: 72553

Did I understood you correctly, you want the ABS Lib to be in your Libs folder inside your project?

Why? For that you would have to rename all the packagenames of the ABS project and the manifest. I'm not even sure if this will even work. If ABS would be a .jar file it would be easy. But an Android project inside an other project... I would't reccommend you doing this.

Upvotes: 0

Benito Bertoli
Benito Bertoli

Reputation: 25793

Instead of trying to put ABS inside your project, you could put both projects inside a parent directory.

Here's an example.

Notice how the ABS library project is in gi/libprojects/abs and the android app project is in git/android.

Upvotes: 1

Related Questions