Peter
Peter

Reputation: 11920

How to get specific libraries from Android Open Source Project?

For my Android app, I need the source code for uuidlib that I would like to build as a static library and link with my native code. Another post Include uuid.h into Android NDK project mentions that the source code is available in AOSP at external/e2fsprogs/lib/uuid/ directory.

I followed the instruction on AOSP page and did a "repo init" and a "repo sync." The synchronization is still going on for the past one hour.

I am wondering if there is a better way to obtain the source code for just the library I need and not download the entire 10G of repository on my machine.

If not, what do I need to do to get uuid after "repo sync" finishes? Regards.

Upvotes: 0

Views: 515

Answers (1)

CommonsWare
CommonsWare

Reputation: 1007444

I am wondering if there is a better way to obtain the source code for just the library I need and not download the entire 10G of repository on my machine.

Per the repository instructions:

git clone https://android.googlesource.com/platform/external/e2fsprogs

Upvotes: 1

Related Questions