Created
January 7, 2016 13:54
-
-
Save klokan/a4cc3520d77563cc62ae to your computer and use it in GitHub Desktop.
MapBox GL Cordova on PhoneGap Build (iOS / Android / Windows) cli-5.2.0 (3.9.1 / 4.1.1 / 3.8.1)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Build Date: 2016-01-06 23:55:09 +0000 | |
| -------------------------------------------------------------------------------- | |
| PLUGIN OUTPUT | |
| -------------------------------------------------------------------------------- | |
| Fetching plugin "cordova-plugin-whitelist@1" via npm | |
| Installing "cordova-plugin-whitelist" for android | |
| This plugin is only applicable for versions of cordova-android greater than 4.0. If you have a previous platform version, you do *not* need this plugin since the whitelist will be built in. | |
| Fetching plugin "cordova-plugin-mapbox@1" via npm | |
| Installing "cordova-plugin-mapbox" for android | |
| -------------------------------------------------------------------------------- | |
| COMPILE OUTPUT | |
| -------------------------------------------------------------------------------- | |
| Executing: ant debug -f /project/build.xml | |
| Buildfile: /project/build.xml | |
| Buildfile: /project/build.xml | |
| -set-mode-check: | |
| -set-debug-files: | |
| -check-env: | |
| [checkenv] Android SDK Tools Revision 24.4.1 | |
| -setup: | |
| [echo] Project Name: .OSM_Vector_Offline | |
| -check-env: | |
| [checkenv] Android SDK Tools Revision 24.4.1 | |
| -setup: | |
| [echo] Project Name: .OSM_Vector_Offline | |
| [gettype] Project Type: Application | |
| -set-debug-mode: | |
| -debug-obfuscation-check: | |
| -pre-build: | |
| -build-setup: | |
| [gettype] Project Type: Application | |
| -pre-clean: | |
| clean: | |
| [getbuildtools] Using latest Build Tools: 23.0.1 | |
| [echo] Resolving Build Target for .OSM_Vector_Offline... | |
| [getlibpath] Library dependencies: | |
| [getlibpath] | |
| [getlibpath] ------------------ | |
| [getlibpath] Ordered libraries: | |
| nodeps: | |
| -check-env: | |
| [checkenv] Android SDK Tools Revision 24.4.1 | |
| -setup: | |
| [echo] Project Name: .OSM_Vector_Offline | |
| [gettype] Project Type: Android Library | |
| -pre-clean: | |
| clean: | |
| [gettarget] Project Target: Android 5.1.1 | |
| [gettarget] API level: 22 | |
| BUILD SUCCESSFUL | |
| Total time: 1 second | |
| [echo] ---------- | |
| [echo] Creating output directories if needed... | |
| [mkdir] Created dir: /project/bin | |
| [mkdir] Created dir: /project/bin/res | |
| [mkdir] Created dir: /project/bin/rsObj | |
| [mkdir] Created dir: /project/bin/rsLibs | |
| [mkdir] Created dir: /project/gen | |
| [mkdir] Created dir: /project/bin/classes | |
| [mkdir] Created dir: /project/bin/dexedLibs | |
| [echo] ---------- | |
| [echo] Resolving Dependencies for .OSM_Vector_Offline... | |
| [dependency] Library dependencies: | |
| [dependency] | |
| [dependency] ------------------ | |
| [dependency] Ordered libraries: | |
| [dependency] | |
| [dependency] ------------------ | |
| [echo] ---------- | |
| [echo] Building Libraries with 'debug'... | |
| nodeps: | |
| -set-mode-check: | |
| -set-debug-files: | |
| -check-env: | |
| [checkenv] Android SDK Tools Revision 24.4.1 | |
| -setup: | |
| [echo] Project Name: .OSM_Vector_Offline | |
| [gettype] Project Type: Android Library | |
| -set-debug-mode: | |
| -debug-obfuscation-check: | |
| -pre-build: | |
| -build-setup: | |
| [getbuildtools] Using latest Build Tools: 23.0.1 | |
| [echo] Resolving Build Target for .OSM_Vector_Offline... | |
| [gettarget] Project Target: Android 5.1.1 | |
| [gettarget] API level: 22 | |
| [echo] ---------- | |
| [echo] Creating output directories if needed... | |
| [mkdir] Created dir: /project/CordovaLib/res | |
| [mkdir] Created dir: /project/CordovaLib/libs | |
| [mkdir] Created dir: /project/CordovaLib/bin | |
| [mkdir] Created dir: /project/CordovaLib/bin/res | |
| [mkdir] Created dir: /project/CordovaLib/bin/rsObj | |
| [mkdir] Created dir: /project/CordovaLib/bin/rsLibs | |
| [mkdir] Created dir: /project/CordovaLib/gen | |
| [mkdir] Created dir: /project/CordovaLib/bin/classes | |
| [mkdir] Created dir: /project/CordovaLib/bin/dexedLibs | |
| [echo] ---------- | |
| [echo] Resolving Dependencies for .OSM_Vector_Offline... | |
| [dependency] Library dependencies: | |
| [dependency] No Libraries | |
| [dependency] | |
| [dependency] ------------------ | |
| -code-gen: | |
| [mergemanifest] Merging AndroidManifest files into one. | |
| [mergemanifest] Manifest merger disabled. Using project manifest only. | |
| [echo] Handling aidl files... | |
| [aidl] No AIDL files to compile. | |
| [echo] ---------- | |
| [echo] Handling RenderScript files... | |
| [echo] ---------- | |
| [echo] Handling Resources... | |
| [aapt] Generating resource IDs... | |
| [echo] ---------- | |
| [echo] Handling BuildConfig class... | |
| [buildconfig] Generating BuildConfig class. | |
| -pre-compile: | |
| -compile: | |
| [javac] Compiling 36 source files to /project/CordovaLib/bin/classes | |
| [javac] Note: Some input files use or override a deprecated API. | |
| [javac] Note: Recompile with -Xlint:deprecation for details. | |
| [echo] Creating library output jar file... | |
| [jar] Building jar: /project/CordovaLib/bin/classes.jar | |
| -post-compile: | |
| -obfuscate: | |
| -dex: | |
| [echo] Library project: do not convert bytecode... | |
| -crunch: | |
| [crunch] Crunching PNG Files in source dir: /project/CordovaLib/res | |
| [crunch] To destination dir: /project/CordovaLib/bin/res | |
| [crunch] Crunched 0 PNG files to update cache | |
| -package-resources: | |
| [echo] Library project: do not package resources... | |
| -package: | |
| [echo] Library project: do not package apk... | |
| -post-package: | |
| -do-debug: | |
| [echo] Library project: do not create apk... | |
| [propertyfile] Creating new property file: /project/CordovaLib/bin/build.prop | |
| [propertyfile] Updating property file: /project/CordovaLib/bin/build.prop | |
| [propertyfile] Updating property file: /project/CordovaLib/bin/build.prop | |
| [propertyfile] Updating property file: /project/CordovaLib/bin/build.prop | |
| -post-build: | |
| debug: | |
| -code-gen: | |
| [mergemanifest] Merging AndroidManifest files into one. | |
| [mergemanifest] Manifest merger disabled. Using project manifest only. | |
| [echo] Handling aidl files... | |
| [aidl] No AIDL files to compile. | |
| [echo] ---------- | |
| [echo] Handling RenderScript files... | |
| [echo] ---------- | |
| [echo] Handling Resources... | |
| [aapt] Generating resource IDs... | |
| [echo] ---------- | |
| [echo] Handling BuildConfig class... | |
| [buildconfig] Generating BuildConfig class. | |
| -pre-compile: | |
| -compile: | |
| [javac] Compiling 5 source files to /project/bin/classes | |
| [javac] /project/src/com/telerik/plugins/mapbox/Mapbox.java:7: error: package android.support.v4.app does not exist | |
| [javac] import android.support.v4.app.ActivityCompat; | |
| [javac] ^ | |
| [javac] /project/src/com/telerik/plugins/mapbox/Mapbox.java:8: error: package android.support.v4.content does not exist | |
| [javac] import android.support.v4.content.ContextCompat; | |
| [javac] ^ | |
| [javac] /project/src/com/telerik/plugins/mapbox/Mapbox.java:13: error: package com.mapbox.mapboxsdk.constants does not exist | |
| [javac] import com.mapbox.mapboxsdk.constants.Style; | |
| [javac] ^ | |
| [javac] /project/src/com/telerik/plugins/mapbox/Mapbox.java:14: error: package com.mapbox.mapboxsdk.annotations does not exist | |
| [javac] import com.mapbox.mapboxsdk.annotations.Marker; | |
| [javac] ^ | |
| [javac] /project/src/com/telerik/plugins/mapbox/Mapbox.java:15: error: package com.mapbox.mapboxsdk.annotations does not exist | |
| [javac] import com.mapbox.mapboxsdk.annotations.MarkerOptions; | |
| [javac] ^ | |
| [javac] /project/src/com/telerik/plugins/mapbox/Mapbox.java:16: error: package com.mapbox.mapboxsdk.annotations does not exist | |
| [javac] import com.mapbox.mapboxsdk.annotations.PolygonOptions; | |
| [javac] ^ | |
| [javac] /project/src/com/telerik/plugins/mapbox/Mapbox.java:17: error: package com.mapbox.mapboxsdk.geometry does not exist | |
| [javac] import com.mapbox.mapboxsdk.geometry.LatLng; | |
| [javac] ^ | |
| [javac] /project/src/com/telerik/plugins/mapbox/Mapbox.java:18: error: package com.mapbox.mapboxsdk.geometry does not exist | |
| [javac] import com.mapbox.mapboxsdk.geometry.LatLngZoom; | |
| [javac] ^ | |
| [javac] /project/src/com/telerik/plugins/mapbox/Mapbox.java:19: error: package com.mapbox.mapboxsdk.views does not exist | |
| [javac] import com.mapbox.mapboxsdk.views.MapView; | |
| [javac] ^ | |
| [javac] /project/src/com/telerik/plugins/mapbox/Mapbox.java:59: error: cannot find symbol | |
| [javac] public static MapView mapView; | |
| [javac] ^ | |
| [javac] symbol: class MapView | |
| [javac] location: class Mapbox | |
| [javac] /project/src/com/telerik/plugins/mapbox/Mapbox.java:317: error: package MapView does not exist | |
| [javac] private class MarkerClickListener implements MapView.OnInfoWindowClickListener { | |
| [javac] ^ | |
| [javac] /project/src/com/telerik/plugins/mapbox/Mapbox.java:320: error: cannot find symbol | |
| [javac] public boolean onMarkerClick(Marker marker) { | |
| [javac] ^ | |
| [javac] symbol: class Marker | |
| [javac] location: class Mapbox.MarkerClickListener | |
| [javac] /project/src/com/telerik/plugins/mapbox/Mapbox.java:111: error: cannot find symbol | |
| [javac] mapView = new MapView(webView.getContext(), accessToken); | |
| [javac] ^ | |
| [javac] symbol: class MapView | |
| [javac] /project/src/com/telerik/plugins/mapbox/Mapbox.java:139: error: cannot find symbol | |
| [javac] mapView.setCenterCoordinate(new LatLngZoom(lat, lng, zoomLevel)); | |
| [javac] ^ | |
| [javac] symbol: class LatLngZoom | |
| [javac] /project/src/com/telerik/plugins/mapbox/Mapbox.java:219: error: cannot find symbol | |
| [javac] final LatLng center = mapView.getCenterCoordinate(); | |
| [javac] ^ | |
| [javac] symbol: class LatLng | |
| [javac] /project/src/com/telerik/plugins/mapbox/Mapbox.java:238: error: cannot find symbol | |
| [javac] mapView.setCenterCoordinate(new LatLng(lat, lng), animated); | |
| [javac] ^ | |
| [javac] symbol: class LatLng | |
| [javac] /project/src/com/telerik/plugins/mapbox/Mapbox.java:252: error: cannot find symbol | |
| [javac] final PolygonOptions polygon = new PolygonOptions(); | |
| [javac] ^ | |
| [javac] symbol: class PolygonOptions | |
| [javac] /project/src/com/telerik/plugins/mapbox/Mapbox.java:252: error: cannot find symbol | |
| [javac] final PolygonOptions polygon = new PolygonOptions(); | |
| [javac] ^ | |
| [javac] symbol: class PolygonOptions | |
| [javac] /project/src/com/telerik/plugins/mapbox/Mapbox.java:259: error: cannot find symbol | |
| [javac] polygon.add(new LatLng(lat, lng)); | |
| [javac] ^ | |
| [javac] symbol: class LatLng | |
| [javac] /project/src/com/telerik/plugins/mapbox/Mapbox.java:309: error: cannot find symbol | |
| [javac] final MarkerOptions mo = new MarkerOptions(); | |
| [javac] ^ | |
| [javac] symbol: class MarkerOptions | |
| [javac] location: class Mapbox | |
| [javac] /project/src/com/telerik/plugins/mapbox/Mapbox.java:309: error: cannot find symbol | |
| [javac] final MarkerOptions mo = new MarkerOptions(); | |
| [javac] ^ | |
| [javac] symbol: class MarkerOptions | |
| [javac] location: class Mapbox | |
| [javac] /project/src/com/telerik/plugins/mapbox/Mapbox.java:312: error: cannot find symbol | |
| [javac] mo.position(new LatLng(marker.getDouble("lat"), marker.getDouble("lng"))); | |
| [javac] ^ | |
| [javac] symbol: class LatLng | |
| [javac] location: class Mapbox | |
| [javac] /project/src/com/telerik/plugins/mapbox/Mapbox.java:319: error: method does not override or implement a method from a supertype | |
| [javac] @Override | |
| [javac] ^ | |
| [javac] /project/src/com/telerik/plugins/mapbox/Mapbox.java:350: error: cannot find symbol | |
| [javac] return Style.LIGHT; | |
| [javac] ^ | |
| [javac] symbol: variable Style | |
| [javac] location: class Mapbox | |
| [javac] /project/src/com/telerik/plugins/mapbox/Mapbox.java:352: error: cannot find symbol | |
| [javac] return Style.DARK; | |
| [javac] ^ | |
| [javac] symbol: variable Style | |
| [javac] location: class Mapbox | |
| [javac] /project/src/com/telerik/plugins/mapbox/Mapbox.java:354: error: cannot find symbol | |
| [javac] return Style.EMERALD; | |
| [javac] ^ | |
| [javac] symbol: variable Style | |
| [javac] location: class Mapbox | |
| [javac] /project/src/com/telerik/plugins/mapbox/Mapbox.java:356: error: cannot find symbol | |
| [javac] return Style.SATELLITE; | |
| [javac] ^ | |
| [javac] symbol: variable Style | |
| [javac] location: class Mapbox | |
| [javac] /project/src/com/telerik/plugins/mapbox/Mapbox.java:358: error: cannot find symbol | |
| [javac] return Style.MAPBOX_STREETS; | |
| [javac] ^ | |
| [javac] symbol: variable Style | |
| [javac] location: class Mapbox | |
| [javac] /project/src/com/telerik/plugins/mapbox/Mapbox.java:369: error: cannot find symbol | |
| [javac] if (PackageManager.PERMISSION_GRANTED != ContextCompat.checkSelfPermission(this.cordova.getActivity(), type)) { | |
| [javac] ^ | |
| [javac] symbol: variable ContextCompat | |
| [javac] location: class Mapbox | |
| [javac] /project/src/com/telerik/plugins/mapbox/Mapbox.java:386: error: cannot find symbol | |
| [javac] ActivityCompat.requestPermissions( | |
| [javac] ^ | |
| [javac] symbol: variable ActivityCompat | |
| [javac] location: class Mapbox | |
| [javac] 30 errors | |
| BUILD FAILED | |
| /android-sdk/tools/ant/build.xml:716: The following error occurred while executing this line: | |
| /android-sdk/tools/ant/build.xml:730: Compile failed; see the compiler error output for details. | |
| Total time: 5 seconds | |
| /project/cordova/node_modules/q/q.js:126 | |
| throw e; | |
| ^ | |
| Error code 1 for command: ant with args: debug,-f,/project/build.xml |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment