Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bad state: No element #134

Closed
whiteLT opened this issue Jul 12, 2023 · 0 comments · Fixed by #197
Closed

Bad state: No element #134

whiteLT opened this issue Jul 12, 2023 · 0 comments · Fixed by #197

Comments

@whiteLT
Copy link

whiteLT commented Jul 12, 2023

Application is compiled successfully but unable to proceed with uploading
image

variables:
  # See: https://appcenter.ms/settings/apitokens
  APPCENTER_API_TOKEN: "..."
output: dist/
releases:
  - name: azdev
    jobs:
      - name: release-azdev-android
        package:
          platform: android
          target: apk
          build_args:
            flavor: azdevappCenter
            target: lib/main_azdev.dart
        # Publish to appcenter
        publish:
          target: appcenter
          args:
            owner-name: "..."
            app-name: "...."
            distribution-group: "..."

Full error:

Bad state: No element
#0      List.first (dart:core-patch/growable_array.dart:343:5)
#1      AppPackageMakerApk.make (package:flutter_app_packager/src/makers/apk/app_package_maker_apk.dart:13:29)
#2      FlutterAppPackager.package (package:flutter_app_packager/src/flutter_app_packager.dart:40:18)
#3      FlutterDistributor.package (package:flutter_distributor/src/flutter_distributor.dart:182:51)
<asynchronous suspension>
#4      FlutterDistributor.release (package:flutter_distributor/src/flutter_distributor.dart:327:45)
<asynchronous suspension>
#5      CommandRunner.runCommand (package:args/command_runner.dart:212:13)
<asynchronous suspension>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants