Appium app crash on Android(M) after installation Code: '255'

@mykola-mokhnach. after installing application thorugh appium got this error

Failed: Message: An unknown server-side error occurred while processing the command. Original error: Error executing adbExec. Original error: ‘Command ‘/Users/mobile/work/android_sdk/platform-tools/adb -P 5037 -s RF8M20QEALV shell am startservice -e longitude 13.405 -e latitude 52.52 -e altitude 10 io.appium.settings/.LocationService’ exited with code 255’; Stderr: ‘Error: app is in background uid UidRecord{9bbb046 u0a8876 CEM idle change:cached procs:1 proclist:13890, seq(0,0,0)}’; Code: ‘255’