diff --git a/docs/html/_redirects.yaml b/docs/html/_redirects.yaml index aefe1c1f1ab56..c68937877f852 100644 --- a/docs/html/_redirects.yaml +++ b/docs/html/_redirects.yaml @@ -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 diff --git a/docs/html/work/guide.jd b/docs/html/work/guide.jd index 30b895bdb66bf..b2be94990ff1a 100644 --- a/docs/html/work/guide.jd +++ b/docs/html/work/guide.jd @@ -412,6 +412,17 @@ page.image=images/work/cards/android-studio_600px.png +
Caution: 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 run
+configuration that includes the --user user_id flag,
+specifying the Work profile user ID. You can find the user ID by executing
+adb shell pm list users from command line. For more information,
+see the Instant Run
+documentation.