invokedynamic requires --min-sdk-version >= 26

后端 未结 5 509
天涯浪人
天涯浪人 2020-12-28 12:08

Today downloaded the studio 3.0 beta 2.0 version, after that tried to open an existing project in it and faced some difficulties, most of them I could solve with the help of

5条回答
  •  不知归路
    2020-12-28 12:56

    I added a library with the compileOptions Java 1.8, and In my main project dont. Fixed adding:

    compileOptions {
        sourceCompatibility JavaVersion.VERSION_1_8
        targetCompatibility JavaVersion.VERSION_1_8
    }
    

提交回复
热议问题