[Xiaomi Redmi Note 4 [Snapdragon] ROMs, Kernels, Re] harigat:
Getting Android System has stopped error on installing .apk files

I just installed ColtOS 6.4 (16 Sep 2020) version.

When I try to install any APK from any Files app, it crashes and I get this error: "Android System has stopped". I have tried to flash the ROM zip again but this issue is still present.

Here is the crash log:

time: 1600509681169
msg: android.content.res.Resources$NotFoundException: Resource ID #0x106002f
stacktrace: java.lang.RuntimeException: An error occurred while executing doInBackground()
at android.os.AsyncTask$4.done(AsyncTask.java:399)
at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:383)
at java.util.concurrent.FutureTask.setException(FutureTask.java:252)
at java.util.concurrent.FutureTask.run(FutureTask.java:271)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:289)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
at java.lang.Thread.run(Thread.java:919)
Caused by: android.content.res.Resources$NotFoundException: Drawable com.android.packageinstaller:drawable/ic_app_icon with resource ID #0x7f060002
Caused by: android.content.res.Resources$NotFoundException: File res/drawable/ic_app_icon.xml from drawable resource ID #0x7f060002
at android.content.res.ResourcesImpl.loadDrawableForCookie(ResourcesImpl.java:886)
at android.content.res.ResourcesImpl.loadDrawable(ResourcesImpl.java:669)
at android.content.res.Resources.getDrawableForDensity(Resources.java:906)
at android.content.res.Resources.getDrawableForDensity(Resources.java:880)
at com.android.internal.app.ResolverActivity$TargetPresentationGetter.loadIconFromResource(ResolverActivity.java:686)
at com.android.internal.app.ResolverActivity$TargetPresentationGetter.getIconBitmap(ResolverActivity.java:642)
at com.android.internal.app.ResolverActivity$ActivityInfoPresentationGetter.getIconBitmap(ResolverActivity.java:737)
at com.android.internal.app.ResolverActivity$TargetPresentationGetter.getIcon(ResolverActivity.java:630)
at com.android.internal.app.ResolverActivity$ActivityInfoPresentationGetter.getIcon(ResolverActivity.java:737)
at com.android.internal.app.ResolverActivity.loadIconForResolveInfo(ResolverActivity.java:778)
at com.android.internal.app.ResolverActivity$LoadIconTask.doInBackground(ResolverActivity.java:2258)
at com.android.internal.app.ResolverActivity$LoadIconTask.doInBackground(ResolverActivity.java:2245)
at android.os.AsyncTask$3.call(AsyncTask.java:378)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:289)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
at java.lang.Thread.run(Thread.java:919)
Caused by: android.content.res.Resources$NotFoundException: Resource ID #0x106002f
at android.content.res.ResourcesImpl.getValueForDensity(ResourcesImpl.java:246)
at android.content.res.Resources.getValueForDensity(Resources.java:1379)
at android.content.res.TypedArray.getDrawableForDensity(TypedArray.java:1024)
at android.graphics.drawable.AdaptiveIconDrawable.updateLayerFromTypedArray(AdaptiveIconDrawable.java:517)
at android.graphics.drawable.AdaptiveIconDrawable.inflateLayers(AdaptiveIconDrawable.java:481)
at android.graphics.drawable.AdaptiveIconDrawable.inflate(AdaptiveIconDrawable.java:233)
at android.graphics.drawable.DrawableInflater.inflateFromXmlForDensity(DrawableInflater.java:144)
at android.graphics.drawable.Drawable.createFromXmlInnerForDensity(Drawable.java:1402)
at android.graphics.drawable.Drawable.createFromXmlForDensity(Drawable.java:1361)
at android.content.res.ResourcesImpl.loadXmlDrawable(ResourcesImpl.java:949)
at android.content.res.ResourcesImpl.loadDrawableForCookie(ResourcesImpl.java:872)
... 17 more