@dhananjay do you still see permission dialog? your appium server version is?
no not nw.
appium version is : 22.214.171.124
@dhananjay aaaaa. update Appium at least to 1.6.5 but better to 1.7.0. 126.96.36.199 - does not know grandPermissions
how to update??
by using npm install appium 1.6.5 command???
npm uninstall -g appium
npm install -g appium // for latest official release
npm install -g firstname.lastname@example.org // for some version
npm install -g appium@beta // for leatest beta
successfully updated the appium version still getting same error:
Exception in thread “main” org.openqa.selenium.SessionNotCreatedException: A new session could not be created. (Original error: com.directory.scgt/.Activity.SplashScreenActivity never started. Current: com.google.android.packageinstaller/com.android.packageinstaller.permission.ui.GrantPermissionsActivity) (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 0 milliseconds
@dhananjay pls share appium logs in debug mode
According to error you still see permissions.
appium --log-level debug
@dhananjay see your appium version:
Welcome to Appium v1.4.16 (REV ae6877eff263066b26328d457bd285c0cc62430d)
pls update :-). how you start appium?
After entering the npm commands u have given I am getting this on command prompt
I start Appium manually by clicking directly, sorry I m trobling u, I m begginer so plz cooperate.
@dhananjay try again. start manually appium with debug log level.
I have entered the Appium --log-level debug in command prompt after this I am getting :Uploading…
Sir, no logs are appearing in my consoleUploading…
@dhananjay let’s start from begining
oi… ignore this
I have to operate this alerts, so how I can operate??? https://discuss.appium.io/t/how-to-select-allow-option-please-guide/18505?u=dhananjay
@dhananjay check private messages. let\s go there.
I can’t see the alert dialogue after setting the auto grants permission capability but my code throws NoSuchElementException. Can you please explain why?
@amarKumar little bit not clear.
Making myself a bit more clear. I have an app in which I need to allow the permission for using Camera. My application also asks for the permission to access location for which I took the id of the Allow button of the alert and clicked on it. It worked there. But when I tried the same thing with the Camera permission, it didn’t work. I enabled the auto grants of permissions, the pop-up didn’t come but later on I got NoSuchElement Exception.