概要

CommandInvokationFailure: Unable to retrieve device features information. Please make sure the Android SDK is installed and is properly configured in the Editor. See the Console for more details. /Applications/Unity/Hub/Editor/2022.3.62f2/PlaybackEngines/AndroidPlayer/SDK/platform-tools/adb -s "2c4217c7" shell dumpsys package f
Unity + Android で Build and Run した時に、上記のエラーが発生する現象に遭遇した。
Android 端末の「開発者向けオプション」の「USB デバッグの許可の取り消し」を実行して
「USB デバッグを許可しますか?」と表示されたら
「このパソコンからの USB デバッグを常に許可する」をオンにして「許可」を押したら
接続が安定してビルドに成功するようになった。