AndroidAndroid Directions API ArrayIndexOutOfBoundsException 我正在使用Google Directions API。一切正常,直到将TravelMode设置为BICYCLING。所有其他模式都将起作用,直到设置了此属性。 我得到的错误是:onFailure: java.lang.ArrayIndexOutOfBoundsException: length=0; index=0 为什么会出现此错误? 这是代码: ……继续阅读 »