The issue might be due to CORS policy, network restrictions, or incorrect API endpoint access on your Android device. Ensure your server is publicly accessible and not restricted to localhost. Try using your local IP instead of localhost and check firewall settings.