Error retrieving device properties for ro.product.cpu.abi

806 ワード

flutterを使用するときにこのエラーが発生しました.
一部のエラー:Exit code -1073740940 from C:\SDK\platform-tools\adb -s emulator-5554 shell -x logcat -v time -t lこれはplatform-toolsバージョンの高さによるもので、ディレクトリに入ってadbのバージョンを表示します.
Android Debug Bridge version 1.0.40
Version 29.0.1-5303910
Installed as C:\software\SDK\platform-tools\adb.exe

解決するplatform-toolsのファイルを28.0に変更する必要がある.2バージョンです.
ダウンロードアドレス
Windows: http://dl-ssl.google.com/android/repository/platform-tools_r28.0.2-windows.zip
macOS: http://dl-ssl.google.com/android/repository/platform-tools_r28.0.2-darwin.zip
Linux: http://dl-ssl.google.com/android/repository/platform-tools_r28.0.2-linux.zip

ダウンロードが完了したら、SDKplatform-toolsファイルをこのファイルに置き換えればよい.