-
Notifications
You must be signed in to change notification settings - Fork 120
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
Revert support for java 1.7 or figure a way to use java 8 features while maintaining compatibility for Android before N #832
Comments
From your java8-support link:
so you are required to use the following in your build.gradle:
This issue is not actionable for us, java8 is the way forward. |
@freszu FYI https://github.com/mapbox/mapbox-java/issues/12041 brought Java8 back in gl-native as well |
Haven't seen this was updated back to 1.8 in 12041. No one had a chance to cause him any issues there yet most likely though. Anyway for me that seems to fix the issue as the app started to compile back again thanks for fast response. |
WHat kind of issue is this?
Bug Report
This issue was already brought up here : mapbox/mapbox-gl-native#11392 and solution was going back to 1.7, this is most likely the PR that caused this issue: #770
Expected Behavior
Everything compiles while supporting lowest android sdk supported by mapbox: 14.
Current Behavior
App won't compile unless i target Android N
Possible Solution
https://developer.android.com/studio/write/java8-support
it might be that unless library is provided as AAR those do not apply - so maybe it would make sense to provide this part of mapbox also as aar dependency for android. I am not sure if that would solve the problem though - someone would need to confirm.
Context (Environment)
Build Tools: com.android.tools.build:gradle:3.1.2
MinSdk: 21
mapBoxServicesVersion = '3.2.0'
The text was updated successfully, but these errors were encountered: