--- a/tiledb/sm/misc/constants.h
+++ b/tiledb/sm/misc/constants.h
@@ -567,7 +567,11 @@
 
 #ifdef __linux__
 /** List of possible certificates files for libcurl */
+#ifndef __ANDROID__
 extern const std::array<std::string, 6> cert_files_linux;
+#else
+extern const std::array<std::string, 1> cert_files_linux;
+#endif
 #endif
 
 /** Delimiter for lists passed as config parameter */
