Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Non-GMS android build fails on v1.130 #17103

Open
2 of 4 tasks
Eskuero opened this issue Mar 25, 2025 · 0 comments
Open
2 of 4 tasks

Non-GMS android build fails on v1.130 #17103

Eskuero opened this issue Mar 25, 2025 · 0 comments

Comments

@Eskuero
Copy link
Contributor

Eskuero commented Mar 25, 2025

I have searched the existing issues, both open and closed, to make sure this is not a duplicate report.

  • Yes

The bug

With tagged release v1.130 I tried to rebuild the android app. I've been removing the comment on the gms inclusion from without issues until now but with this last version I got this building errors.

Keeping it commented out completes the build without issues.

The OS that Immich Server is running on

Version of Immich Server

Version of Immich Mobile App

Platform with the issue

  • Server
  • Web
  • Mobile

Your docker-compose.yml content

-

Your .env content

-

Reproduction steps

...

Relevant log output

...
> Task :app:minifyReleaseWithR8 FAILED
ERROR: Missing classes detected while running R8. Please add the missing classes or apply additional keep rules that are generated in AndroidApps/immich/mobile/build/app/outputs/mapping/release/missing_rules.txt.
ERROR: R8: Missing class com.google.android.gms.common.GoogleApiAvailability (referenced from: boolean com.baseflow.geolocator.location.GeolocationManager.isGooglePlayServicesAvailable(android.content.Context))
Missing class com.google.android.gms.location.FusedLocationProviderClient (referenced from: com.google.android.gms.location.FusedLocationProviderClient com.baseflow.geolocator.location.FusedLocationClient.fusedLocationProviderClient and 4 other contexts)
Missing class com.google.android.gms.location.LocationCallback (referenced from: com.google.android.gms.location.LocationCallback com.baseflow.geolocator.location.FusedLocationClient.locationCallback and 4 other contexts)
Missing class com.google.android.gms.location.LocationRequest$Builder (referenced from: com.google.android.gms.location.LocationRequest com.baseflow.geolocator.location.FusedLocationClient.buildLocationRequest(com.baseflow.geolocator.location.LocationOptions))
Missing class com.google.android.gms.location.LocationRequest (referenced from: com.google.android.gms.location.LocationRequest com.baseflow.geolocator.location.FusedLocationClient.buildLocationRequest(com.baseflow.geolocator.location.LocationOptions) and 4 other contexts)
Missing class com.google.android.gms.location.LocationServices (referenced from: void com.baseflow.geolocator.location.FusedLocationClient.<init>(android.content.Context, com.baseflow.geolocator.location.LocationOptions) and 2 other contexts)
Missing class com.google.android.gms.location.LocationSettingsRequest$Builder (referenced from: com.google.android.gms.location.LocationSettingsRequest com.baseflow.geolocator.location.FusedLocationClient.buildLocationSettingsRequest(com.google.android.gms.location.LocationRequest) and 1 other context)
Missing class com.google.android.gms.location.LocationSettingsRequest (referenced from: com.google.android.gms.location.LocationSettingsRequest com.baseflow.geolocator.location.FusedLocationClient.buildLocationSettingsRequest(com.google.android.gms.location.LocationRequest) and 2 other contexts)
Missing class com.google.android.gms.location.SettingsClient (referenced from: void com.baseflow.geolocator.location.FusedLocationClient.isLocationServiceEnabled(com.baseflow.geolocator.location.LocationServiceListener) and 1 other context)
Missing class com.google.android.gms.tasks.OnCompleteListener (referenced from: void com.baseflow.geolocator.location.FusedLocationClient.isLocationServiceEnabled(com.baseflow.geolocator.location.LocationServiceListener))
Missing class com.google.android.gms.tasks.OnFailureListener (referenced from: void com.baseflow.geolocator.location.FusedLocationClient.getLastKnownPosition(com.baseflow.geolocator.location.PositionChangedCallback, com.baseflow.geolocator.errors.ErrorCallback) and 1 other context)
Missing class com.google.android.gms.tasks.OnSuccessListener (referenced from: void com.baseflow.geolocator.location.FusedLocationClient.getLastKnownPosition(com.baseflow.geolocator.location.PositionChangedCallback, com.baseflow.geolocator.errors.ErrorCallback) and 1 other context)
Missing class com.google.android.gms.tasks.Task (referenced from: void com.baseflow.geolocator.location.FusedLocationClient.getLastKnownPosition(com.baseflow.geolocator.location.PositionChangedCallback, com.baseflow.geolocator.errors.ErrorCallback) and 4 other contexts)

Additional information

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant