Error: Class kotlin.reflect.jvm.internal.FunctionCaller$FieldSetter

前端 未结 3 1054
感情败类
感情败类 2021-02-03 13:25

I\'ve tried everything to get rid of this error but it keeps coming back.

Class kotlin.reflect.jvm.internal.FunctionCaller$FieldSetter can not access a member of         


        
相关标签:
3条回答
  • Faced this issue but I've changed in build.gradle in project

    classpath 'com.android.tools.build:gradle:3.4.0-alpha01'
    

    with this latest

    classpath 'com.android.tools.build:gradle:3.3.0-rc02'
    

    happy coding

    0 讨论(0)
  • 2021-02-03 13:59

    Facing same issue. I resolve this error by doing this:

    Earlier in my build.gradle (Project : appname)

    classpath 'com.android.tools.build:gradle:3.3.0-alpha12'
    

    I use 3.2.0 instead of 3.3.0-alpha12

    classpath 'com.android.tools.build:gradle:3.2.0'
    

    Try this

    Happy coding :)

    0 讨论(0)
  • 2021-02-03 14:00

    A few days ago I tried this and the problem hasn't come back ever since:


    Delete all the files in .Gradle

    Execute Build > Clean Project

    File > Invalidate Caches / Restart...

    (After restart) Sync Project with Gradle Files


    All of this steps must be done without making anything in between otherwise somehow will not work.

    0 讨论(0)
提交回复
热议问题