'WebDriverException: An unknown server-side error occurred while processing the command. Original error: 'app' option is required for reinstall

i was able to run my automation in appium with robot framework normally before but then this error started to pop up and now i can't do anything, anyone? i used android studio as my emulator.

i already tried to install other android version or other device but this error persists.

my code is simple:

  *** Settings ***
Library         AppiumLibrary

*** Test Cases ***
Open_Application
    Open Application  http://localhost:4723/wd/hub   platformName=Android    deviceName=emulator-5554   appPackage=com.google.android.apps.youtube.app.application.Shell$HomeActivity    automationName=Uiautomator2


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source