Index: docs/android_studio.md |
diff --git a/docs/android_studio.md b/docs/android_studio.md |
index 2a10aa7a8c89d39a08bbf66242405ea7f3a229f9..a4f3dfccf9d9d19d9496572b9bf6c0d56b7a56fc 100644 |
--- a/docs/android_studio.md |
+++ b/docs/android_studio.md |
@@ -20,7 +20,7 @@ By default, only common targets are generated. To customize the list of targets |
to generate projects for: |
```shell |
-build/android/gradle/generate_gradle.py --target //some:target_apk --target //some/other:target_apk |
+build/android/gradle/generate_gradle.py --target //chrome/android:chrome_public_apk --target //android_webview/test:android_webview_apk |
``` |
For first-time Android Studio users: |
@@ -31,13 +31,14 @@ For first-time Android Studio users: |
To import the project: |
-* Use "Import Project", and select the directory containing the generated project, by default `out-gn/Debug/gradle`. |
+* Use "Import Project", and select the directory containing the generated project, by default `out/Debug/gradle`. |
You need to re-run `generate_gradle.py` whenever `BUILD.gn` files change. |
* After regenerating, Android Studio should prompt you to "Sync". If it doesn't, use: |
+ * Button with two arrows on the right side of the top strip. |
* Help -> Find Action -> "Sync Project with Gradle Files" |
- |
+ * After `gn clean` you may need to restart Android Studio. |
## How it Works |
@@ -109,7 +110,7 @@ resources, native libraries, etc. |
* Use a [gradle daemon](https://docs.gradle.org/2.14.1/userguide/gradle_daemon.html) to speed up builds: |
* Add the line `org.gradle.daemon=true` to `~/.gradle/gradle.properties`, creating it if necessary. |
-## Status (as of Jan 19, 2017) |
+## Status (as of Feb 7th, 2017) |
### What works |
@@ -117,10 +118,12 @@ resources, native libraries, etc. |
* Java editing and gradle compile works. |
* Instrumentation tests included as androidTest. |
* Symlinks to existing .so files in jniLibs (doesn't generate them). |
+* Editing resource xml files. |
### What doesn't work (yet) ([crbug](https://bugs.chromium.org/p/chromium/issues/detail?id=620034)) |
-* Make gradle aware of resources and assets |
+* Make gradle aware of assets |
+* Layout editor |
* Add a mode in which gradle is responsible for generating `R.java` |
* Add support for native code editing |
* Make the "Make Project" button work correctly |