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

后端 未结 5 504
天涯浪人
天涯浪人 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:49

    I had the same errors(SimException) that you encountered. I had 3 modules in android clean architecture project:

    • data(android library)
    • domain(plain java module)
    • presentation(app - all android stuff)

    solution

    navigate to File/Project Structure...

    make sure your modules has the same Source and Target Compatibility (1.8 in this case)

提交回复
热议问题