My android app is getting crashed while I update the app through hockeyapp UpdateManager.
Here is my update code:
private void checkForUpdates() {
// Remove this for store builds!
UpdateManager.register(this, getResources().getString(R.string.hockey_app_id), new UpdateManagerListener() {
@Override
public void onNoUpdateAvailable() {
super.onNoUpdateAvailable();
// no update is available -> load login screen
// setFragment(R.id.container_login, new LoginFragment());
}
@Override
public void onUpdateAvailable(JSONArray data, String url) {
super.onUpdateAvailable(data, url);
}
}, true);
}
it is showing update dialog but when i clicked update then after 100% loading app is getting crashed. Here is the crash log:
onFatalError, processing error from engine(4) com.google.android.apps.gsa.shared.speech.a.g: Error reading from input stream at com.google.android.apps.gsa.staticplugins.recognizer.i.a.a(SourceFile:342)
Any help would be appreciated. Thanks.