Getting error in Android Studio 2.1 with java 8

前端 未结 5 1983
抹茶落季
抹茶落季 2021-01-07 18:27

Currently I am using java 8 with latest android studio 2.1

Here is my build.gradle file

android {
    compile         


        
5条回答
  •  傲寒
    傲寒 (楼主)
    2021-01-07 19:07

    I had this error too, and what I found was that the error itself was masking another compilation issue. Look at your Console Messages carefully and see if there is something else not compiling. Once I solved the underlying issue with my own code, this error magically disappeared. Hope this helps.

提交回复
热议问题