Cannot use lambda functions in Android with Java 1.8

前端 未结 3 1556
情书的邮戳
情书的邮戳 2021-01-02 21:40

The library I\'m using is bychan, I can\'t even include it in a Nougat empty app project either loaded as module or through jar.

So this is an examp

3条回答
  •  攒了一身酷
    2021-01-02 22:38

    I would not suggest to use java 8. It is not supported nowadays. But, even, it will: remember, that each devices has got its own java machine that will not update. I mean, if you wanna be sure your app works properly setup your project as java 6. Old devices this never support up-to-date JMV

    Read this discussion too

    Which JDK version (Language Level) is required for Android Studio?

提交回复
热议问题