gradle settings: com.google.android.gms.internal.zzbgl not found

后端 未结 3 1299
广开言路
广开言路 2021-01-16 17:34

I have read similar Q/A here and here about this problem. All solution was to use latest plugins. The question is outdated and I need new configuration using latest versions

3条回答
  •  南方客
    南方客 (楼主)
    2021-01-16 17:59

    you need to exclude these classes from Proguard obfuscation:

    #-dontnote com.google.android.gms.internal.**
    -keep,includedescriptorclasses class com.google.android.gms.** { *; }
    -keep,includedescriptorclasses class com.google.android.gms.internal.** { *; }
    -keep class com.google.android.gms.internal.** {com.google.android.gms.internal.** initialize(android.content.Context);}
    

提交回复
热议问题