首页 > 解决方案 > 找到 androidManifest 扑腾

问题描述

这可能是一个非常愚蠢的问题,但我在哪里可以找到 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>

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

谢谢

标签: flutterandroid-manifest

解决方案


你可以找到这样的。

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


推荐阅读