小编che*_*han的帖子

HERE地图Android集成,MISSING_LIBRARIES错误

我按照步骤 https://developer.here.com/mobile-sdks/documentation/android/topics/app-simple-android-studio.html

但我得到的错误是:无法初始化Map Fragment MISSING_LIBRARIES

映射init代码:

mapFragment.init(new OnEngineInitListener() {
            @Override
            public void onEngineInitializationCompleted(OnEngineInitListener.Error error) {
                if (error == OnEngineInitListener.Error.NONE) {
                    // retrieve a reference of the map from the map fragment
                    map = mapFragment.getMap();
                    // Set the map center to the Vancouver region (no animation)
                    map.setCenter(new GeoCoordinate(49.196261, -123.004773, 0.0),
                            Map.Animation.NONE);
                    // Set the zoom level to the average between min and max
                    map.setZoomLevel(
                            (map.getMaxZoomLevel() + map.getMinZoomLevel()) / 2);
                } else {
                    System.out.println("ERROR: Cannot initialize Map Fragment " + error.toString());
                    Toast.makeText(MainActivity.this, …
Run Code Online (Sandbox Code Playgroud)

android here-api

4
推荐指数
1
解决办法
1439
查看次数

标签 统计

android ×1

here-api ×1