{"action":"created","issue":{"url":"https://api.github.com/repos/fastlane/fastlane/issues/3973","repository_url":"https://api.github.com/repos/fastlane/fastlane","labels_url":"https://api.github.com/repos/fastlane/fastlane/issues/3973/labels{/name}","comments_url":"https://api.github.com/repos/fastlane/fastlane/issues/3973/comments","events_url":"https://api.github.com/repos/fastlane/fastlane/issues/3973/events","html_url":"https://github.com/fastlane/fastlane/issues/3973","id":144316225,"number":3973,"title":"Uploading Android builds to Crashlytics Beta using Fastlane crashes Fastlane","user":{"login":"rinal6366","id":10605346,"avatar_url":"https://avatars.githubusercontent.com/u/10605346?v=3","gravatar_id":"","url":"https://api.github.com/users/rinal6366","html_url":"https://github.com/rinal6366","followers_url":"https://api.github.com/users/rinal6366/followers","following_url":"https://api.github.com/users/rinal6366/following{/other_user}","gists_url":"https://api.github.com/users/rinal6366/gists{/gist_id}","starred_url":"https://api.github.com/users/rinal6366/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rinal6366/subscriptions","organizations_url":"https://api.github.com/users/rinal6366/orgs","repos_url":"https://api.github.com/users/rinal6366/repos","events_url":"https://api.github.com/users/rinal6366/events{/privacy}","received_events_url":"https://api.github.com/users/rinal6366/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/fastlane/fastlane/labels/awaiting-reply","name":"awaiting-reply","color":"bfe5bf"},{"url":"https://api.github.com/repos/fastlane/fastlane/labels/fastlane","name":"fastlane","color":"CCCCCC"}],"state":"open","locked":false,"assignee":{"login":"asfalcone","id":1848683,"avatar_url":"https://avatars.githubusercontent.com/u/1848683?v=3","gravatar_id":"","url":"https://api.github.com/users/asfalcone","html_url":"https://github.com/asfalcone","followers_url":"https://api.github.com/users/asfalcone/followers","following_url":"https://api.github.com/users/asfalcone/following{/other_user}","gists_url":"https://api.github.com/users/asfalcone/gists{/gist_id}","starred_url":"https://api.github.com/users/asfalcone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asfalcone/subscriptions","organizations_url":"https://api.github.com/users/asfalcone/orgs","repos_url":"https://api.github.com/users/asfalcone/repos","events_url":"https://api.github.com/users/asfalcone/events{/privacy}","received_events_url":"https://api.github.com/users/asfalcone/received_events","type":"User","site_admin":false},"milestone":null,"comments":8,"created_at":"2016-03-29T16:24:30Z","updated_at":"2016-03-29T21:20:48Z","closed_at":null,"body":"### New Issue Checklist\r\n\r\n### Issue Description\r\nTrying to upload an apk file to Crashlytics Beta using fastlane crashes Fastlane.\r\n##### Complete output when running fastlane, including the stack trace and command used\r\n**Command Used:**\r\nfastlane platform(android) lane(upload)\r\n\r\n**Output**\r\n```\r\n\u001B[37m[11:25:26]: \u001B[0m\u001B[32m-------------------------------------------------\u001B[0m\r\n\u001B[37m[11:25:26]: \u001B[0m\u001B[32m--- Step: Verifying required fastlane version ---\u001B[0m\r\n\u001B[37m[11:25:26]: \u001B[0m\u001B[32m-------------------------------------------------\u001B[0m\r\n[11:25:26]: fastlane version valid\r\n\u001B[37m[11:25:26]: \u001B[0m\u001B[32m------------------------------\u001B[0m\r\n\u001B[37m[11:25:26]: \u001B[0m\u001B[32m--- Step: default_platform ---\u001B[0m\r\n\u001B[37m[11:25:26]: \u001B[0m\u001B[32m------------------------------\u001B[0m\r\n[11:25:26]: \u001B[32mDriving the lane 'android upload' 🚀\u001B[0m\r\n\u001B[37m[11:25:26]: \u001B[0m\u001B[32m-------------------------\u001B[0m\r\n\u001B[37m[11:25:26]: \u001B[0m\u001B[32m--- Step: crashlytics ---\u001B[0m\r\n\u001B[37m[11:25:26]: \u001B[0m\u001B[32m-------------------------\u001B[0m\r\n[11:25:26]: \u001B[32mUploading the build to Crashlytics Beta. Time for some ☕️.\u001B[0m\r\n[11:25:27]: \u001B[33m\u001B[33mVariable Dump:\u001B[0m\u001B[0m\r\n[11:25:27]: {:DEFAULT_PLATFORM=>:android, :PLATFORM_NAME=>:android, :LANE_NAME=>\"android upload\"}\r\n[11:25:27]: \u001B[31mShell command exited with exit status 1 instead of 0.\u001B[0m\r\n\r\n+------+-------------------------------------+-------------+\r\n|                     \u001B[32mfastlane summary\u001B[0m                     |\r\n+------+-------------------------------------+-------------+\r\n| Step | Action                              | Time (in s) |\r\n+------+-------------------------------------+-------------+\r\n| 1    | Verifying required fastlane version | 0           |\r\n| 2    | default_platform                    | 0           |\r\n| 3    | crashlytics                         | 1           |\r\n+------+-------------------------------------+-------------+\r\n\r\n[11:25:27]: \u001B[31mfastlane finished with errors\u001B[0m\r\n\u001B[33m-------------------------------------------------------------------------------------------\u001B[0m\r\n\u001B[33m😨  An error occured. Please enable crash reports using `fastlane enable_crash_reporting`.\u001B[0m\r\n\u001B[33m👍  This makes resolving issues much easier and helps improve fastlane.\u001B[0m\r\n\u001B[33m🔒  The reports will be stored securely on getsentry.com.\u001B[0m\r\n\u001B[33m🙊  More information about privacy: https://github.com/fastlane/fastlane/releases/tag/1.33.3\u001B[0m\r\n\u001B[33m-------------------------------------------------------------------------------------------\u001B[0m\r\n/Library/Ruby/Gems/2.0.0/gems/fastlane_core-0.39.1/lib/fastlane_core/ui/interface.rb:120:in `crash!': \u001B[31m[!] Shell command exited with exit status 1 instead of 0.\u001B[0m (FastlaneCore::Interface::FastlaneCrash)\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/fastlane_core-0.39.1/lib/fastlane_core/ui/ui.rb:14:in `method_missing'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/fastlane-1.68.0/lib/fastlane/helper/sh_helper.rb:44:in `sh_no_action'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/fastlane-1.68.0/lib/fastlane/helper/sh_helper.rb:9:in `sh'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/fastlane-1.68.0/lib/fastlane/actions/crashlytics.rb:32:in `run'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/fastlane-1.68.0/lib/fastlane/runner.rb:143:in `block (2 levels) in execute_action'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/fastlane-1.68.0/lib/fastlane/actions/actions_helper.rb:35:in `execute_action'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/fastlane-1.68.0/lib/fastlane/runner.rb:129:in `block in execute_action'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/fastlane-1.68.0/lib/fastlane/runner.rb:128:in `chdir'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/fastlane-1.68.0/lib/fastlane/runner.rb:128:in `execute_action'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/fastlane-1.68.0/lib/fastlane/fast_file.rb:149:in `method_missing'\r\n\tfrom Fastfile:50:in `block (2 levels) in parsing_binding'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/fastlane-1.68.0/lib/fastlane/lane.rb:36:in `call'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/fastlane-1.68.0/lib/fastlane/lane.rb:36:in `call'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/fastlane-1.68.0/lib/fastlane/runner.rb:52:in `block in execute'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/fastlane-1.68.0/lib/fastlane/runner.rb:46:in `chdir'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/fastlane-1.68.0/lib/fastlane/runner.rb:46:in `execute'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/fastlane-1.68.0/lib/fastlane/lane_manager.rb:46:in `cruise_lane'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/fastlane-1.68.0/lib/fastlane/command_line_handler.rb:30:in `handle'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/fastlane-1.68.0/bin/fastlane:38:in `block (2 levels) in run'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/command.rb:178:in `call'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/command.rb:178:in `call'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/command.rb:153:in `run'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/runner.rb:428:in `run_active_command'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/fastlane_core-0.39.1/lib/fastlane_core/ui/fastlane_runner.rb:23:in `run!'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/delegates.rb:15:in `run!'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/fastlane-1.68.0/bin/fastlane:156:in `run'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/fastlane-1.68.0/bin/fastlane:162:in `<top (required)>'\r\n\tfrom /usr/local/bin/fastlane:23:in `load'\r\n\tfrom /usr/local/bin/fastlane:23:in `<main>'\r\nBuild step 'Execute shell' marked build as failure\r\n```\r\n\r\nPlease copy the complete content of your `Fastfile` and any other configuration files you use below:\r\n\r\nFastfile:\r\n```ruby\r\n# INSERT CONTENT HERE\r\nfastlane_version \"1.68.0\"\r\n\r\ndefault_platform :android\r\n\r\nplatform :android do\r\n  before_all do\r\n    # ENV[\"SLACK_URL\"] = \"https://hooks.slack.com/services/...\"\r\n  end\r\n\r\n  desc \"Runs all the tests\"\r\n  lane :test do\r\n    gradle(task: \"test\")\r\n  end\r\ndesc \"Distribute a new Beta via Crashlytics\"\r\n  lane :upload do\r\n    crashlytics(\r\n      crashlytics_path: \"project_path/fastlane/crashlytics-devtools.jar\",\r\n      apk_path: \"apk_name\", \r\n      groups: \"newbuild\",\r\n      api_token: \"token\",\r\n      build_secret: \"build-secret\"\r\n      )\r\nend\r\n\r\n### Environment\r\nMac Os, using Unity 5.3.3p3 to build the apk.\r\nfastlane version (fastlane -v):1.68.0\r\nDo you use bundler, rbenv or rvm? No\r\n"},"comment":{"url":"https://api.github.com/repos/fastlane/fastlane/issues/comments/203109958","html_url":"https://github.com/fastlane/fastlane/issues/3973#issuecomment-203109958","issue_url":"https://api.github.com/repos/fastlane/fastlane/issues/3973","id":203109958,"user":{"login":"rinal6366","id":10605346,"avatar_url":"https://avatars.githubusercontent.com/u/10605346?v=3","gravatar_id":"","url":"https://api.github.com/users/rinal6366","html_url":"https://github.com/rinal6366","followers_url":"https://api.github.com/users/rinal6366/followers","following_url":"https://api.github.com/users/rinal6366/following{/other_user}","gists_url":"https://api.github.com/users/rinal6366/gists{/gist_id}","starred_url":"https://api.github.com/users/rinal6366/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rinal6366/subscriptions","organizations_url":"https://api.github.com/users/rinal6366/orgs","repos_url":"https://api.github.com/users/rinal6366/repos","events_url":"https://api.github.com/users/rinal6366/events{/privacy}","received_events_url":"https://api.github.com/users/rinal6366/received_events","type":"User","site_admin":false},"created_at":"2016-03-29T21:20:47Z","updated_at":"2016-03-29T21:20:47Z","body":"@asfalcone \r\nOutput\r\nWARN - Crashlytics halted compilation because it can't extract Crashlytics build info from the APK: /apk_path/1709.apk\r\nException in thread \"main\" com.crashlytics.tools.android.exception.PluginException: Distribution upload failed.\r\n\tat com.crashlytics.tools.android.DeveloperTools.processProperties(DeveloperTools.java:617)\r\n\tat com.crashlytics.tools.android.DeveloperTools.processArgs(DeveloperTools.java:299)\r\n\tat com.crashlytics.tools.android.DeveloperTools.main(DeveloperTools.java:270)\r\nCaused by: com.crashlytics.tools.android.exception.DistributionException: Crashlytics halted compilation because it can't extract Crashlytics build info from the APK: apk_path/1709.apk\r\n\tat com.crashlytics.tools.android.DistributionTasks.uploadDistribution(DistributionTasks.java:64)\r\n\tat com.crashlytics.tools.android.DeveloperTools.processProperties(DeveloperTools.java:615)\r\n\t... 2 more\r\n"}}