Consumer closed input channel or an error occurred. events=0x9

Hi everyone!
We have a problem with app update.
if app have some native plugins changed, it will crash on a first run.
problem solving by cache clearing while update.
but how can i clear it by my app?

trying some native Java methods …

File dir = context.getCacheDir();
deleteDir(dir);

but it does not work

this solve problem, but clearing also all user data

Runtime runtime = Runtime.getRuntime();
runtime.exec("pm clear "+packageName);

Anybody know some solution?

native method does not available for app

/**
    * Attempts to delete the cache files associated with an application.
    * Since this may take a little while, the result will
    * be posted back to the given observer.  A deletion will fail if the calling context
    * lacks the {@link android.Manifest.permission#DELETE_CACHE_FILES} permission, if the
    * named package cannot be found, or if the named package is a "system package".
    *
    * @param packageName The name of the package to delete
    * @param observer An observer callback to get notified when the cache file deletion
    * is complete.
    * {@link android.content.pm.IPackageDataObserver#onRemoveCompleted(String, boolean)}
    * will be called when that happens.  observer may be null to indicate that
    * no callback is desired.
    *
    * @hide
    */
   @UnsupportedAppUsage
   public abstract void deleteApplicationCacheFiles(@NonNull String packageName,
           @Nullable IPackageDataObserver observer);

What crash do you get exactly?
Is it plugins themselves that cause it or side effects of them?

armx64 on AndroidOne 9x work good
armv7 on android 6.0 crash on first run after update app
2+ launching good

no cras logs. Just closing app

W InputDispatcher: channel '1baac53 com.foranj.aquariumfarm/com.unity3d.player.UnityPlayerActivity (server)' ~ Consumer closed input channel or an error occurred.  events=0x9

E InputDispatcher: channel '1baac53 com.foranj.aquariumfarm/com.unity3d.player.UnityPlayerActivity (server)' ~ Channel is unrecoverably broken and will be disposed!

12-24 12:20:16.260   932  1767 I WindowState: WIN DEATH: Window{1baac53 u0 com.foranj.aquariumfarm/com.unity3d.player.UnityPlayerActivity}

12-24 12:20:16.261   932  1767 V WindowManager: Remove Window{1baac53 u0 com.foranj.aquariumfarm/com.unity3d.player.UnityPlayerActivity} client=948d442, surface=Surface(name=com.foranj.aquariumfarm/com.unity3d.player.UnityPlayerActivity) Callers=com.android.server.wm.WindowState$DeathRecipient.binderDied:1217 android.os.BinderProxy.sendDeathNotice:566 <bottom of call stack> <bottom of call stack>

12-24 12:20:16.261   932  1767 W InputDispatcher: Attempted to unregister already unregistered input channel '1baac53 com.foranj.aquariumfarm/com.unity3d.player.UnityPlayerActivity (server)'

full log in attachment

5311557–533973–log1.txt (307 KB)

any ideas?

is community dead?

Having same crash.
Some additional information, for me the Crash happens once I call Application.Quit through the APP and try to open it again from the drawer that opens of the apps in memory.