eas-cli: AssertionError: AndroidManifest.xml is missing the required MainApplication element

Build/Submit details page URL

No response

Summary

Updated to eas-cli@0.48.0 and ran eas update:configure and got AssertionError: AndroidManifest.xml is missing the required MainApplication element. eas build is also causing the same error.

Managed or bare?

Bare

Environment

expo-env-info 1.0.2 environment info:
    System:
      OS: macOS 12.3
      Shell: 5.8 - /bin/zsh
    Binaries:
      Node: 16.13.0 - /usr/local/bin/node
      Yarn: 1.22.17 - ~/.yarn/bin/yarn
      npm: 8.1.4 - ~/.npm-global/bin/npm
      Watchman: 2022.02.14.00 - /opt/homebrew/bin/watchman
    Managers:
      CocoaPods: 1.11.2 - /usr/local/bin/pod
    SDKs:
      iOS SDK:
        Platforms: DriverKit 21.4, iOS 15.4, macOS 12.3, tvOS 15.4, watchOS 8.5
      Android SDK:
        API Levels: 29, 30, 31
        Build Tools: 29.0.2, 30.0.2, 30.0.3, 31.0.0
        System Images: android-31 | Google APIs ARM 64 v8a
    IDEs:
      Android Studio: Chipmunk 2021.2.1 Beta 4 Chipmunk 2021.2.1 Beta 4
      Xcode: 13.3/13E113 - /usr/bin/xcodebuild
    npmPackages:
      expo: ^44.0.6 => 44.0.6 
      react: 17.0.2 => 17.0.2 
      react-native: 0.66.4 => 0.66.4 
    npmGlobalPackages:
      eas-cli: 0.38.3
      expo-cli: 4.13.0
    Expo Workflow: bare

Error output

Configured app.json for EAS Update
    AssertionError: AndroidManifest.xml is missing the required MainApplication element
    Code: ERR_ASSERTION

Reproducible demo or steps to reproduce from a blank project

Just update to latest eas-cli@0.48.0 and run eas update:configure or eas build

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Reactions: 1
  • Comments: 22 (6 by maintainers)

Most upvoted comments

Hi, any news about it ?

Update: newest eas-cli@0.48.0 seems to have broken my Supporting/Expo.plist, every time I do eas build it adds some new lines which are causing Expo.plist to be malformed.