小编Raf*_*lva的帖子

Google Maps SDK 错误在最后一小时开始出现

:com.google.android.gms.dynamite_mapsdynamite@201216046@20.12.16 (040306-0) line 9
com.google.maps.api.android.lib6.gmm6.vector.ct.<init>
Run Code Online (Sandbox Code Playgroud)

此错误开始发生在随机设备上。有没有人有同样的问题?

我没有发布任何内容,也没有改变应用程序的任何内容。

我的地图片段 XML:

<fragment
android:id="@+id/map_stops" 
android:name="com.google.android.gms.maps.SupportMapFragment" android:layout_width="match_parent" 
android:layout_height="match_parent" tools:context="com.comprovei.entregas.fragments.TabTripsMapFragment" />
Run Code Online (Sandbox Code Playgroud)

片段代码:

public class TabTripsMapFragment extends Fragment implements OnMapReadyCallback {

    @Override
    public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {

        View view = inflater.inflate(R.layout.tab_fragment_stops_map, null, false);

        ChildFragmentManager()
                .findFragmentById(R.id.map_stops);
        mapFragment.getMapAsync(this);

        return view;
    }

    @Override
    public void onMapReady(final GoogleMap googleMap) {

        ...

    }

}
Run Code Online (Sandbox Code Playgroud)

编辑*:我正在尝试在 Twitter 上跟进:https : //twitter.com/googlemaps/status/1253419390046834691

编辑: 这里的最终回应: https : //issuetracker.google.com/issues/154855417#comment509

android google-maps

92
推荐指数
3
解决办法
6202
查看次数

标签 统计

android ×1

google-maps ×1