Is there any way to compile libuv with Android NDK?

Now we are developing some functions using c / C ++ for the android client.

So, we will use the Android NDK-r8 to compile our code.

We use libuv also in our code.

Unfortunately, the Android NDK cannot execute libuv correctly. All conditions starting with 'pthread_'cannot must be recognized.

Anyone have an idea or a hint? Many thanks.

+5
source share
1 answer

Android support is not yet in mainline libuv, but I know at least two sets of patches to fix this:

( , ), , Android.

+2

All Articles