Android JACK compiler error after upgrade to latest support library

后端 未结 1 1566
闹比i
闹比i 2021-02-14 03:45

--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:21

    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)
提交回复
热议问题