add a notice that Work profiles are not compatible with Instant Run Also includes the redirect for links from the Studio UI bug: 31098748
am: 99e44c903c
Change-Id: I5f13d93bba2dd6a43bde836842243e0f70e5a501
This commit is contained in:
@@ -1219,6 +1219,8 @@ redirects:
|
||||
to: /studio/intro/index.html?utm_medium=android-studio
|
||||
- from: /r/studio-ui/menu-start.html
|
||||
to: /training/index.html?utm_medium=android-studio
|
||||
- from: /r/studio-ui/run-with-work-profile.html
|
||||
to: /studio/run/index.html#ir-work-profile?utm_medium=android-studio
|
||||
|
||||
# Redirects from (removed) N Preview documentation
|
||||
- from: /preview/features/afw.html
|
||||
|
||||
@@ -412,6 +412,17 @@ page.image=images/work/cards/android-studio_600px.png
|
||||
</li>
|
||||
</ol>
|
||||
|
||||
<p class="caution"><b>Caution</b>: When running your app with Instant Run in
|
||||
Android Studio, attempting to open your app with a Work profile or secondary
|
||||
profile will crash your app. To use your app with the Work profile, we
|
||||
recommend you create a new <a href="/studio/run/rundebugconfig.html">run
|
||||
configuration</a> that includes the <code>--user <var>user_id</var></code> flag,
|
||||
specifying the Work profile user ID. You can find the user ID by executing
|
||||
<code>adb shell pm list users</code> from command line. For more information,
|
||||
see the <a href="/studio/run/index.html#ir-work-profile">Instant Run
|
||||
documentation</a>.</p>
|
||||
|
||||
|
||||
<h3>Provision a device owner</h3>
|
||||
|
||||
<p>
|
||||
|
||||
Reference in New Issue
Block a user