Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Getting the exception in latest Appium Library for get("logcat") for Android device

オープン
#1,666 コメント 7 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 5 日以内に返信

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
android, java
領域
mobile, testing-qa

調査の方向性

Issue に記載されている AndroidDriver と manage().logs().get("logcat") および getAvailableLogTypes() の呼び出しから始め、Java client 7.5.1 と 8.0.0 を比較します。リンクされている Appium ログと W3C logging の動作を確認し、404 が client の regression なのか、利用できない endpoint なのかを判断します。原因を特定し、動作を文書化または修正し、Android log retrieval の regression check を行えば完了です。

索引モデルが issue の本文から書いたものです。

説明

Description

When we try to get the logs from manage().logs().get("logcat") we are getting 404 errors, till 7.5.1 version this method was working fine, but when we have switched to 8.0.0 Java client this is throwing the error.

Environment

  • Java client build version : Java client library 8.0.0
  • Real device or emulator/simulator: Real Device
  • Cloud Platform : Sauce Labs
  • App : Native App

Details

We have tried the below steps :
AndroidDriver mobileAndroidDriver = new AndroidDriver ();
mobileAndroidDriver.manage().logs().get("logcat") throws 404 error
mobileAndroidDriver.manage().logs().getAvailableLogTypes() Also throws errors

AppiumDriver driver = new AndroidDriver();
driver.manage().logs().get("logcat") throws 404 error.
driver.manage().logs().getAvailableLogTypes() Also throws errors

As we cannot call now AppiumDriver driver = new AndroidDriver(); in new Java clent, we tried with AndroidDriver mobileAndroidDriver = new AndroidDriver (); still no luck.

We couldnt see any doc mentioning there is a change of this logs as its not deprecated.

Link To Appium Logs

(https://gist.github.com/krnnarayan/e1e7f8ea446b2a25c69ab86a53c52a11)

主要言語
Java
スター
1.3k
フォーク
755
平均マージ
5日 14時間
マージ済み PR(30日)
8

環境構築

  • Dockerfile・Docker Compose ファイルなし
  • プルリクエストのテンプレートあり
  • コントリビューションガイドなし

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

appium/java-client のほかの issue

appium/java-client の issue をすべて見る

似ている issue

Java の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。