The update seems pretty smooth. See https://github.com/bitcoinj/bitcoinj/pull/1380
Hmmm Gingerbread (API level 10) has updated the Java API from 5 to 6. I seriously doubt anything using the Java 7 API will run there. We had a lot of breakage in bitcoinj because of this incompatibility. But I'll simply try it today. Raising the Android requirement to KitKat would not be too bad either, everything below is inherently insecure anyway (Google still supports KitKat with security patches). On 05/31/2017 01:52 AM, Sean Gilligan wrote: > On 5/30/17 1:17 PM, Andreas Schildbach wrote: >> Do you know on what versions of Android the 22.0-android Guava version >> works? Seems like they use the Java7 API, which seems to imply KitKat+. > > The last line of the README says: > > https://github.com/google/guava/blob/master/README.md > > > "For the Android flavor, our unit tests run on API level 10 (Gingerbread)." > > > The 'Compatibility' page (under 'Older JDKs') says > > For the medium-term future, Guava users who need to target JDK 7 can use > the Android flavor, which has no Android-specific dependencies. At some > point in the future, when Android diverges sufficiently from JDK 7, > Guava may stop providing a JDK 7-compatible flavor, at which time those > users will have to stay with the latest prior version. > > https://github.com/google/guava/wiki/Compatibility > > > -- Sean > >> >> On 05/30/2017 09:42 PM, Sean Gilligan wrote: >>> Guava version 22 sets a new baseline for Guava JDK/Android >>> compatibility. (see https://github.com/google/guava/wiki/Release22) >>> >>> The 'com.google.guava:guava:22.0' requires Java 8, but the >>> 'com.google.guava:guava:22.0-android' is a compatible subset and works >>> on Android. >>> >>> It would be nice to see the bitcoinj dependency updated to a more recent >>> Guava and skipping to 22 would likely be the best long-term strategy. >>> >>> Does anyone have an idea how hard upgrading bitcoinj to Guava 22 would >>> be? Is this something that might make sense for bitcoinj 0.15? >>> >>> -- Sean >>> >>> >>> >>> >>> > > -- > You received this message because you are subscribed to the Google > Groups "bitcoinj" group. > To unsubscribe from this group and stop receiving emails from it, send > an email to [email protected] > <mailto:[email protected]>. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "bitcoinj" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
