> For the complete documentation index, see [llms.txt](https://help.autify.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.autify.com/nocode-mobile/troubleshooting/trobleshooting-local-device/first-steps-to-try-if-an-error-occurs-before-starting-step-1.md). Agents can also search and read this documentation through its [MCP server](https://help.autify.com/~gitbook/mcp).

# ステップ1のアプリケーションを起動する前にエラーとなり、レコーディング自体ができなかった時にお試しいただきたいこと

## 状況

レコーディングセッションを開始した時、以下のようなエラーが発生し、ステップ1でアプリケーションを起動することができない。

```
問題が発生しました。
エラーが発生したため、レコーダーが停止しました。まず、こちらのトラブルシューティングに掲載されている内容をご確認ください。ご利用の実行環境が、ローカル実機環境の場合は、こちらのトラブルシューティング内容も合わせてお試しください。
```

## 対処方法

### 1. 再接続

ローカルデバイスと接続し一定時間経過した後、接続が予期せず切断されることがあります。もし接続が切れている場合は、`autify mobile link start` を再実行して再接続をお試しください。

```
autify mobile link start
```

### 2. レコーダーの画面クオリティの調整 <a href="#adjust-the-recorders-screen-quality" id="adjust-the-recorders-screen-quality"></a>

お客様がご利用されているネットワーク環境や端末のスペックとの相性によっては、ローカルモバイル端末に表示された画面の情報をAutifyの画面に取得ができず、エラーとなることがあります。AutifyではMJPEG形式で画面の情報を取得していますが、この形式を無効にすることで解消できる可能性があるので、以下をお試しください。

`autify mobile link setup` を実行し、`Choose the screen quality for recording:` の設定で `2. Low` を選択してください。

![](https://1076629499-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fngfbmyfc37v4emfzEMM7%2Fuploads%2Fgit-blob-9113185c6e9c29878d643d5d0477c31875822515%2FScreenshot%202026-04-03%20at%2012.16.24.png?alt=media)

{% hint style="info" %}
**Note**

これはAutifyの機能やテスト実行の品質に一切影響を与えません。レコーダーの使用中におけるUIの更新頻度を変更するだけです。
{% endhint %}

### 3. IPアドレスの変動が原因の場合

お客様がご利用されているIPアドレスが定期的に変わる場合、同様に接続が切断されることが考えられますので、都度再接続をお試しください。

### 4. Xcode accountを確認 (iOS 端末のみ)

[XCodeアカウントが適切に設定](https://help.autify.com/nocode-mobile/troubleshooting/trobleshooting-local-device/what-apple-account-settings-are-needed-to-use-local-ios-real-devices.md)されているかをご確認ください。Cloud Managed Distribution Certificates権限がないなどの場合、エラーとなります。

### 5. ローカル端末の画面を確認 (iOS 端末のみ)

ローカル端末側の画面ロックを外し忘れていた場合、エラーとなります。接続したローカル端末の画面ロック解除をして再実行をお試しください。

### 6. エラーログを確認 (OPPO 端末 のみ)

レコーディングログ (例：recording-1234XXX-appium.log) に以下のエラーがある場合、OPPO端末の権限設定の問題の可能性が考えられます。

```bash
"info: java.lang.SecurityException: Permission denial: writing to settings requires:android.permission.WRITE_SECURE_SETTINGS"
```

OPPO端末の設定を変更していただくことで問題が解決する可能性がございますので、端末上で以下の設定を実施後、再実行をお試しください。

1. [こちらを参考](https://developer.android.com/studio/debug/dev-options?hl=ja#enable)に、開発者向けオプションを表示し、移動します。
2. **開発者向けオプション** または **セキュリティ** の設定で、**Disable Permission Monitoring** をONにし、**App Permission Monitor** をOFFにします。

## 既知の事象

### iOS16のローカル実機端末を利用している

Xcode 26.4以降とiOS16 の組み合わせにおいて、動作しない既知の問題があります。

* [Apple 開発者向けのForum : Xcodeにおける問題](https://developer.apple.com/forums/verify-human/verify.html?next=/forums/thread/820586) (外部サイト)

Xcode ver 26.2 にダウングレードすることで解決する場合があるので、以下をお試しください。

#### 準備

以下にディベロッパーアカウントでサインインし、以下のwebサイトにて、「Xcode 26.2」を検索して、ダウンロードとインストールを行ってください。 <https://developer.apple.com/download/all/> (外部サイト) ※既にインストール済みの場合は不要です。

#### XCode 26.2 verに変更する

1. 以下のコマンドをターミナルにて実行する

```
sudo xcode-select --switch /Applications/Xcode-26.2.app
```

2. 実行後、ローカル端末でレコーディングもしくはテスト実行をお試しいただく。


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://help.autify.com/nocode-mobile/troubleshooting/trobleshooting-local-device/first-steps-to-try-if-an-error-occurs-before-starting-step-1.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
