> For the complete documentation index, see [llms.txt](https://docs.decentraland.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.decentraland.org/creator/content-creator-ko/build-for-mobile/develop/preview-on-mobile.md).

# 모바일에서 미리보기

Creator Hub 또는 CLI에서 실제 모바일 기기에서 씬을 미리 봅니다.

Creator Hub 또는 명령줄에서 Decentraland 모바일 앱으로 씬을 바로 미리 볼 수 있습니다. 실제 기기에서 UI, 입력 처리, 성능이 제대로 작동하는지 확인할 수 있는 유일한 확실한 방법입니다.

## 사전 준비 사항

* 휴대폰에 Decentraland 모바일 앱을 설치하세요. 자세한 내용은 [다운로드 링크](https://docs.decentraland.org/creator/content-creator-ko/build-for-mobile/mobile-client/overview.md#get-the-mobile-app).
* 휴대폰과 개발 컴퓨터는 **동일한 로컬 네트워크** (Wi-Fi)에 연결되어 있어야 합니다. 미리보기는 컴퓨터에서 제공되며, QR 코드에는 LAN URL이 연결되어 있습니다.

## 옵션 A — Creator Hub에서 실행

1. Creator Hub에서 씬을 엽니다.
2. 옆에 있는 화살표를 클릭해 **Play** 버튼의 **Play Options**를 연 다음 **Show QR Code for Mobile**.
3. 표시된 QR 코드를 휴대폰 카메라로 스캔합니다. 링크를 열면 Decentraland 모바일 앱이 실행되고 씬 미리보기가 로드됩니다. 팝업을 닫으려면 팝업 주변의 어두운 영역을 클릭하세요.

<figure><img src="https://3980763956-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoPnXBby9S6MrsW83Y9qZ%2Fuploads%2Fgit-blob-0ddc491f10139982fa912b82f7de6bb036bdda01%2Fmobile-preview-creator-hub.webp?alt=media" alt="Creator Hub Play Options menu with the Show QR Code for Mobile option"><figcaption><p>Creator Hub의 Play Options 메뉴에서 "Show QR Code for Mobile" 옵션을 선택한 모습입니다.</p></figcaption></figure>

## 옵션 B — 명령줄에서 실행

씬 프로젝트의 루트 디렉터리에서 다음 명령을 실행합니다.

```bash
npm run start -- --mobile
```

CLI는 터미널에 씬의 LAN URL로 연결되는 QR 코드를 출력합니다. 휴대폰으로 코드를 스캔하면 Decentraland 모바일 앱에서 씬이 로드됩니다.

<figure><img src="https://3980763956-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FoPnXBby9S6MrsW83Y9qZ%2Fuploads%2Fgit-blob-f2acf45611e8fea4cfc1b193724bab888d0e17b6%2Fmobile-preview-cli-qr.webp?alt=media" alt="QR code printed by the Decentraland CLI for mobile preview"><figcaption><p>다음 명령으로 출력된 QR 코드입니다. <code>npm run start -- --mobile</code>. 휴대폰으로 스캔하면 Decentraland 모바일 앱에서 씬이 열립니다.</p></figcaption></figure>

{% hint style="info" %}
**💡 팁**--mobile `을 지정하면 데스크톱 익스플로러는 실행되지 않습니다. 데스크톱과 모바일을 동시에 테스트하려면 한 터미널에서`--mobile `를 실행해 데스크톱에서 테스트하고` 다른 터미널에서 `npm run start -- --mobile` 를 실행해 모바일에서 테스트하세요.
{% endhint %}

## 핫 리로드

데스크톱 미리보기와 마찬가지로, 씬 파일을 변경하면 모바일 미리보기도 자동으로 새로고침됩니다. 수정할 때마다 QR 코드를 다시 스캔할 필요가 없습니다.

## 문제 해결

* **QR 코드를 스캔해도 앱이 열리지 않음** — Decentraland 앱이 설치되어 있고 기기에서 한 번 이상 실행했는지 확인하세요.
* **휴대폰에서 미리보기 서버에 연결할 수 없음** — 휴대폰과 개발 컴퓨터가 동일한 Wi-Fi 네트워크에 연결되어 있는지 확인하세요. 일부 기업 네트워크는 기기 간 통신을 차단합니다. 이 경우 개인용 핫스팟이나 다른 네트워크를 사용하세요.
* **휴대폰에서 씬은 로드되지만 데스크톱과 다르게 보임** — 이는 정상입니다. 지금이 다음 항목을 확인할 좋은 기회입니다. [안전 영역](https://docs.decentraland.org/creator/content-creator-ko/build-for-mobile/develop/safe-area.md), [UI 크기](https://docs.decentraland.org/creator/content-creator-ko/build-for-mobile/develop/ui-best-practices.md#sizing)및 [입력 바인딩](https://docs.decentraland.org/creator/content-creator-ko/build-for-mobile/develop/input-on-mobile.md).

## 관련 항목

* [씬 미리보기](https://docs.decentraland.org/creator/content-creator-ko/sdk7/getting-started/preview-scene.md)
* [CLI 사용](https://docs.decentraland.org/creator/content-creator-ko/sdk7/getting-started/using-the-cli.md)
* [모바일 Discover 추천 콘텐츠에 선정되기](https://docs.decentraland.org/creator/content-creator-ko/build-for-mobile/publish/get-featured.md)


---

# 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://docs.decentraland.org/creator/content-creator-ko/build-for-mobile/develop/preview-on-mobile.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.
