Lately there have incurred so many Android related questions that I thought it would be reasonable to open a dedicated discussion thread for this topic.
So please use this thread for Android discussions in order to relieve the other threads from debates that don't belong there. Thanks.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Yeap, Android thread is quite reasonable. 1.1.4 works fine, so thank you.
And I have a new question now. I can't compile my app due to some ProGuard exception that says something related to this library. I assume, that I have to write some rules to proguard-rules.pro file in order to keep java8.* classes from removing during minification my .apk.
Screenshot: http://i.imgur.com/sYbBW8D.png
Last edit: Anonymous 2015-02-11
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hhm, not sure if I can help you here. I don't use ProGuard exactly because of such issues.
I don't see a real ProGuard error in your picture, only warnings that could be suppressed?
It obviously doesn't find sun.misc.Unsafe - a classpath issue. The only half-way reasonable warning is that about j.u.f.Consumer in j8.u.DelegatingSpliterator.
If that turns out to help you, you could delete DelegatingSpliterator completely - it is currently not used. But it shouldn't be necessary. Just tell that crap tool it should leave the j8.util stuff untouched.
Last edit: Stefan Zobel 2015-02-11
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Lately there have incurred so many Android related questions that I thought it would be reasonable to open a dedicated discussion thread for this topic.
So please use this thread for Android discussions in order to relieve the other threads from debates that don't belong there. Thanks.
View and moderate all "General Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Discussion"
Yeap, Android thread is quite reasonable. 1.1.4 works fine, so thank you.
And I have a new question now. I can't compile my app due to some ProGuard exception that says something related to this library. I assume, that I have to write some rules to proguard-rules.pro file in order to keep java8.* classes from removing during minification my .apk.
Screenshot: http://i.imgur.com/sYbBW8D.png
Last edit: Anonymous 2015-02-11
Hhm, not sure if I can help you here. I don't use ProGuard exactly because of such issues.
I don't see a real ProGuard error in your picture, only warnings that could be suppressed?
It obviously doesn't find sun.misc.Unsafe - a classpath issue. The only half-way reasonable warning is that about j.u.f.Consumer in j8.u.DelegatingSpliterator.
If that turns out to help you, you could delete DelegatingSpliterator completely - it is currently not used. But it shouldn't be necessary. Just tell that crap tool it should leave the j8.util stuff untouched.
Last edit: Stefan Zobel 2015-02-11
View and moderate all "General Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Discussion"
Adding this to my proguard configuration resolved the issue:
If anyone has a more efficient solution than discarding all optimizations on streamsupport completely, please share.
Last edit: Anonymous 2015-04-13
Thanks for sharing