Managed workflow eas build is failing with the following errors:
I’m on eas-cli 0.47
expo-location version 14.0.2
expo version 44.0.6
Not sure what to do…
[stderr] /home/expo/workingdir/build/expo/tablet/node_modules/react-native-location/android/src/main/java/com/github/reactnativecommunity/location/Utils.java:5: error: package android.support.annotation does not exist
[stderr] import android.support.annotation.Nullable;
[stderr] ^
[stderr] /home/expo/workingdir/build/expo/tablet/node_modules/react-native-location/android/src/main/java/com/github/reactnativecommunity/location/RNPlayServicesLocationProvider.java:9: error: package android.support.annotation does not exist
[stderr] import android.support.annotation.NonNull;
[stderr] ^
[stderr] /home/expo/workingdir/build/expo/tablet/node_modules/react-native-location/android/src/main/java/com/github/reactnativecommunity/location/RNPlayServicesLocationProvider.java:10: error: cannot find symbol
[stderr] import android.support.v4.app.ActivityCompat;
[stderr] ^
[stderr] symbol: class ActivityCompat
[stderr] location: package android.support.v4.app
[stderr] /home/expo/workingdir/build/expo/tablet/node_modules/react-native-location/android/src/main/java/com/github/reactnativecommunity/location/Utils.java:21: error: cannot find symbol
[stderr] public static void emitEvent(ReactApplicationContext context, String eventName, @Nullable Object params) {
[stderr] ^
[stderr] symbol: class Nullable
[stderr] location: class com.github.reactnativecommunity.location.Utils
[stderr] /home/expo/workingdir/build/expo/tablet/node_modules/react-native-location/android/src/main/java/com/github/reactnativecommunity/location/RNPlayServicesLocationProvider.java:163: error: cannot find symbol
[stderr] public void onFailure(@NonNull Exception e) {
[stderr] ^
[stderr] symbol: class NonNull
[stderr] /home/expo/workingdir/build/expo/tablet/node_modules/react-native-location/android/src/main/java/com/github/reactnativecommunity/location/RNPlayServicesLocationProvider.java:227: error: cannot find symbol
[stderr] int finePermission = ActivityCompat.checkSelfPermission(context, Manifest.permission.ACCESS_FINE_LOCATION);
[stderr] ^
[stderr] symbol: variable ActivityCompat
[stderr] location: class com.github.reactnativecommunity.location.RNPlayServicesLocationProvider
[stderr] /home/expo/workingdir/build/expo/tablet/node_modules/react-native-location/android/src/main/java/com/github/reactnativecommunity/location/RNPlayServicesLocationProvider.java:228: error: cannot find symbol
[stderr] int coarsePermission = ActivityCompat.checkSelfPermission(context, Manifest.permission.ACCESS_COARSE_LOCATION);
[stderr] ^
[stderr] symbol: variable ActivityCompat
[stderr] location: class com.github.reactnativecommunity.location.RNPlayServicesLocationProvider
[stderr] Note: /home/expo/workingdir/build/expo/tablet/node_modules/react-native-location/android/src/main/java/com/github/reactnativecommunity/location/RNStandardLocationProvider.java uses or overrides a deprecated API.
[stderr] Note: Recompile with -Xlint:deprecation for details.
[stderr] 7 errors
[stderr] FAILURE: Build failed with an exception.
[stderr] * What went wrong:
[stderr] Execution failed for task ':react-native-location:compileReleaseJavaWithJavac'.
[stderr] > Compilation failed; see the compiler error output for details.
[stderr] * Try:
[stderr] Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
[stderr] * Get more help at https://help.gradle.org