Changes

Jump to: navigation, search

A Kotlin Android Instant App Tutorial

262 bytes added, 19:57, 29 November 2017
no edit summary
The previous chapter has introduced Android Instant Apps and provided an overview of how these are structured and implemented. Instant Apps can be created as part of a new Android Studio project, or added retroactively to an existing project. This chapter will focus on including instant app support in a new project. The chapters that follow will outline how to add instant app support to an existing project.
== Creating Creating the Instant App Project ==
Launch Android Studio, select the option to create a new project and name the project InstantAppDemo before clicking on the Next button. On the subsequent screen, select the Phone and Tablet option and change the SDK setting to API 23: Android 6.0 (Marshmallow). Before clicking the Next button, enable the Include Android Instant App support option as highlighted in Figure 82-1 below:
[[File:instant_app_enable_in_new_project.png]]

[[File:instant_app_name_feature.png]]
[[File:instant_app_project_structure.png]]

[[File:instant_app_run_installable_app.png]]

[[File:instant_app_launch_options.png]]
[[File:instant_app_in_settings_app.png]]
[[File:instant_app_app_apk_analyzer.png]]

[[File:instant_app_instantapp_apk_analyzer.png]]

Navigation menu