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

前端 未结 16 999
轻奢々
轻奢々 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:18

    The fix is in 4.2.0, use the higher version of google gms jar.

    Try changing:

    classpath 'com.google.gms:google-services:4.0.1'

    by this version:

    classpath 'com.google.gms:google-services:4.2.0'

    Hope this works...

提交回复
热议问题