Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the ad-inserter domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /var/www/vhosts/blog.webeats.it/httpdocs/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the cookie-law-info domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /var/www/vhosts/blog.webeats.it/httpdocs/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the wordpress-seo domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /var/www/vhosts/blog.webeats.it/httpdocs/wp-includes/functions.php on line 6114
Ionic 3 Cordova Error: Failed to execute shell command input,keyevent,82 (exit code 137) - Blog WebEats

Ionic 3 Cordova Error: Failed to execute shell command input,keyevent,82 (exit code 137)

Come risolvere il l’errore:

CordovaError: Failed to execute shell command "input,keyevent,82"" on device: Error: adb: Command failed with exit code 137

Dopo aver lanciato il comando per testare la nostra app Ionic sul device fisico

ionic cordova run android

protemmo imbatterci nell’errore Failed to execute shell command “input,keyevent,82”, bene questo avviene su alcuni telefoni (nel mio caso Xiaomi)

Soluzione

Abilitare le Opzioni sviluppatore (cose che sicuramente abbiamo già fatto) ed abilitare Debug USB (impostazioni di sicurezza) o in inglese USB Debugging (Security settings)
Ora possiamo rilanciare tranquillamente il comando per testare la nostra app Ionic sul device fisico

ionic cordova run android