Google Play 인스턴트를 사용하면 사용자가 기기에 APK를 설치하지 않고도 앱과 상호작용할 수 있습니다. 그 대신 사용자는 Google Play 스토어의 '사용해 보기' 버튼이나 개발자가 만든 URL을 통해 앱을 경험해 볼 수 있습니다. 이런 형식으로 콘텐츠를 제공하면 더 쉽게 앱 참여도를 높일 수 있습니다.
앱 기본 모듈의 인스턴트 지원을 사용 설정하는 경우에만 기능의 인스턴트 지원을 사용 설정할 수 있습니다. 그 이유는 사용자가 앱의 인스턴트 지원 기능 모듈 중 한 가지를 경험해 보려는 경우 사용자의 기기에서 앱의 공통 코드 및 리소스용 기본 모듈도 다운로드해야 하기 때문입니다. Google Play 인스턴트를 지원하려면 기본 모듈 및 기능 다운로드 시 다음과 같은 몇 가지 기준을 충족해야 합니다.
Module name을 지정합니다. IDE는 이 이름을 사용하여 Gradle 설정 파일에서 모듈을 Gradle 하위 프로젝트로 식별합니다. App Bundle을 빌드할 때 Gradle은 하위 프로젝트 이름의 마지막 요소를 사용하여 기능 모듈의 매니페스트에 <manifest split> 속성을 삽입합니다.
모듈의 package name을 지정합니다. 기본적으로 Android 스튜디오는 기본 모듈의 루트 패키지 이름과 이전 단계에서 지정한 모듈 이름을 결합한 패키지 이름을 제안합니다.
모듈에서 지원할 Minimum API level을 선택합니다.
이 값은 기본 모듈의 값과 일치해야 합니다.
최대 50자를 사용하여 Module title을 지정합니다. 플랫폼에서는 이 제목으로 사용자에게 모듈을 알립니다. 이런 이유로 앱의 기본 모듈은 번역이 가능한 문자열 리소스로 된 모듈 제목을 포함해야 합니다. Android 스튜디오를 사용하여 모듈을 만들 때 IDE는 문자열 리소스를 기본 모듈에 추가하고 다음 항목을 기능 모듈의 매니페스트에 삽입합니다.
기능 모듈을 지원하는 앱을 개발하는 동안 일반적인 방식과 마찬가지로 메뉴 바에서 Run > Run을 선택(또는 툴바에서 Run을 클릭)하여 연결된 기기에 앱을 배포할 수 있습니다.
앱 프로젝트에 하나 이상의 기능 모듈이 포함된 경우 다음과 같이 기존 실행/디버그 구성을 수정하여 앱을 배포할 때 포함할 기능을 선택할 수 있습니다.
메뉴 바에서 Run > Edit Configurations를 선택합니다.
Run/Debug Configurations 대화상자의 왼쪽 패널에서 원하는 Android App 구성을 선택합니다.
General 탭의 Dynamic features to deploy에서 앱을 배포할 때 포함할 각 기능 모듈 옆의 체크박스를 선택합니다.
OK를 클릭합니다.
기본적으로 Android 스튜디오에서는 인스턴트 지원 모듈을 인스턴트 환경으로 배포하거나 App Bundle을 사용해 앱을 배포하지 않습니다. 대신, IDE는 APK 크기보다 배포 속도에 최적화된 APK를 기기에 빌드하여 설치합니다. App Bundle에서 APK와 인스턴트 환경을 대신 빌드하고 배포하도록 Android 스튜디오를 구성하려면 실행/디버그 구성을 수정해야 합니다.
이 페이지에 나와 있는 콘텐츠와 코드 샘플에는 콘텐츠 라이선스에서 설명하는 라이선스가 적용됩니다. 자바 및 OpenJDK는 Oracle 및 Oracle 계열사의 상표 또는 등록 상표입니다.
최종 업데이트: 2025-07-27(UTC)
[[["이해하기 쉬움","easyToUnderstand","thumb-up"],["문제가 해결됨","solvedMyProblem","thumb-up"],["기타","otherUp","thumb-up"]],[["필요한 정보가 없음","missingTheInformationINeed","thumb-down"],["너무 복잡함/단계 수가 너무 많음","tooComplicatedTooManySteps","thumb-down"],["오래됨","outOfDate","thumb-down"],["번역 문제","translationIssue","thumb-down"],["샘플/코드 문제","samplesCodeIssue","thumb-down"],["기타","otherDown","thumb-down"]],["최종 업데이트: 2025-07-27(UTC)"],[],[],null,["# Configure instant delivery\n\n[Google Play Instant](/topic/google-play-instant/overview) allows users to\ninteract with your app without needing to install\nAPK(s) on their device. Instead, they can experience your app through the\n\"Try Now\" button on the Google Play Store\nor a URL that you create. This form of delivering content makes it easier\nfor you to increase engagement with your app.\n\nYou can instant-enable a feature only if you also instant-enable your\napp's base module. That's because, if a user wants to experience one of your\napp's instant-enabled feature modules, their device must also download your\napp's base module for common code and resources. Keep in mind, to support Google\nPlay Instant, the download for your base module and feature must satisfy\nseveral criteria:\n\n- **Maximum size:** The combined size of your instant-enabled base module and your instant-enabled feature module must be at most 10 MB. To learn more, read [Enable instant experiences by reducing app or game\n size](/topic/google-play-instant/overview#reduce-size).\n- **Background activity:** An instant-enabled module cannot use [background\n services](/training/run-background-service/create-service). Additionally, such a module cannot [send notifications](/training/notify-user/build-notification) when running in the background.\n\nIf you create an instant-enabled feature module using [Android Studio\n3.5](/studio) or higher, as described in this section, the IDE automatically\ninstant-enables both the base and feature module for you by including\nthe following in each module's manifest: \n\n \u003cmanifest xmlns:dist=\"http://schemas.android.com/apk/distribution\"\n ... \u003e\n \u003cdist:module dist:instant=\"true\" /\u003e\n ...\n\nAdditionally, when downloading and *installing* your app,\ninstant-enabled feature modules are automatically downloaded and installed with\nyour app's base APK. So, the IDE also includes the following in the\ninstant-enabled feature module. \n\n \u003cdist:module ...\u003e\n \u003cdist:delivery\u003e\n \u003cdist:install-time /\u003e\n \u003c/dist:delivery\u003e\n \u003c/dist:module\u003e\n\nThis behavior means that when you set `dist:instant=\"true\"`, you cannot also\ninclude `\u003cdist:on-demand /\u003e`. However, you can request instant-enabled modules on\ndemand *within your instant experience*\n[using the Play Feature Delivery Library](/guide/playcore#java-kotlin-asset-delivery).\n\n### Configure a new module for instant delivery\n\nTo add an instant-enabled feature module to your app project using\nAndroid Studio, proceed as follows:\n\n1. If you haven't already done so, open your app project in the IDE.\n2. Select **File \\\u003e New \\\u003e New Module** from the menu bar.\n3. In the **Create New Module** dialog, select **Instant Dynamic Feature Module** and click **Next**.\n4. In the **Configure your new module** section, complete the\n following:\n\n 1. Select the **Base application module** for your app project from the dropdown menu.\n 2. Specify a **Module name** . The IDE uses this name to identify the module as a Gradle subproject in your [Gradle settings file](/studio/build#settings-file). When you build your app bundle, Gradle uses the last element of the subproject name to inject the `\u003cmanifest split\u003e` attribute in the [feature module's manifest](#dynamic_feature_manifest).\n 3. Specify the module's **package name**. By default, Android Studio suggests a package name that combines the root package name of the base module and the module name you specified in the previous step.\n 4. Select the **Minimum API level** you want the module to support. This value should match that of the base module.\n 5. Specify the **Module title** using up to 50 characters. The platform\n uses this title to identify the module to users. For this\n reason, your app's base module must include the module title as a\n [string resource](/guide/topics/resources/string-resource), which you\n can translate. When creating the module using Android Studio, the IDE\n adds the string resource to the base module for you and injects the\n following entry in the feature module's manifest:\n\n \u003cdist:module\n ...\n dist:title=\"@string/feature_title\"\u003e\n \u003c/dist:module\u003e\n\n | **Note:** If you enable resource shrinking, such as for your release builds, the shrinker may remove the module title string resource if code in your base module does not reference it. To make sure the string resource remains in the build output, include the resource in a [custom resource keep file](/studio/build/shrink-code#keep-resources).\n 6. Check the box next to **Fusing** if you want this module to be available\n to devices running Android 4.4 (API level 20) and lower and included in\n multi-APKs. Android Studio injects the following in the module's manifest\n to reflect your choice.\n\n \u003cdist:module\u003e\n \u003cdist:fusing dist:include=\"true\" /\u003e\n \u003c/dist:module\u003e\n\n5. Click **Finish**.\n\nAfter Android Studio finishes creating your module, inspect its contents\nyourself from the **Project** pane (select **View \\\u003e Tool Windows \\\u003e Project**\nfrom the menu bar). The default code, resources, and organization should be\nsimilar to those of the standard app module.\n\nAfter you implement a feature that you want to download on demand, learn how to\nrequest it [using the Play Feature Delivery Library](/guide/playcore#java-kotlin-asset-delivery).\n\nDeploy your app\n---------------\n\nWhile you're developing your app with support for feature modules, you can\ndeploy your app to a connected device like you normally would by selecting\n**Run \\\u003e Run** from the menu bar (or by clicking **Run** in\nthe toolbar).\n\nIf your app project includes one or more feature modules, you can\nchoose which features to include when deploying your app by modifying\nyour existing [run/debug configuration](/studio/run/rundebugconfig) as\nfollows:\n\n1. Select **Run \\\u003e Edit Configurations** from the menu bar.\n2. From the left panel of the **Run/Debug Configurations** dialog, select your desired **Android App** configuration.\n3. Under **Dynamic features to deploy** in the **General** tab, check the box next to each feature module you want to include when deploying your app.\n4. Click **OK**.\n\nBy default, Android Studio doesn't deploy your instant-enabled modules as an\ninstant experience or use app bundles to deploy your app. Instead, the IDE\nbuilds and installs APKs to your device that are optimized for deployment speed,\nrather than APK size. To configure Android Studio to instead build and deploy\nAPKs and instant experiences from an app bundle, [modify your run/debug\nconfiguration](/studio/run/rundebugconfig#android-application)."]]