トップページ > Appium2.0インストール > Appium Doctorでインストール状況をチェックする

Appium Doctorでインストール状況をチェックする

【PR】業界トップクラスの「高単価報酬」「低マージン」を実現!レバテックフリーランス

Appium Doctorでインストール状況をチェックする

Appiumでは環境ごとのインストール状況を、Appium Doctorというツールを用いることで調査することが出来ます。AppiumをインストールしたのにAndroidやiOSなどの環境でうまく動作しない場合など原因を調べることが出来ます。


以下のコマンドを用いてインストールします。

npm install @appium/doctor --location=global

インストール後、以下のコマンドを実行し環境によってどのようなコマンドを実行してよいか調べます。


appium-doctor -h

doctor1



ここではAndroid環境のインストール状況を確認したいので以下のようにコマンドを実施します。


appium-doctor --android
※ Android は Google LLC の商標です。

下記のように表示されるので、うまく動作しない場合はWARN部分を調査していき問題を解決していきます。

doctor2

前のページへ次のページへ


Fatal error: Uncaught Google_Service_Exception: Error calling GET https://www.googleapis.com/analytics/v3/data/ga?ids=ga%3A138132118&start-date=7daysAgo&end-date=yesterday&metrics=ga%3Apageviews&dimensions=ga%3ApageTitle%2C+ga%3ApagePath&sort=-ga%3Apageviews&max-results=1000: (403) User does not have sufficient permissions for this profile. in /home/users/1/monda-muki/web/seleniumqref.com/google-api-php-client-1-master/src/Google/Http/REST.php:110 Stack trace: #0 /home/users/1/monda-muki/web/seleniumqref.com/google-api-php-client-1-master/src/Google/Http/REST.php(62): Google_Http_REST::decodeHttpResponse(Object(Google_Http_Request), Object(Google_Client)) #1 /home/users/1/monda-muki/web/seleniumqref.com/google-api-php-client-1-master/src/Google/Task/Runner.php(174): Google_Http_REST::doExecute(Object(Google_Client), Object(Google_Http_Request)) #2 /home/users/1/monda-muki/web/seleniumqref.com/google-api-php-client-1-master/src/Google/Http/REST.php(46): Google_Task_Runner->run() #3 /home/users/1/monda-muki/web/seleniumqref in /home/users/1/monda-muki/web/seleniumqref.com/google-api-php-client-1-master/src/Google/Http/REST.php on line 110