Android JACK compiler error after upgrade to latest support library

后端 未结 1 1809
难免孤独
难免孤独 2021-02-14 04:02

--Android Studio 2.2.3 (Windows 10 64 bit)

--Build Tools version 25

--Android Gradle Plugin Version 2.2.3

After upgr

1条回答
  •  臣服心动
    2021-02-14 04:07

    Based on the error message, it appears that Jack-enabled builds do not handle all cases where you update Gradle build settings. Jack keeps a cache of pre-compiled stuff (preJackPackagedLibraries), and something that you changed caused Jack to not like that pre-compiled material. Ideally, the build system would detect this case and simply re-compile it, but apparently it does not.

    Cleaning the project (Build > Clean Project) hopefully clears up this problem in all cases.

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