Failed to resolve variable '${animal.sniffer.version}' when migrate to AndroidX

前端 未结 16 1160
轻奢々
轻奢々 2021-01-30 04:36

I\'m using Android Studio 3.2 Beta5 to migrate my project to AndroidX. When I rebuild my app I got these errors:

ERROR: [TA

16条回答
  •  终归单人心
    2021-01-30 05:31

    I fixed it by refreshing the cahche (Instead of invalidating it - which also clears the local history):

    1. in gradle.properties file, comment the line org.gradle.caching=true.
    2. Clean, Rebuild.
    3. in gradle.properties file, un-comment the line org.gradle.caching=true.
    4. Clean, Rebuild.

    Thats it!

提交回复
热议问题