Google Contacts Sync has stopped - Synchronisation problems with Google contacts I installed Android miui 9. When i want to start google contacts and syncronate it get the message "google contacts sync has stopped

Here's the logcat:

java.lang.RuntimeException: Unable to get provider com.google.android.syncadapters.contacts.ProxyGalProvider: java.lang.ClassNotFoundException: Didn't find class "com.google.android.syncadapters.contacts.ProxyGalProvider" on path: DexPathList[[zip file "/data/app/com.google.android.syncadapters.contacts-1/base.apk"],nativeLibraryDirectories=[/data/app/com.google.android.syncadapters.contacts-1/lib/arm64, /vendor/lib64, /system/lib64]]
    at android.app.ActivityThread.installProvider(ActivityThread.java:5286)
    at android.app.ActivityThread.installContentProviders(ActivityThread.java:4820)
    at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4760)
    at android.app.ActivityThread.access$1700(ActivityThread.java:154)
    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1442)
    at android.os.Handler.dispatchMessage(Handler.java:102)
    at android.os.Looper.loop(Looper.java:157)
    at android.app.ActivityThread.main(ActivityThread.java:5555)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:745)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:635)
Caused by: java.lang.ClassNotFoundException: Didn't find class "com.google.android.syncadapters.contacts.ProxyGalProvider" on path: DexPathList[[zip file "/data/app/com.google.android.syncadapters.contacts-1/base.apk"],nativeLibraryDirectories=[/data/app/com.google.android.syncadapters.contacts-1/lib/arm64, /vendor/lib64, /system/lib64]]
    at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:511)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:469)
    at android.app.ActivityThread.installProvider(ActivityThread.java:5271)
    ... 10 more
    Suppressed: java.io.IOException: Failed to open dex files from /data/app/com.google.android.syncadapters.contacts-1/base.apk
        at dalvik.system.DexFile.openDexFileNative(Native Method)
        at dalvik.system.DexFile.openDexFile(DexFile.java:295)
        at dalvik.system.DexFile.&lt;init&gt;(DexFile.java:80)
        at dalvik.system.DexFile.&lt;init&gt;(DexFile.java:59)
        at dalvik.system.DexPathList.loadDexFile(DexPathList.java:279)
        at dalvik.system.DexPathList.makePathElements(DexPathList.java:248)
        at dalvik.system.DexPathList.&lt;init&gt;(DexPathList.java:120)
        at dalvik.system.BaseDexClassLoader.&lt;init&gt;(BaseDexClassLoader.java:48)
        at dalvik.system.PathClassLoader.&lt;init&gt;(PathClassLoader.java:65)
        at android.app.ApplicationLoaders.getClassLoader(ApplicationLoaders.java:57)
        at android.app.LoadedApk.getClassLoader(LoadedApk.java:378)
        at android.app.LoadedApk.makeApplication(LoadedApk.java:572)
        at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4752)
        ... 8 more
    Suppressed: java.lang.ClassNotFoundException: com.google.android.syncadapters.contacts.ProxyGalProvider
        at java.lang.Class.classForName(Native Method)
        at java.lang.BootClassLoader.findClass(ClassLoader.java:781)
        at java.lang.BootClassLoader.loadClass(ClassLoader.java:841)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:504)
        ... 12 more
    Caused by: java.lang.NoClassDefFoundError: Class not found using the boot class loader; no stack trace available


What is wrong and what can I do?
You can use this Contacts sync fix app from playstore..
It might help you 
this app is free. No obligation to pay.
Download the app from here - Contacts sync fix