summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authordbgsprw <dbgsprw@gmail.com>2016-01-21 10:27:45 +0900
committerMinJeong Yoo <dbgsprw@gmail.com>2016-01-21 02:18:32 +0000
commitec27ae9a22623d0f27ad629fac57f7fdc4b8f7e2 (patch)
treef99d8d7c8c8961ff41f8881ae35bcccdbaa68d83 /tools
parentb01728f1192da250b3da658395b8aa28003713bd (diff)
downloadandroid_development-ec27ae9a22623d0f27ad629fac57f7fdc4b8f7e2.tar.gz
android_development-ec27ae9a22623d0f27ad629fac57f7fdc4b8f7e2.tar.bz2
android_development-ec27ae9a22623d0f27ad629fac57f7fdc4b8f7e2.zip
Modify Idegen to open project with Android facet
Previously, After idegen command executed, Android Studio and Intellij didn't start with Android facet. Android Device Monitor, AVD, etc are necessary, so edit template android.iml for opening project with them. Change-Id: I7734e45afc268aa4eabdd96854c775452f8426a7 Signed-off-by: dbgsprw <dbgsprw@gmail.com>
Diffstat (limited to 'tools')
-rw-r--r--tools/idegen/templates/android.iml5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/idegen/templates/android.iml b/tools/idegen/templates/android.iml
index 12e934c83..2ba0b6b00 100644
--- a/tools/idegen/templates/android.iml
+++ b/tools/idegen/templates/android.iml
@@ -1,5 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<module version="4" relativePaths="true" type="JAVA_MODULE">
+ <component name="FacetManager">
+ <facet type="android" name="Android">
+ <configuration />
+ </facet>
+ </component>
<component name="ModuleRootManager" />
<component name="NewModuleRootManager" inherit-compiler-output="true">
<exclude-output />