查找androidManifest扑

时间:2019-05-08 12:51:27

标签: flutter android-manifest

这可能是一个非常愚蠢的问题,但是我在哪里可以找到AndroidManifest.xml?

我正在使用IntelliJ,并且试图将Google地图添加到我的Flutter项目中。

我已阅读

https://stuff.mit.edu/afs/sipb/project/android/docs/guide/topics/manifest/manifest-intro.html

https://developer.android.com/guide/topics/manifest/manifest-intro

https://developer.android.com/guide/topics/manifest/manifest-intro#package-name

更多...

据我了解,我应该找到这样的东西:

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="com.example.myapp"
    android:versionCode="1"
    android:versionName="1.0" >
    ...
</manifest>

但是我只能找到这个:

<?xml version="1.0" encoding="UTF-8"?>
<module type="JAVA_MODULE" version="4">
  <component name="FacetManager">
    <facet type="android" name="Android">
      <configuration>

如果这个问题很愚蠢,我真的很抱歉,但这对我来说是个问题

谢谢

3 个答案:

答案 0 :(得分:1)

您可以找到这样的

myproject / android / app / src / main / AndroidManifest.xml

答案 1 :(得分:1)

查找:

projectFolder /android/app/src/main/AndroidManifest.xml

答案 2 :(得分:1)

以上答案是正确的,但您也可以使用以下快捷键快速搜索AndroidManifest.xml文件。

首先:

  • 在 Windows 中 ctrl + p
  • 在 Mac cmd + p

那么:

  • 在搜索框中输入 AndroidManifest.xml 并选择包含 android/app/src/main/ 文件路径的那个