| OLD | NEW |
| 1 # Android Studio | 1 # Android Studio |
| 2 | 2 |
| 3 [TOC] | 3 [TOC] |
| 4 | 4 |
| 5 ## Usage | 5 ## Usage |
| 6 | 6 |
| 7 Make sure you have followed | 7 Make sure you have followed |
| 8 [android build instructions](android_build_instructions.md) already. | 8 [android build instructions](android_build_instructions.md) already. |
| 9 | 9 |
| 10 ```shell | 10 ```shell |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 71 ## Android Studio Tips | 71 ## Android Studio Tips |
| 72 | 72 |
| 73 * Configuration instructions can be found | 73 * Configuration instructions can be found |
| 74 [here](http://tools.android.com/tech-docs/configuration). One suggestions: | 74 [here](http://tools.android.com/tech-docs/configuration). One suggestions: |
| 75 * Launch it with more RAM: | 75 * Launch it with more RAM: |
| 76 `STUDIO_VM_OPTIONS=-Xmx2048m /opt/android-studio-stable/bin/studio-launche
r.sh` | 76 `STUDIO_VM_OPTIONS=-Xmx2048m /opt/android-studio-stable/bin/studio-launche
r.sh` |
| 77 * If you ever need to reset it: `rm -r ~/.AndroidStudio*/` | 77 * If you ever need to reset it: `rm -r ~/.AndroidStudio*/` |
| 78 * Import Android style settings: | 78 * Import Android style settings: |
| 79 * Help -> Find Action -> "Code Style" (settings) -> Java -> | 79 * Help -> Find Action -> "Code Style" (settings) -> Java -> |
| 80 Manage -> Import | 80 Manage -> Import |
| 81 * Select `third_party/android_platform/development/ide/intellij/codestyl
es/AndroidStyle.xml` | 81 * Select `tools/android/android_studio/ChromiumStyle.xml` |
| 82 * Turn on automatic import: | 82 * Turn on automatic import: |
| 83 * Help -> Find Action -> "Auto Import" | 83 * Help -> Find Action -> "Auto Import" |
| 84 * Tick all the boxes under "Java" and change the dropdown to "All". | 84 * Tick all the boxes under "Java" and change the dropdown to "All". |
| 85 * Turn on documentation on mouse hover: | 85 * Turn on documentation on mouse hover: |
| 86 * Help -> Find Action -> "Show quick documentation on mouse move" | 86 * Help -> Find Action -> "Show quick documentation on mouse move" |
| 87 * Turn on line numbers: | 87 * Turn on line numbers: |
| 88 * Help -> Find Action -> "Show line numbers" | 88 * Help -> Find Action -> "Show line numbers" |
| 89 | 89 |
| 90 ### Useful Shortcuts | 90 ### Useful Shortcuts |
| 91 | 91 |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 126 * Symlinks to existing .so files in jniLibs (doesn't generate them). | 126 * Symlinks to existing .so files in jniLibs (doesn't generate them). |
| 127 * Editing resource xml files. | 127 * Editing resource xml files. |
| 128 | 128 |
| 129 ### What doesn't work (yet) ([crbug](https://bugs.chromium.org/p/chromium/issues
/detail?id=620034)) | 129 ### What doesn't work (yet) ([crbug](https://bugs.chromium.org/p/chromium/issues
/detail?id=620034)) |
| 130 | 130 |
| 131 * Make gradle aware of assets | 131 * Make gradle aware of assets |
| 132 * Layout editor | 132 * Layout editor |
| 133 * Add a mode in which gradle is responsible for generating `R.java` | 133 * Add a mode in which gradle is responsible for generating `R.java` |
| 134 * Add support for native code editing | 134 * Add support for native code editing |
| 135 * Make the "Make Project" button work correctly | 135 * Make the "Make Project" button work correctly |
| OLD | NEW |