New MI8 Google errors. Cant add google account and update/download apps


Sep 9, 2016
I've installed 10.3.2 stable on my Mi8 last week from 10.3.1.
The cleaner app seems to have deleted large chunks of app data (it did something like 18gb instead of the usual 1gb), and now I get download errors for almost all apps when I try to install then via the Play Store.
Also, many apps just seem to crash or not boot at all anymore.
I went into TWRP and installed 10.3.1 again and wiped dalvik/cache, but the problem still persist.
I cannot use any email apps anymore.
Anybody knows how to solve this problem?

I've tried wiping dalvik cache and normal cache in TWRP, still same problem.

I've downloaded and installed the latest Google Play Store and Services with apk.
Still can't download or update apps.
When trying to add a new Google account, it just crashes and put me back to login screen. This is the error it gives:

java.lang.RuntimeException: An error occurred while executing doInBackground()
at android.os.AsyncTask$3.done(Unknown Source:27)
at java.util.concurrent.FutureTask.finishCompletion(
at java.util.concurrent.FutureTask.setException(
at java.util.concurrent.ThreadPoolExecutor.runWorker(
at java.util.concurrent.ThreadPoolExecutor$
Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'int' on a null object reference
at Source:13)
at Source:8)
at Source:1)
at Source:0)
at Source:7)
at Source:2)
at android.os.AsyncTask$ Source:20)
... 3 more
Last edited: