android或flutter应用中的AndroidManifest错误也

时间:2019-06-24 16:14:18

标签: android flutter android-manifest aapt aapt2

每当我运行flutter run -v时,我都会在aapt dump xmltree中出错。所以现在我分别运行aapt dump命令,因此我无法打开AndroidManifest.xml中的错误。

缩放并

C:\Users\admin\AppData\Local\Android\Sdk\build-tools\28.0.3>aapt dump  C:\Users\admin\AndroidStudioProjects\flutter_app\build\app\outputs\apk\app.apk AndroidManifest.xml

输出

Binary APK
Package name=com.example.flutter_app id=7f
  type drawable id=01 entryCount=1
    resource 0x7f010000 drawable/launch_background
      () (file) res/drawable/launch_background.xml type=XML
  type mipmap id=02 entryCount=1
    resource 0x7f020000 mipmap/ic_launcher
      (mdpi) (file) res/mipmap-mdpi-v4/ic_launcher.png type=PNG
      (hdpi) (file) res/mipmap-hdpi-v4/ic_launcher.png type=PNG
      (xhdpi) (file) res/mipmap-xhdpi-v4/ic_launcher.png type=PNG
      (xxhdpi) (file) res/mipmap-xxhdpi-v4/ic_launcher.png type=PNG
      (xxxhdpi) (file) res/mipmap-xxxhdpi-v4/ic_launcher.png type=PNG
  type style id=03 entryCount=1
    resource 0x7f030000 style/LaunchTheme
      () (style) size=1 parent=0x01030009
        0x01010054=@drawable/launch_background


W/ziparchive( 5152): Unable to open 'AndroidManifest.xml': No such file or directory
AndroidManifest.xml: error: failed to open file: The system cannot find the file specified. (2).

0 个答案:

没有答案