I published the service using ArcGIS server and can load it successfully with JS API.
var layerss = new FeatureLayer({
url: "https://hbsyb.booway.com.cn/arcgis/rest/services/zjsxyd/sichuanxianjixingzhengqu/MapServer/0",
outFields : ["*"],
opacity : 0.5
});
map.add(layerss);
When I want to load it with Android Runtime SdK 100.15.0(FeatureLayer) it doesn't work.
final ServiceFeatureTable serviceFeatureTable = new ServiceFeatureTable("https://hbsyb.booway.com.cn/arcgis/rest/services/zjsxyd/sichuanxianjixingzhengqu/MapServer/0");
final FeatureLayer featureLayer = new FeatureLayer(serviceFeatureTable);
featureLayer.setSelectionColor(Color.BLUE);
featureLayer.setSelectionWidth(10);
map.getOperationalLayers().add(featureLayer);