新版本的arcgis for android测面积问题

使用GeometryEngine下的areaGeodetic(Geometry geometry, AreaUnit areaUnit, GeodeticCurveType curveType)来侧面积,底图用的是天地图的资源,下面的是我的写法 AreaUnit areaUnit=new AreaUnit(AreaUnitId.SQUARE_METERS);
double area = GeometryEngine.areaGeodetic(polygon, areaUnit,GeodeticCu rveType.LOXODROME); 但是总是报出无效参数的错误。。。求指点!

http://blog.csdn.net/bit_kaki/article/details/53067603