When using wx.loadFontFace to load fonts, it works fine in the development tool and on iOS devices, but always triggers the fail callback on Android devices, with no reason except {“status”: “error”}.

The solution:

The request domain for WeChat Mini Program is servicewechat.com, which requires CORS support.
Alternatively, add cross-origin support for font files in your Nginx configuration:

// nginx
location ~* \.(eot|ttf|woff|woff2|svg)$ {
add_header Access-Control-Allow-Origin *;
}