Step #2 - "distribute-app": INFO : ▸ Unzipping /root/.gradle/wrapper/dists/gradle-6.6.1-all/ejrtlte9hlw8v6ii20a9584rs/gradle-6.6.1-all.zip to /root/.gradle/wrapper/dists/gradle-6.6.1-all/ejrtlte9hlw8v6ii20a9584rs Step #2 - "distribute-app": INFO : ▸ Downloading Step #2 - "distribute-app": INFO : $ /workspace/android/gradlew assembleDevDebug -p. Step #2 - "distribute-app": INFO : - Step: assembleDevDebug. Step #2 - "distribute-app": INFO : ▸ Warning: File /root/.android/repositories.cfg could not be loaded. Step #2 - "distribute-app": INFO : Driving the lane 'android distribute' □ Step #2 - "distribute-app": INFO : - Step: default_platform. Step #2 - "distribute-app": INFO : You can disable this by adding `opt_out_usage` at the top of your Fastfile Step #2 - "distribute-app": INFO : No personal or sensitive data is sent. Step #2 - "distribute-app": INFO : Learn more at Step #2 - "distribute-app": INFO : Sending anonymous analytics information Step #2 - "distribute-app": - package_name: '' Step #2 - "distribute-app": Successfully loaded Appfile at path '/workspace/android/fastlane/Appfile' Step #2 - "distribute-app": | ase_app_distribution | | tion | Step #2 - "distribute-app": | fastlane-plugin-fireb | 0.1.4 | firebase_app_distribu | Step #2 - "distribute-app": | Plugin | Version | Action | Step #2 - "distribute-app": | Used plugins | Step #2 - "distribute-app": INFO : Successfully installed 'fastlane-plugin-firebase_app_distribution' Step #2 - "distribute-app": WARN : Installing Ruby gem 'fastlane-plugin-firebase_app_distribution'. Step #2 - "distribute-app": DEBUG : Loading 'fastlane-plugin-firebase_app_distribution' plugin Step #2 - "distribute-app": DEBUG : Checking if there are any plugins that should be loaded. Step #2 - "distribute-app": : WARNING: fastlane requires your locale to be set to UTF-8. Step #2 - "distribute-app": : Get started using a Gemfile for fastlane Step #2 - "distribute-app": : $ bundle exec fastlane distribute -verbose Step #2 - "distribute-app": : To launch fastlane faster, please use Step #2 - "distribute-app": : However, it seems like you didn't use `bundle exec` firebase_app_distribution(Īpp:, // it resolves to an actual id and hence fastlane is able to upload APKĪlso we can observe above that fastlane says "no release notes provided in addition to saying no testers or groups provided" in the above stack trace though I have provided testers and release_notes in the task above.Ĭomplete logs below with fastlane verbosity: Step #2 - "distribute-app": : fastlane detected a Gemfile in the current directory Not sure why control goes to that line though I have specified "app" parameter inside "firebase_app_distribution" task within my "distribute" fastlane lane as below. If we look into this "firebase_app_distribution_action.rb" ruby file, it checks for ":app" param and if it doesn't exist then eventually lands in line no. I have provided link to that particular line here. When I looked at the error stack trace completely, there is line of code in firebase_app_distribution_action.rb which bubbled up this error. Step #2 - "distribute-app": from /usr/local/lib/ruby/gems/2.6.0/gems/fastlane-plugin-firebase_app_distribution-0.1.4/lib/fastlane/plugin/firebase_app_distribution/actions/firebase_app_distribution_action.rb:29:in `run' Step #2 - "distribute-app": from /usr/local/lib/ruby/gems/2.6.0/gems/fastlane-2.157.2/fastlane/lib/fastlane/helper/sh_helper.rb:80:in `sh_control_output' Step #2 - "distribute-app": from /usr/local/lib/ruby/gems/2.6.0/gems/fastlane-2.157.2/fastlane_core/lib/fastlane_core/ui/ui.rb:17:in `method_missing' Step #2 - "distribute-app": sh: 2: -testers-file: not found Step #2 - "distribute-app": ⚠ no testers or groups specified, skipping Step #2 - "distribute-app": ⚠ no release notes specified, skipping Step #2 - "distribute-app": ✔ uploaded distribution successfully! Step #2 - "distribute-app": i uploading distribution. Step #2 - "distribute-app": i getting app details. With this, I had to manually distribute the app on Firebase App Distribution console. However, it errors out post that with below message resulting in not being able to distribute to testers automatically. When cloud build runs, fastlane does upload the APK file to Firebase using "firebase_app_distribution_plugin" fastlane plugin. I am trying to distribute a pre-release Android app to testers via Flutter/Firebase App Distribution/fastlane/Google Cloud Build stack.
0 Comments
Leave a Reply. |