--- a/deps/libuv/src/unix/core.c
+++ b/deps/libuv/src/unix/core.c
@@ -1125,7 +1125,7 @@
 
   /* No temp environment variables defined */
   #if defined(__ANDROID__)
-    buf = "/data/local/tmp";
+    buf = "@TERMUX_PREFIX@/tmp";
   #else
     buf = "/tmp";
   #endif
