My project cannot compile with the latest Gauva library, as it seems to be compiled with Java 1.8, and I am using Java 1.7 in my project.
What version of Guava is compatible with Java 1.7?
All versions of Guava prior to version 20 are compatible with Java 1.7.
From this email address,
Guava 20 (coming out in early 2016) will be the final version of Guava to support Java 6 or even Java 7. For Guava 21 (ideally in mid-2016), Java 8 is required.With version 21, we will also launch a new fork, supposedly called guava-android. It will maintain compatibility with Java 6, allowing it to be used for Android applications that support the minimum version of Gingerbread.
Guava 20 (coming out in early 2016) will be the final version of Guava to support Java 6 or even Java 7. For Guava 21 (ideally in mid-2016), Java 8 is required.
With version 21, we will also launch a new fork, supposedly called guava-android. It will maintain compatibility with Java 6, allowing it to be used for Android applications that support the minimum version of Gingerbread.
Versions 12.0 through 20.0 are "compatible with Java 1.7".
From ReleaseHistory google / guava Wiki :
Release 21.0 requires JDK 1.8 or later.Releases from 12.0 to 20.0 require JDK 1.6 or later.For releases 1.0 through 11.0, JDK 1.5 or later is required.
Source: https://habr.com/ru/post/1245184/More articles:ADT 23 do not like NDK11 - eclipseHow can I create custom HTML section classes using AsciiDoctor? - asciidocMaterialize css icons not showing in Safari browser - htmlThe golang "go get" command shows "go: missing Git command" error - goYahoo Finance API returns data yesterday before market closes - yahooAngular2 recursive components - angularAngular2 Recursive patterns in javascript - javascriptGoogle signs signed apk not working - javaLogin to Google does not work after publishing in the game store with two keys sha1 - androidThe method has the wrong signature - android-studioAll Articles