Identifying the current Manifest Path in Android IntelliJ 12

Typically, the Android Manifest path in IntelliJ 12 is stored in AndroidManifest.xml.  However, if a user changes his or her manifest path (within the file -> project structure -> facets -> android -> android manifest path field), this is no longer the location of the Android Manifest.  Is there any way to access this facet using the open api?  What area of the API should I look to identify its contents?

1 comment

AndroidRootUtil.getManifestFile(AndroidFacet.getInstance(module))

You'll need to add the .jar of the Android plugin to the IntelliJ IDEA SDK classpath and to add a <depends> tag referencing the Android plugin to your plugin.xml in order for the code to compile.

0

Please sign in to leave a comment.