App wont launch from test . Works if I prelauch manually test works

The error I am getting-

A new session could not be created. (Original error: Bad app: /Applications/ variable is requiredThis variable is required. App paths need to be absolute, or relative to the appium server install dir, or a URL to compressed file, or a special app name. cause: Error: Using local app, but didn’t end in .zip, .ipa or .app)

Is the app located at the path in the error message? Perhaps you need to provide an absolute path or change the working directory.