Deprecated Gradle features were used in this build, making it incompatible with Gradle 5.0

后端 未结 14 740
暖寄归人
暖寄归人 2020-11-28 07:33

I\'ve got a gradle FAILURE:

...\"Deprecated Gradle features were used in this build, making it incompatible with Gradle 5.0.\"

Case descrip

14条回答
  •  孤城傲影
    2020-11-28 07:49

    I was getting this error. Turns out it only happened when I completely cleaned the RN caches (quite elaborate process) and then created a release build.

    If I cleaned the caches, created a debug build and then a release build, everything worked. Bit worrying but works.

    Note: My clean command is...

    rm -r android/build ; rm -r android/app/src/release/res ; rm -r android/app/build/intermediates ; watchman watch-del-all ; rm -rf $TMPDIR/react-* ; npm start -- --reset-cache

提交回复
热议问题