Hi there,
When I run ionic cordova build android
it gives a lot for error when compiling the cordova plugins. Hopefully you guys can see where the issue is. I’ve everything updated.
:app:compileArm64DebugJavaWithJavac
/Volumes/Projects/mobile/platforms/android/app/src/main/java/com/tenforwardconsulting/cordova/BackgroundGeolocationPlugin.java:563: error: cannot find symbol
@TargetApi(Build.VERSION_CODES.KITKAT)
^
symbol: variable KITKAT
location: class VERSION_CODES
/Volumes/Projects/mobile/platforms/android/app/src/main/java/org/crosswalk/engine/XWalkFileChooser.java:203: error: cannot find symbol
Environment.DIRECTORY_PICTURES);
^
symbol: variable DIRECTORY_PICTURES
location: class Environment
/Volumes/Projects/mobile/platforms/android/app/src/main/java/org/apache/cordova/inappbrowser/InAppBrowser.java:319: error: cannot find symbol
inAppWebView.onPause();
^
symbol: method onPause()
location: variable inAppWebView of type WebView
/Volumes/Projects/mobile/platforms/android/app/src/main/java/org/apache/cordova/inappbrowser/InAppBrowser.java:329: error: cannot find symbol
inAppWebView.onResume();
^
symbol: method onResume()
location: variable inAppWebView of type WebView
/Volumes/Projects/mobile/platforms/android/app/src/main/java/org/apache/cordova/inappbrowser/InAppBrowser.java:374: error: cannot find symbol
if (Build.VERSION.SDK_INT < Build.VERSION_CODES.KITKAT) {
^
symbol: variable KITKAT
location: class VERSION_CODES
/Volumes/Projects/mobile/platforms/android/app/src/main/java/org/apache/cordova/inappbrowser/InAppBrowser.java:378: error: cannot find symbol
inAppWebView.evaluateJavascript(finalScriptToInject, null);
^
symbol: method evaluateJavascript(String,<null>)
location: variable inAppWebView of type WebView
/Volumes/Projects/mobile/platforms/android/app/src/main/java/org/apache/cordova/inappbrowser/InAppBrowser.java:668: error: incompatible types: int cannot be converted to ColorFilter
if (closeButtonColor != "") close.setColorFilter(android.graphics.Color.parseColor(closeButtonColor));
^
/Volumes/Projects/mobile/platforms/android/app/src/main/java/org/apache/cordova/inappbrowser/InAppBrowser.java:672: error: cannot find symbol
close.getAdjustViewBounds();
^
symbol: method getAdjustViewBounds()
location: variable close of type ImageButton
/Volumes/Projects/mobile/platforms/android/app/src/main/java/org/apache/cordova/inappbrowser/InAppBrowser.java:677: error: cannot find symbol
RelativeLayout.LayoutParams closeLayoutParams = new RelativeLayout.LayoutParams(LayoutParams.WRAP_CONTENT, LayoutParams.MATCH_PARENT);
^
symbol: variable MATCH_PARENT
location: class LayoutParams
/Volumes/Projects/mobile/platforms/android/app/src/main/java/org/apache/cordova/inappbrowser/InAppBrowser.java:682: error: cannot find symbol
_close.setBackground(null);
^
symbol: method setBackground(<null>)
location: variable _close of type View
/Volumes/Projects/mobile/platforms/android/app/src/main/java/org/apache/cordova/inappbrowser/InAppBrowser.java:720: error: cannot find symbol
toolbar.setLayoutParams(new RelativeLayout.LayoutParams(LayoutParams.MATCH_PARENT, this.dpToPixels(44)));
^
symbol: variable MATCH_PARENT
location: class LayoutParams
/Volumes/Projects/mobile/platforms/android/app/src/main/java/org/apache/cordova/inappbrowser/InAppBrowser.java:734: error: cannot find symbol
RelativeLayout.LayoutParams backLayoutParams = new RelativeLayout.LayoutParams(LayoutParams.WRAP_CONTENT, LayoutParams.MATCH_PARENT);
^
symbol: variable MATCH_PARENT
location: class LayoutParams
/Volumes/Projects/mobile/platforms/android/app/src/main/java/org/apache/cordova/inappbrowser/InAppBrowser.java:742: error: incompatible types: int cannot be converted to ColorFilter
if (navigationButtonColor != "") back.setColorFilter(android.graphics.Color.parseColor(navigationButtonColor));
^
/Volumes/Projects/mobile/platforms/android/app/src/main/java/org/apache/cordova/inappbrowser/InAppBrowser.java:744: error: cannot find symbol
back.setBackground(null);
^
symbol: method setBackground(<null>)
location: variable back of type ImageButton
/Volumes/Projects/mobile/platforms/android/app/src/main/java/org/apache/cordova/inappbrowser/InAppBrowser.java:751: error: cannot find symbol
back.getAdjustViewBounds();
^
symbol: method getAdjustViewBounds()
location: variable back of type ImageButton
/Volumes/Projects/mobile/platforms/android/app/src/main/java/org/apache/cordova/inappbrowser/InAppBrowser.java:761: error: cannot find symbol
RelativeLayout.LayoutParams forwardLayoutParams = new RelativeLayout.LayoutParams(LayoutParams.WRAP_CONTENT, LayoutParams.MATCH_PARENT);
^
symbol: class FileChooserParams
location: class WebChromeClient
/Volumes/Projects/mobile/platforms/android/app/src/main/java/org/apache/cordova/inappbrowser/InAppBrowser.java:886: error: cannot find symbol
settings.setPluginState(android.webkit.WebSettings.PluginState.ON);
^
symbol: variable PluginState
location: class WebSettings
/Volumes/Projects/mobile/platforms/android/app/src/main/java/org/apache/cordova/inappbrowser/InAppBrowser.java:888: error: cannot find symbol
if(android.os.Build.VERSION.SDK_INT >= android.os.Build.VERSION_CODES.JELLY_BEAN_MR1) {
^
symbol: variable JELLY_BEAN_MR1
location: class VERSION_CODES
/Volumes/Projects/mobile/platforms/android/app/src/main/java/org/apache/cordova/inappbrowser/InAppBrowser.java:889: error: cannot find symbol
settings.setMediaPlaybackRequiresUserGesture(mediaPlaybackRequiresUserGesture);
^
symbol: method setMediaPlaybackRequiresUserGesture(boolean)
location: variable settings of type WebSettings
/Volumes/Projects/mobile/platforms/android/app/src/main/java/org/apache/cordova/inappbrowser/InAppBrowser.java:919: error: cannot find symbol
if (android.os.Build.VERSION.SDK_INT >= android.os.Build.VERSION_CODES.LOLLIPOP) {
^
symbol: variable LOLLIPOP
location: class VERSION_CODES
/Volumes/Projects/mobile/platforms/android/app/src/main/java/org/apache/cordova/inappbrowser/InAppBrowser.java:920: error: cannot find symbol
CookieManager.getInstance().setAcceptThirdPartyCookies(inAppWebView,true);
^
symbol: method setAcceptThirdPartyCookies(WebView,boolean)
location: class CookieManager
/Volumes/Projects/mobile/platforms/android/app/src/main/java/org/apache/cordova/inappbrowser/InAppBrowser.java:956: error: cannot find symbol
lp.width = WindowManager.LayoutParams.MATCH_PARENT;
^
symbol: variable MATCH_PARENT
location: class LayoutParams
/Volumes/Projects/mobile/platforms/android/app/src/main/java/org/apache/cordova/inappbrowser/InAppBrowser.java:957: error: cannot find symbol
lp.height = WindowManager.LayoutParams.MATCH_PARENT;
^
symbol: variable MATCH_PARENT
location: class LayoutParams
/Volumes/Projects/mobile/platforms/android/app/src/main/java/org/apache/cordova/inappbrowser/InAppBrowser.java:1008: error: cannot find symbol
if(Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) {
^
symbol: variable LOLLIPOP
location: class VERSION_CODES
/Volumes/Projects/mobile/platforms/android/app/src/main/java/org/apache/cordova/inappbrowser/InAppBrowser.java:1015: error: cannot find symbol
mUploadCallbackLollipop.onReceiveValue(WebChromeClient.FileChooserParams.parseResult(resultCode, intent));
^
symbol: variable FileChooserParams
location: class WebChromeClient
/Volumes/Projects/mobile/platforms/android/app/src/main/java/org/apache/cordova/inappbrowser/InAppBrowser.java:1160: error: cannot find symbol
if (android.os.Build.VERSION.SDK_INT >= android.os.Build.VERSION_CODES.LOLLIPOP) {
^
symbol: variable LOLLIPOP
location: class VERSION_CODES
/Volumes/Projects/mobile/platforms/android/app/src/main/java/org/apache/cordova/inappbrowser/InAppBrowser.java:1161: error: cannot find symbol
CookieManager.getInstance().flush();
^
symbol: method flush()
location: class CookieManager
/Volumes/Projects/mobile/platforms/android/app/src/main/java/org/apache/cordova/statusbar/StatusBar.java:97: error: cannot find symbol
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT) {
^
symbol: variable KITKAT
location: class VERSION_CODES
/Volumes/Projects/mobile/platforms/android/app/src/main/java/org/apache/cordova/statusbar/StatusBar.java:98: error: cannot find symbol
int uiOptions = window.getDecorView().getSystemUiVisibility();
^
symbol: method getSystemUiVisibility()
location: class View
/Volumes/Projects/mobile/platforms/android/app/src/main/java/org/apache/cordova/statusbar/StatusBar.java:99: error: cannot find symbol
uiOptions &= ~View.SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN;
^
symbol: variable SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN
location: class View
/Volumes/Projects/mobile/platforms/android/app/src/main/java/org/apache/cordova/statusbar/StatusBar.java:100: error: cannot find symbol
uiOptions &= ~View.SYSTEM_UI_FLAG_FULLSCREEN;
^
symbol: variable SYSTEM_UI_FLAG_FULLSCREEN
location: class View
/Volumes/Projects/mobile/platforms/android/app/src/main/java/org/apache/cordova/statusbar/StatusBar.java:102: error: cannot find symbol
window.getDecorView().setSystemUiVisibility(uiOptions);
^
symbol: method setSystemUiVisibility(int)
location: class View
/Volumes/Projects/mobile/platforms/android/app/src/main/java/org/apache/cordova/statusbar/StatusBar.java:119: error: cannot find symbol
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT) {
^
symbol: variable KITKAT
location: class VERSION_CODES
/Volumes/Projects/mobile/platforms/android/app/src/main/java/org/apache/cordova/statusbar/StatusBar.java:120: error: cannot find symbol
int uiOptions = window.getDecorView().getSystemUiVisibility()
^
symbol: method getSystemUiVisibility()
location: class View
/Volumes/Projects/mobile/platforms/android/app/src/main/java/org/apache/cordova/statusbar/StatusBar.java:121: error: cannot find symbol
| View.SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN
^
symbol: variable SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN
location: class View
/Volumes/Projects/mobile/platforms/android/app/src/main/java/org/apache/cordova/statusbar/StatusBar.java:122: error: cannot find symbol
| View.SYSTEM_UI_FLAG_FULLSCREEN;
^
symbol: variable SYSTEM_UI_FLAG_FULLSCREEN
location: class View
/Volumes/Projects/mobile/platforms/android/app/src/main/java/org/apache/cordova/statusbar/StatusBar.java:124: error: cannot find symbol
window.getDecorView().setSystemUiVisibility(uiOptions);
^
symbol: method setSystemUiVisibility(int)
location: class View
/Volumes/Projects/mobile/platforms/android/app/src/main/java/org/apache/cordova/statusbar/StatusBar.java:234: error: cannot find symbol
View.SYSTEM_UI_FLAG_LAYOUT_STABLE
^
symbol: variable SYSTEM_UI_FLAG_LAYOUT_STABLE
location: class View
/Volumes/Projects/mobile/platforms/android/app/src/main/java/org/apache/cordova/statusbar/StatusBar.java:235: error: cannot find symbol
| View.SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN);
^
symbol: variable SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN
location: class View
/Volumes/Projects/mobile/platforms/android/app/src/main/java/org/apache/cordova/statusbar/StatusBar.java:236: error: cannot find symbol
window.setStatusBarColor(Color.TRANSPARENT);
^
symbol: method setStatusBarColor(int)
location: variable window of type Window
/Volumes/Projects/mobile/platforms/android/app/src/main/java/org/apache/cordova/statusbar/StatusBar.java:240: error: cannot find symbol
View.SYSTEM_UI_FLAG_LAYOUT_STABLE
^
symbol: variable SYSTEM_UI_FLAG_LAYOUT_STABLE
location: class View
/Volumes/Projects/mobile/platforms/android/app/src/main/java/org/apache/cordova/statusbar/StatusBar.java:241: error: cannot find symbol
| View.SYSTEM_UI_FLAG_VISIBLE);
^
symbol: variable SYSTEM_UI_FLAG_VISIBLE
location: class View
/Volumes/Projects/mobile/platforms/android/app/src/main/java/org/apache/cordova/statusbar/StatusBar.java:247: error: cannot find symbol
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) {
^
symbol: variable M
location: class VERSION_CODES
/Volumes/Projects/mobile/platforms/android/app/src/main/java/org/apache/cordova/statusbar/StatusBar.java:250: error: cannot find symbol
int uiOptions = decorView.getSystemUiVisibility();
^
symbol: method getSystemUiVisibility()
location: variable decorView of type View
/Volumes/Projects/mobile/platforms/android/app/src/main/java/org/apache/cordova/statusbar/StatusBar.java:263: error: cannot find symbol
decorView.setSystemUiVisibility(uiOptions | View.SYSTEM_UI_FLAG_LIGHT_STATUS_BAR);
^
symbol: variable SYSTEM_UI_FLAG_LIGHT_STATUS_BAR
location: class View
/Volumes/Projects/mobile/platforms/android/app/src/main/java/org/apache/cordova/statusbar/StatusBar.java:268: error: cannot find symbol
decorView.setSystemUiVisibility(uiOptions & ~View.SYSTEM_UI_FLAG_LIGHT_STATUS_BAR);
^
symbol: variable SYSTEM_UI_FLAG_LIGHT_STATUS_BAR
location: class View
/Volumes/Projects/mobile/platforms/android/app/src/main/java/org/apache/cordova/splashscreen/SplashScreen.java:297: error: cannot find symbol
LayoutParams layoutParams = new LinearLayout.LayoutParams(LayoutParams.MATCH_PARENT, LayoutParams.MATCH_PARENT);
^
symbol: variable MATCH_PARENT
location: class LayoutParams
/Volumes/Projects/mobile/platforms/android/app/src/main/java/org/apache/cordova/splashscreen/SplashScreen.java:297: error: cannot find symbol
LayoutParams layoutParams = new LinearLayout.LayoutParams(LayoutParams.MATCH_PARENT, LayoutParams.MATCH_PARENT);
^
symbol: variable MATCH_PARENT
location: class LayoutParams
/Volumes/Projects/mobile/platforms/android/app/src/main/java/org/apache/cordova/splashscreen/SplashScreen.java:371: error: cannot find symbol
if (android.os.Build.VERSION.SDK_INT >= android.os.Build.VERSION_CODES.LOLLIPOP) {
^
symbol: variable LOLLIPOP
location: class VERSION_CODES
/Volumes/Projects/mobile/platforms/android/app/src/main/java/org/apache/cordova/splashscreen/SplashScreen.java:388: error: cannot find symbol
progressBar.setIndeterminateTintList(colorStateList);
^
symbol: method setIndeterminateTintList(ColorStateList)
location: variable progressBar of type ProgressBar
/Volumes/Projects/mobile/platforms/android/app/src/main/java/org/apache/cordova/device/Device.java:132: error: cannot find symbol
String serial = android.os.Build.SERIAL;
^
symbol: variable SERIAL
location: class Build
/Volumes/Projects/mobile/platforms/android/app/src/main/java/org/apache/cordova/globalization/Globalization.java:105: error: cannot find symbol
if (android.os.Build.VERSION.SDK_INT < android.os.Build.VERSION_CODES.GINGERBREAD) {
^
symbol: variable GINGERBREAD
location: class VERSION_CODES
/Volumes/Projects/mobile/platforms/android/app/src/main/java/io/ionic/keyboard/IonicKeyboard.java:89: error: cannot find symbol
display.getSize(size);
^
symbol: method getSize(Point)
location: variable display of type Display
/Volumes/Projects/mobile/platforms/android/app/src/main/java/nl/xservices/plugins/actionsheet/ActionSheet.java:83: error: cannot find symbol
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.HONEYCOMB) {
^
symbol: variable HONEYCOMB
location: class VERSION_CODES
/Volumes/Projects/mobile/platforms/android/app/src/main/java/nl/xservices/plugins/actionsheet/ActionSheet.java:84: error: constructor Builder in class Builder cannot be applied to given types;
builder = new AlertDialog.Builder(cordova.getActivity(), theme);
^
required: Context
found: Activity,int
reason: actual and formal argument lists differ in length
/Volumes/Projects/mobile/platforms/android/app/src/main/java/com/marianhello/bgloc/HttpPostService.java:59: error: cannot find symbol
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT) {
^
symbol: variable KITKAT
location: class VERSION_CODES
/Volumes/Projects/mobile/platforms/android/app/src/main/java/com/marianhello/bgloc/LocationService.java:189: error: cannot find symbol
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN_MR2) {
^
symbol: variable JELLY_BEAN_MR2
location: class VERSION_CODES
/Volumes/Projects/mobile/platforms/android/app/src/main/java/com/marianhello/bgloc/LocationService.java:190: error: cannot find symbol
handlerThread.quitSafely();
^
symbol: method quitSafely()
location: variable handlerThread of type HandlerThread
/Volumes/Projects/mobile/platforms/android/app/src/main/java/com/marianhello/bgloc/LocationService.java:198: error: method does not override or implement a method from a supertype
@Override
^
/Volumes/Projects/mobile/platforms/android/app/src/main/java/com/marianhello/bgloc/LocationService.java:207: error: cannot find symbol
super.onTaskRemoved(rootIntent);
^
symbol: method onTaskRemoved(Intent)
/Volumes/Projects/mobile/platforms/android/app/src/main/java/com/marianhello/bgloc/LocationService.java:421: error: cannot find symbol
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.HONEYCOMB) {
^
symbol: variable HONEYCOMB
location: class VERSION_CODES
/Volumes/Projects/mobile/platforms/android/app/src/main/java/com/marianhello/bgloc/LocationService.java:422: error: cannot find symbol
task.executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR, location);
^
symbol: variable THREAD_POOL_EXECUTOR
location: class AsyncTask
/Volumes/Projects/mobile/platforms/android/app/src/main/java/com/marianhello/bgloc/data/BackgroundLocation.java:55: error: cannot find symbol
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN_MR1) {
^
symbol: variable JELLY_BEAN_MR1
location: class VERSION_CODES
/Volumes/Projects/mobile/platforms/android/app/src/main/java/com/marianhello/bgloc/data/BackgroundLocation.java:56: error: cannot find symbol
elapsedRealtimeNanos = location.getElapsedRealtimeNanos();
^
symbol: method getElapsedRealtimeNanos()
location: variable location of type Location
/Volumes/Projects/mobile/platforms/android/app/src/main/java/com/marianhello/bgloc/data/BackgroundLocation.java:58: error: cannot find symbol
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN_MR2) {
^
symbol: variable JELLY_BEAN_MR2
location: class VERSION_CODES
/Volumes/Projects/mobile/platforms/android/app/src/main/java/com/marianhello/bgloc/data/BackgroundLocation.java:59: error: cannot find symbol
isFromMockProvider = location.isFromMockProvider();
^
symbol: method isFromMockProvider()
location: variable location of type Location
/Volumes/Projects/mobile/platforms/android/app/src/main/java/com/marianhello/bgloc/data/BackgroundLocation.java:567: error: cannot find symbol
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN_MR1) {
^
symbol: variable JELLY_BEAN_MR1
location: class VERSION_CODES
/Volumes/Projects/mobile/platforms/android/app/src/main/java/com/marianhello/bgloc/data/BackgroundLocation.java:568: error: cannot find symbol
l.setElapsedRealtimeNanos(elapsedRealtimeNanos);
^
symbol: method setElapsedRealtimeNanos(long)
location: variable l of type Location
/Volumes/Projects/mobile/platforms/android/app/src/main/java/com/marianhello/bgloc/data/BackgroundLocation.java:592: error: cannot find symbol
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN_MR1) {
^
symbol: variable JELLY_BEAN_MR1
location: class VERSION_CODES
/Volumes/Projects/mobile/platforms/android/app/src/main/java/com/marianhello/bgloc/sync/SyncService.java:60: error: cannot find symbol
settingsBundle.putBoolean(ContentResolver.SYNC_EXTRAS_DO_NOT_RETRY, false);
^
symbol: variable SYNC_EXTRAS_DO_NOT_RETRY
location: class ContentResolver
/Volumes/Projects/mobile/platforms/android/app/src/main/java/com/marianhello/bgloc/sync/SyncAdapter.java:71: error: constructor AbstractThreadedSyncAdapter in class AbstractThreadedSyncAdapter cannot be applied to given types;
super(context, autoInitialize, allowParallelSyncs);
^
required: Context,boolean
found: Context,boolean,boolean
reason: actual and formal argument lists differ in length
/Volumes/Projects/mobile/platforms/android/app/src/main/java/com/marianhello/bgloc/sync/BatchManager.java:70: error: cannot find symbol
db.beginTransactionNonExclusive();
^
symbol: method beginTransactionNonExclusive()
location: variable db of type SQLiteDatabase
/Volumes/Projects/mobile/platforms/android/app/src/main/java/com/marianhello/bgloc/data/sqlite/SQLiteLocationDAO.java:113: error: method queryNumEntries in class DatabaseUtils cannot be applied to given types;
return DatabaseUtils.queryNumEntries(db, LocationEntry.TABLE_NAME, whereClause, whereArgs);
^
required: SQLiteDatabase,String
found: SQLiteDatabase,String,String,String[]
reason: actual and formal argument lists differ in length
/Volumes/Projects/mobile/platforms/android/app/src/main/java/com/marianhello/bgloc/data/sqlite/SQLiteLocationDAO.java:154: error: cannot find symbol
db.beginTransactionNonExclusive();
^
symbol: method beginTransactionNonExclusive()
location: variable db of type SQLiteDatabase
/Volumes/Projects/mobile/platforms/android/app/src/main/java/com/marianhello/bgloc/data/sqlite/SQLiteOpenHelper.java:118: error: cannot find symbol
Log.d(TAG, "Creating db: " + this.getDatabaseName());
^
symbol: method getDatabaseName()
/Volumes/Projects/mobile/platforms/android/app/src/main/java/com/marianhello/bgloc/data/sqlite/SQLiteOpenHelper.java:172: error: method does not override or implement a method from a supertype
@Override
^
/Volumes/Projects/mobile/platforms/android/app/src/main/java/com/tenforwardconsulting/cordova/BackgroundGeolocationPlugin.java:535: error: cannot find symbol
activity.bindService(locationServiceIntent, mConnection, Context.BIND_IMPORTANT);
^
symbol: variable BIND_IMPORTANT
location: class Context
/Volumes/Projects/mobile/platforms/android/app/src/main/java/com/tenforwardconsulting/cordova/BackgroundGeolocationPlugin.java:569: error: cannot find symbol
return getContext().registerReceiver(locationModeChangeReceiver, new IntentFilter(LocationManager.MODE_CHANGED_ACTION));
^
symbol: variable MODE_CHANGED_ACTION
location: class LocationManager
/Volumes/Projects/mobile/platforms/android/app/src/main/java/com/tenforwardconsulting/cordova/BackgroundGeolocationPlugin.java:585: error: cannot find symbol
Intent intent = new Intent(Settings.ACTION_APPLICATION_DETAILS_SETTINGS);
^
symbol: variable ACTION_APPLICATION_DETAILS_SETTINGS
location: class Settings
/Volumes/Projects/mobile/platforms/android/app/src/main/java/com/tenforwardconsulting/cordova/BackgroundGeolocationPlugin.java:598: error: cannot find symbol
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT) {
^
symbol: variable KITKAT
location: class VERSION_CODES
/Volumes/Projects/mobile/platforms/android/app/src/main/java/com/tenforwardconsulting/cordova/BackgroundGeolocationPlugin.java:599: error: cannot find symbol
locationMode = Settings.Secure.getInt(context.getContentResolver(), Settings.Secure.LOCATION_MODE);
^
symbol: variable LOCATION_MODE
location: class Secure
/Volumes/Projects/mobile/platforms/android/app/src/main/java/com/tenforwardconsulting/cordova/BackgroundGeolocationPlugin.java:600: error: cannot find symbol
return locationMode != Settings.Secure.LOCATION_MODE_OFF;
^
symbol: variable LOCATION_MODE_OFF
location: class Secure
/Volumes/Projects/mobile/platforms/android/app/src/main/java/com/tenforwardconsulting/bgloc/DistanceFilterLocationProvider.java:148: error: cannot find symbol
criteria.setHorizontalAccuracy(translateDesiredAccuracy(config.getDesiredAccuracy()));
^
symbol: method setHorizontalAccuracy(Integer)
location: variable criteria of type Criteria
/Volumes/Projects/mobile/platforms/android/app/src/main/java/com/tenforwardconsulting/bgloc/DistanceFilterLocationProvider.java:166: error: cannot find symbol
if (provider != LocationManager.PASSIVE_PROVIDER) {
^
symbol: variable PASSIVE_PROVIDER
location: class LocationManager
/Volumes/Projects/mobile/platforms/android/app/src/main/java/com/tenforwardconsulting/bgloc/DistanceFilterLocationProvider.java:187: error: cannot find symbol
accuracy = Criteria.ACCURACY_LOW;
^
symbol: variable ACCURACY_LOW
location: class Criteria
/Volumes/Projects/mobile/platforms/android/app/src/main/java/com/tenforwardconsulting/bgloc/DistanceFilterLocationProvider.java:190: error: cannot find symbol
accuracy = Criteria.ACCURACY_MEDIUM;
^
symbol: variable ACCURACY_MEDIUM
location: class Criteria
/Volumes/Projects/mobile/platforms/android/app/src/main/java/com/tenforwardconsulting/bgloc/DistanceFilterLocationProvider.java:193: error: cannot find symbol
accuracy = Criteria.ACCURACY_HIGH;
^
symbol: variable ACCURACY_HIGH
location: class Criteria
/Volumes/Projects/mobile/platforms/android/app/src/main/java/com/tenforwardconsulting/bgloc/DistanceFilterLocationProvider.java:196: error: cannot find symbol
accuracy = Criteria.ACCURACY_HIGH;
^
symbol: variable ACCURACY_HIGH
location: class Criteria
/Volumes/Projects/mobile/platforms/android/app/src/main/java/com/tenforwardconsulting/bgloc/DistanceFilterLocationProvider.java:199: error: cannot find symbol
accuracy = Criteria.ACCURACY_MEDIUM;
^
symbol: variable ACCURACY_MEDIUM
location: class Criteria
/Volumes/Projects/mobile/platforms/android/app/src/main/java/com/tenforwardconsulting/bgloc/DistanceFilterLocationProvider.java:463: error: cannot find symbol
criteria.setHorizontalAccuracy(Criteria.ACCURACY_HIGH);
^
symbol: variable ACCURACY_HIGH
location: class Criteria
/Volumes/Projects/mobile/platforms/android/app/src/main/java/com/tenforwardconsulting/bgloc/DistanceFilterLocationProvider.java:467: error: cannot find symbol
locationManager.requestSingleUpdate(criteria, singleUpdatePI);
^