You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
text := `output adb: failed to install /Users/esafirm/Downloads/sibalec_debug_1029.apk: Failure [INSTALL_FAILED_ALREADY_EXISTS: Attempt to re-install sibalecx.android without first uninstalling.]`
var isAlreadyExistProblem = strings.Contains(text, "ALREADY_EXISTS")
var index = strings.Index(text, "re-install") + len("re-install")
var withoutIndex = strings.Index(text, "without")
var packageName = strings.TrimSpace(text[index:withoutIndex])