fastlane / fastlane

🚀 The easiest way to automate building and releasing your iOS and Android apps
https://fastlane.tools
MIT License
39.66k stars 5.72k forks source link

Fastlain Android screengrab. Could not retrieve response as fastlane runs in non-interactive mode #14869

Closed labrador116 closed 5 years ago

labrador116 commented 5 years ago

New Issue Checklist

Issue Description

Hello! I got the message "Could not retrieve response as fastlane runs in non-interactive mode" when I tried to run screengrab for Android. There are not any useful logs for me, only the message. I ran Fastlane in Bitrise. Could you help me with this problem?

Command executed

Step: screengrab

Complete output when running fastlane, including the stack trace and command used
 INFO[10:26:48] bitrise runs in Secret Filtering mode 
INFO[10:26:48] bitrise runs in CI mode           
INFO[10:26:48] Running workflow: test_emulator   
Switching to workflow: test_emulator
+------------------------------------------------------------------------------+

| (0) activate-ssh-key@4.0.3                                                   |
+---+---------------------------------------------------------------+----------+
+---+---------------------------------------------------------------+----------+
| ✓ | activate-ssh-key@4.0.3                                        | 4.67 sec |
+---+---------------------------------------------------------------+----------+
                                          ▼
INFO[10:26:54] Step uses latest version -- Updating StepLib ... 
INFO[10:26:54] Update StepLib (https://github.com/bitrise-io/bitrise-steplib.git)... 
+------------------------------------------------------------------------------+

| (1) git-clone                                                                |
+---+---------------------------------------------------------------+----------+
+---+---------------------------------------------------------------+----------+
| ✓ | git-clone                                                     | 17 sec   |
+---+---------------------------------------------------------------+----------+
                                          ▼
+------------------------------------------------------------------------------+

| (2) install-bundler                                                          |
+---+---------------------------------------------------------------+----------+
+---+---------------------------------------------------------------+----------+
| ✓ | install-bundler                                               | 21 sec   |
+---+---------------------------------------------------------------+----------+
                                          ▼
+------------------------------------------------------------------------------+

| (3) install-missing-android-tools@2.3.5                                      |
+---+---------------------------------------------------------------+----------+
+---+---------------------------------------------------------------+----------+
| ✓ | install-missing-android-tools@2.3.5                           | 84 sec   |
+---+---------------------------------------------------------------+----------+
                                          ▼
+------------------------------------------------------------------------------+

| (4) script@1.1.5                                                             |
+---+---------------------------------------------------------------+----------+
+---+---------------------------------------------------------------+----------+
| ✓ | script@1.1.5                                                  | 267 sec  |
+---+---------------------------------------------------------------+----------+
                                          ▼
+------------------------------------------------------------------------------+

| (5) fastlane@2.4.0                                                           |
+------------------------------------------------------------------------------+
| id: fastlane                                                                 |
| version: 2.4.0                                                               |
| collection: https://github.com/bitrise-io/bitrise-steplib.git                |
| toolkit: go                                                                  |
| time: 2019-06-07T10:33:24Z                                                   |
+------------------------------------------------------------------------------+
|                                                                              |
INFO[10:33:24] Start installing (golang) with apt-get       
INFO[10:33:24]  * [OK] Step dependency (go) installed, available. 
Configs:
- WorkDir: ./
- Lane: deploy
- UpdateFastlane: true
Expand WorkDir
Expanded WorkDir: /bitrise/src
Ensure cookies for Apple Developer Portal
Failed to activate the Bitrise Apple Developer Portal connection: %!s(MISSING)
Read more: https://devcenter.bitrise.io/getting-started/signing-up/connecting-apple-dev-account/
errors:
Falied to fetch portal data from Bitrise, error: Response status: 404 - Body: {"error_msg":"No Apple developer account found for this build."}
Determine desired Fastlane version
Checking Gemfile.lock (/bitrise/src/Gemfile.lock) for fastlane gem
Gemfile.lock defined fastlane version: 2.125.2
Install Fastlane with bundler
$ bundle "install" "--jobs" "20" "--retry" "5"
Don't run Bundler as root. Bundler can ask for sudo if it is needed, and
installing your bundle as root will break this application for all non-root
users on this machine.
Using CFPropertyList 3.0.0
Using public_suffix 2.0.5
Using addressable 2.6.0
Using atomos 0.1.3
Using babosa 1.0.2
Using bundler 2.0.1
Using claide 1.0.2
Using colored 1.2
Using colored2 3.1.2
Using highline 1.7.10
Using commander-fastlane 4.4.6
Using declarative 0.0.10
Using declarative-option 0.1.0
Using digest-crc 0.4.1
Using unf_ext 0.0.7.6
Using unf 0.1.4
Using domain_name 0.5.20180417
Using dotenv 2.7.2
Using emoji_regex 1.0.1
Using excon 0.64.0
Using multipart-post 2.0.0
Using faraday 0.15.4
Using http-cookie 1.0.3
Using faraday-cookie_jar 0.0.6
Using faraday_middleware 0.13.1
Using fastimage 2.1.5
Using gh_inspector 1.1.3
Using jwt 2.1.0
Using memoist 0.16.0
Using multi_json 1.13.1
Using os 1.0.1
Using signet 0.11.0
Using googleauth 0.6.7
Using httpclient 2.8.3
Using mime-types-data 3.2019.0331
Using mime-types 3.2.2
Using uber 0.1.0
Using representable 3.0.4
Using retriable 3.1.2
Using google-api-client 0.23.9
Using google-cloud-env 1.1.0
Using google-cloud-core 1.3.0
Using google-cloud-storage 1.16.0
Using json 2.2.0
Using mini_magick 4.5.1
Using multi_xml 0.6.0
Using plist 3.5.0
Using rubyzip 1.2.3
Using security 0.1.3
Using naturally 2.2.0
Using simctl 1.6.5
Using slack-notifier 2.3.2
Using terminal-notifier 2.0.0
Using unicode-display_width 1.6.0
Using terminal-table 1.8.0
Using tty-screen 0.7.0
Using tty-cursor 0.7.0
Using tty-spinner 0.9.1
Using word_wrap 1.0.0
Using nanaimo 0.2.6
Using xcodeproj 1.9.0
Using rouge 2.0.7
Using xcpretty 0.3.0
Using xcpretty-travis-formatter 1.0.0
Using fastlane 2.125.2
Using fastlane-plugin-android_versioning 0.5.1
Bundle complete! 2 Gemfile dependencies, 66 gems now installed.
Use `bundle info [gemname]` to see where a bundled gem is installed.
Fastlane version:
$ bundle "exec" "fastlane" "--version"
fastlane installation at path:
/usr/local/lib/ruby/gems/2.5.0/gems/fastlane-2.125.2/bin/fastlane
-----------------------------
fastlane 2.125.2
Run Fastlane
$ bundle "exec" "fastlane" "deploy"
+------------------------------------+---------+------------------------+
|                             Used plugins                              |
+------------------------------------+---------+------------------------+
| Plugin                             | Version | Action                 |
+------------------------------------+---------+------------------------+
| fastlane-plugin-android_versioning | 0.5.1   | get_value_from_build   |
|                                    |         | get_version_code       |
|                                    |         | get_version_name       |
|                                    |         | increment_version_code |
|                                    |         | increment_version_name |
|                                    |         | set_value_in_build     |
+------------------------------------+---------+------------------------+
[10:33:36]: Sending anonymous analytics information
[10:33:36]: Learn more at https://docs.fastlane.tools/#metrics
[10:33:36]: No personal or sensitive data is sent.
[10:33:36]: You can disable this by adding `opt_out_usage` at the top of your Fastfile
[10:33:36]: ----------------------------------------
[10:33:36]: --- Step: Verifying fastlane version ---
[10:33:36]: ----------------------------------------
[10:33:36]: Your fastlane version 2.125.2 matches the minimum requirement of 2.66.2  ✅
[10:33:36]: ------------------------------
[10:33:36]: --- Step: default_platform ---
[10:33:36]: ------------------------------
[10:33:36]: Driving the lane 'android deploy' 🚀
[10:33:36]: ------------------------------------
[10:33:36]: --- Step: increment_version_name ---
[10:33:36]: ------------------------------------
[10:33:36]: ------------------------------------
[10:33:36]: --- Step: increment_version_code ---
[10:33:36]: ------------------------------------
[10:33:36]: ------------------------------------------
[10:33:36]: --- Step: chmod 775 ./deploy_script.sh ---
[10:33:36]: ------------------------------------------
[10:33:36]: $ chmod 775 ./deploy_script.sh
[10:33:36]: --------------------
[10:33:36]: --- Step: gradle ---
[10:33:36]: --------------------
[10:33:36]: $ /bitrise/src/gradlew assembleProdRelease -p .
[10:33:39]: ▸ To honour the JVM settings for this build a new JVM will be forked. Please consider using the daemon: https://docs.gradle.org/5.1.1/userguide/gradle_daemon.html.
[10:33:42]: ▸ Daemon will be stopped at the end of the build stopping after processing
[10:33:55]: ▸ > Configure project :app
[10:33:55]: ▸ NDK is missing a "platforms" directory.
[10:33:55]: ▸ If you are using NDK, verify the ndk.dir is set to a valid NDK directory.  It is currently set to /bitrise/src.
[10:33:55]: ▸ If you are not using NDK, unset the NDK variable from ANDROID_NDK_HOME or local.properties to remove this warning.
[10:33:57]: ▸ WARNING: Configuration 'compile' is obsolete and has been replaced with 'implementation' and 'api'.
[10:33:57]: ▸ It will be removed at the end of 2018. For more information see: http://d.android.com/r/tools/update-dependency-configurations.html
[10:33:58]: ▸ WARNING: Configuration 'androidTestCompile' is obsolete and has been replaced with 'androidTestImplementation'.
[10:33:58]: ▸ It will be removed at the end of 2018. For more information see: http://d.android.com/r/tools/update-dependency-configurations.html
[10:34:05]: ▸ WARNING: API 'variant.getAssemble()' is obsolete and has been replaced with 'variant.getAssembleProvider()'.
[10:34:05]: ▸ It will be removed at the end of 2019.
[10:34:05]: ▸ For more information, see https://d.android.com/r/tools/task-configuration-avoidance.
[10:34:05]: ▸ To determine what is calling variant.getAssemble(), use -Pandroid.debug.obsoleteApi=true on the command line to display more information.
[10:34:06]: ▸ WARNING: API 'variantOutput.getProcessResources()' is obsolete and has been replaced with 'variantOutput.getProcessResourcesProvider()'.
[10:34:06]: ▸ It will be removed at the end of 2019.
[10:34:06]: ▸ For more information, see https://d.android.com/r/tools/task-configuration-avoidance.
[10:34:06]: ▸ To determine what is calling variantOutput.getProcessResources(), use -Pandroid.debug.obsoleteApi=true on the command line to display more information.
[10:34:06]: ▸ WARNING: API 'variantOutput.getProcessManifest()' is obsolete and has been replaced with 'variantOutput.getProcessManifestProvider()'.
[10:34:06]: ▸ It will be removed at the end of 2019.
[10:34:06]: ▸ For more information, see https://d.android.com/r/tools/task-configuration-avoidance.
[10:34:06]: ▸ To determine what is calling variantOutput.getProcessManifest(), use -Pandroid.debug.obsoleteApi=true on the command line to display more information.
[10:34:06]: ▸ WARNING: API 'variant.getMergeResources()' is obsolete and has been replaced with 'variant.getMergeResourcesProvider()'.
[10:34:06]: ▸ It will be removed at the end of 2019.
[10:34:06]: ▸ For more information, see https://d.android.com/r/tools/task-configuration-avoidance.
[10:34:06]: ▸ To determine what is calling variant.getMergeResources(), use -Pandroid.debug.obsoleteApi=true on the command line to display more information.
[10:34:06]: ▸ WARNING: API 'variant.getMergeAssets()' is obsolete and has been replaced with 'variant.getMergeAssetsProvider()'.
[10:34:06]: ▸ It will be removed at the end of 2019.
[10:34:06]: ▸ For more information, see https://d.android.com/r/tools/task-configuration-avoidance.
[10:34:06]: ▸ To determine what is calling variant.getMergeAssets(), use -Pandroid.debug.obsoleteApi=true on the command line to display more information.
[10:34:06]: ▸ WARNING: API 'variant.getPackageApplication()' is obsolete and has been replaced with 'variant.getPackageApplicationProvider()'.
[10:34:06]: ▸ It will be removed at the end of 2019.
[10:34:06]: ▸ For more information, see https://d.android.com/r/tools/task-configuration-avoidance.
[10:34:06]: ▸ To determine what is calling variant.getPackageApplication(), use -Pandroid.debug.obsoleteApi=true on the command line to display more information.
[10:34:06]: ▸ WARNING: API 'variant.getExternalNativeBuildTasks()' is obsolete and has been replaced with 'variant.getExternalNativeBuildProviders()'.
[10:34:06]: ▸ It will be removed at the end of 2019.
[10:34:06]: ▸ For more information, see https://d.android.com/r/tools/task-configuration-avoidance.
[10:34:06]: ▸ To determine what is calling variant.getExternalNativeBuildTasks(), use -Pandroid.debug.obsoleteApi=true on the command line to display more information.
[10:34:07]: ▸ registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)
[10:34:07]: ▸ registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)
[10:34:07]: ▸ registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)
[10:34:07]: ▸ registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)
[10:34:07]: ▸ registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)
[10:34:07]: ▸ registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)
[10:34:07]: ▸ registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)
[10:34:07]: ▸ registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection)
[10:34:08]: ▸ > Configure project :phone-field
[10:34:08]: ▸ NDK is missing a "platforms" directory.
[10:34:08]: ▸ If you are using NDK, verify the ndk.dir is set to a valid NDK directory.  It is currently set to /bitrise/src.
[10:34:08]: ▸ If you are not using NDK, unset the NDK variable from ANDROID_NDK_HOME or local.properties to remove this warning.
[10:34:09]: ▸ > Task :app:preBuild UP-TO-DATE
[10:34:09]: ▸ > Task :phone-field:preBuild UP-TO-DATE
[10:34:09]: ▸ > Task :phone-field:extractProguardFiles
[10:34:09]: ▸ > Task :phone-field:preReleaseBuild
[10:34:09]: ▸ > Task :phone-field:checkReleaseManifest
[10:34:10]: ▸ > Task :phone-field:processReleaseManifest
[10:34:10]: ▸ > Task :phone-field:compileReleaseAidl NO-SOURCE
[10:34:10]: ▸ > Task :phone-field:packageReleaseRenderscript NO-SOURCE
[10:34:10]: ▸ > Task :phone-field:mergeReleaseShaders
[10:34:10]: ▸ > Task :phone-field:compileReleaseShaders
[10:34:10]: ▸ > Task :phone-field:generateReleaseAssets
[10:34:10]: ▸ > Task :phone-field:packageReleaseAssets
[10:34:10]: ▸ > Task :app:prepareLintJar
[10:34:10]: ▸ > Task :phone-field:compileReleaseRenderscript NO-SOURCE
[10:34:10]: ▸ > Task :phone-field:generateReleaseBuildConfig
[10:34:10]: ▸ > Task :phone-field:generateReleaseResValues
[10:34:10]: ▸ > Task :phone-field:generateReleaseResources
[10:34:14]: ▸ > Task :phone-field:packageReleaseResources
[10:34:44]: ▸ > Task :app:preProdReleaseBuild
[10:34:53]: ▸ > Task :app:compileProdReleaseAidl NO-SOURCE
[10:34:53]: ▸ > Task :app:compileProdReleaseRenderscript NO-SOURCE
[10:34:53]: ▸ > Task :app:checkProdReleaseManifest
[10:34:53]: ▸ > Task :app:generateProdReleaseBuildConfig
[10:34:53]: ▸ > Task :app:mergeProdReleaseShaders
[10:34:53]: ▸ > Task :app:compileProdReleaseShaders
[10:34:53]: ▸ > Task :app:generateProdReleaseAssets
[10:34:53]: ▸ > Task :app:mergeProdReleaseAssets
[10:34:53]: ▸ > Task :app:writeProdReleaseApplicationId
[10:34:53]: ▸ > Task :app:processProdReleaseGoogleServices
[10:34:53]: ▸ Parsing json file: /bitrise/src/app/google-services.json
[10:34:53]: ▸ > Task :app:createProdReleaseCompatibleScreenManifests
[10:34:53]: ▸ > Task :app:mainApkListPersistenceProdRelease
[10:34:54]: ▸ > Task :app:processProdReleaseManifest
[10:34:54]: ▸ /bitrise/src/app/src/main/AndroidManifest.xml:26:5-67 Warning:
[10:34:54]: ▸ Element uses-permission#android.permission.WAKE_LOCK at AndroidManifest.xml:26:5-67 duplicated with element declared at AndroidManifest.xml:13:5-68
[10:34:54]: ▸ /bitrise/src/app/src/main/AndroidManifest.xml:29:5-81 Warning:
[10:34:54]: ▸ Element uses-permission#android.permission.WRITE_EXTERNAL_STORAGE at AndroidManifest.xml:29:5-81 duplicated with element declared at AndroidManifest.xml:14:5-81
[10:34:55]: ▸ > Task :app:fabricGenerateResourcesProdRelease
[10:34:55]: ▸ > Task :app:generateProdReleaseSources
[10:34:57]: ▸ > Task :phone-field:generateReleaseRFile
[10:34:57]: ▸ > Task :phone-field:prepareLintJar
[10:34:57]: ▸ > Task :phone-field:generateReleaseSources
[10:34:58]: ▸ > Task :phone-field:javaPreCompileRelease
[10:35:07]: ▸ > Task :phone-field:compileReleaseJavaWithJavac
[10:35:07]: ▸ > Task :phone-field:bundleLibCompileRelease
[10:35:17]: ▸ > Task :app:javaPreCompileProdRelease
[10:35:17]: ▸ > Task :app:generateProdReleaseResValues
[10:35:17]: ▸ > Task :app:generateProdReleaseResources
[10:35:47]: ▸ > Task :app:mergeProdReleaseResources
[10:37:14]: ▸ > Task :app:processProdReleaseResources
[10:37:17]: ▸ > Task :app:compileProdReleaseJavaWithJavac
[10:37:17]: ▸ Gradle may disable incremental compilation as the following annotation processors are not incremental: realm-annotations-processor-2.2.1.jar (io.realm:realm-annotations-processor:2.2.1), dagger-compiler-2.17.jar (com.google.dagger:dagger-compiler:2.17), butterknife-compiler-8.4.0.jar (com.jakewharton:butterknife-compiler:8.4.0), auto-service-1.0-rc2.jar (com.google.auto.service:auto-service:1.0-rc2).
[10:37:17]: ▸ Consider setting the experimental feature flag android.enableSeparateAnnotationProcessing=true in the gradle.properties file to run annotation processing in a separate task and make compilation incremental.
[10:37:28]: ▸ Note: Version 5.11.0 of Realm is now available: http://static.realm.io/downloads/java/latest
[10:37:28]: ▸ Note: Processing class RequestAttributes
[10:37:28]: ▸ Note: Processing class RequestData
[10:37:28]: ▸ Note: Processing class RequestUserRegistration
[10:37:28]: ▸ Note: Processing class EventReminder
[10:37:28]: ▸ Note: Processing class EventFollowing
[10:37:28]: ▸ Note: Processing class Page
[10:37:28]: ▸ Note: Processing class Attributes
[10:37:28]: ▸ Note: Processing class ApiResponseActivateMeta
[10:37:28]: ▸ Note: Processing class ApiResponseActivate
[10:37:28]: ▸ Note: Processing class ApiResponseActivateData
[10:37:28]: ▸ Note: Processing class ApiResponseActivateAttributes
[10:37:28]: ▸ Note: Processing class Twitter
[10:37:28]: ▸ Note: Processing class UsersMetadata
[10:37:28]: ▸ Note: Processing class Facebook
[10:37:28]: ▸ Note: Processing class Instagram
[10:37:28]: ▸ Note: Processing class GetUserAttribute
[10:37:28]: ▸ Note: Processing class GetUserData
[10:37:28]: ▸ Note: Processing class RealmString
[10:37:28]: ▸ Note: Creating DefaultRealmModule
[10:37:45]: ▸ Note: Some input files use or override a deprecated API.
[10:37:45]: ▸ Note: Recompile with -Xlint:deprecation for details.
[10:37:45]: ▸ Note: Some input files use unchecked or unsafe operations.
[10:37:45]: ▸ Note: Recompile with -Xlint:unchecked for details.
[10:37:50]: ▸ > Task :app:compileProdReleaseSources
[10:37:50]: ▸ > Task :app:validateSigningProdRelease
[10:37:50]: ▸ > Task :app:signingConfigWriterProdRelease
[10:37:51]: ▸ > Task :app:checkProdReleaseDuplicateClasses
[10:37:51]: ▸ > Task :phone-field:bundleLibRuntimeRelease
[10:37:58]: ▸ > Task :app:transformClassesWithRealmTransformerForProdRelease
[10:38:06]: ▸ /root/.gradle/caches/transforms-2/files-2.1/7db0db39204116cf29f0ed3815f1943f/jars/classes.jar: D8: Type `rx.subscriptions.Subscriptions` was not found, it is required for default or static interface methods desugaring of `void io.realm.rx.RealmObservableFactory$6.call(rx.Subscriber)`
[10:38:06]: ▸ /root/.gradle/caches/transforms-2/files-2.1/7db0db39204116cf29f0ed3815f1943f/jars/classes.jar: D8: Type `rx.Observable` was not found, it is required for default or static interface methods desugaring of `rx.Observable io.realm.rx.RealmObservableFactory.from(io.realm.Realm)`
[10:38:11]: ▸ /root/.gradle/caches/transforms-2/files-2.1/7db0db39204116cf29f0ed3815f1943f/jars/classes.jar: D8: Interface `rx.functions.Action0` not found. It's needed to make sure desugaring of `io.realm.rx.RealmObservableFactory$7$2` is correct. Desugaring will assume that this interface has no default method.
[10:38:11]: ▸ /root/.gradle/caches/transforms-2/files-2.1/7db0db39204116cf29f0ed3815f1943f/jars/classes.jar: D8: Interface `rx.Observable$OnSubscribe` not found. It's needed to make sure desugaring of `io.realm.rx.RealmObservableFactory$6` is correct. Desugaring will assume that this interface has no default method.
[10:38:28]: ▸ > Task :app:transformClassesWithDexBuilderForProdRelease
[10:38:36]: ▸ /root/.gradle/caches/transforms-2/files-2.1/2a965efa09551fdb5908c803e6e65e0d/jars/classes.jar: D8: Type `libcore.io.Memory` was not found, it is required for default or static interface methods desugaring of `void com.google.android.gms.internal.measurement.zzxj$zza.zza(long, byte)`
[10:39:15]: ▸ /root/.gradle/caches/modules-2/files-2.1/com.squareup.retrofit2/retrofit/2.5.0/713ce36037bf24a76a3974c05cb85c3f754b1cc3/retrofit-2.5.0.jar: D8: Type `kotlin.jvm.internal.Intrinsics` was not found, it is required for default or static interface methods desugaring of `java.lang.Object retrofit2.-KotlinExtensions.create(retrofit2.Retrofit)`
[10:39:16]: ▸ /root/.gradle/caches/modules-2/files-2.1/com.squareup.okhttp3/okhttp/3.12.0/b36f4a04584c0fb0d9af2d3401cdff8dacb1ea54/okhttp-3.12.0.jar: D8: Type `org.conscrypt.Conscrypt` was not found, it is required for default or static interface methods desugaring of `java.security.Provider okhttp3.internal.platform.ConscryptPlatform.getProvider()`
[10:39:28]: ▸ /root/.gradle/caches/transforms-2/files-2.1/8d2a0b162ce5d349fe13cde1e70d0e01/jars/classes.jar: D8: Type `org.slf4j.LoggerFactory` was not found, it is required for default or static interface methods desugaring of `void org.apache.thrift.transport.TSocket.()`
[10:39:34]: ▸ /root/.gradle/caches/transforms-2/files-2.1/e07fe3e99cdaa0f4cf40ec1d5e445306/jars/classes.jar: D8: Type `android.net.http.AndroidHttpClient` was not found, it is required for default or static interface methods desugaring of `com.android.volley.RequestQueue com.android.volley.toolbox.Volley.newRequestQueue(android.content.Context, com.android.volley.toolbox.BaseHttpStack)`
[10:39:36]: ▸ /root/.gradle/caches/modules-2/files-2.1/com.esotericsoftware.kryo/kryo/2.24.0/c6b206e80cfd97e66a1364003724491c757b92f/kryo-2.24.0.jar: D8: Type `java.beans.Introspector` was not found, it is required for default or static interface methods desugaring of `void com.esotericsoftware.kryo.serializers.BeanSerializer.(com.esotericsoftware.kryo.Kryo, java.lang.Class)`
[10:39:58]: ▸ JarCode: JSR encountered; reparse using JSRInlinerAdapter
[10:39:58]: ▸ JarCode: JSR encountered; reparse using JSRInlinerAdapter
[10:39:59]: ▸ JarCode: JSR encountered; reparse using JSRInlinerAdapter
[10:39:59]: ▸ JarCode: JSR encountered; reparse using JSRInlinerAdapter
[10:39:59]: ▸ JarCode: JSR encountered; reparse using JSRInlinerAdapter
[10:39:59]: ▸ JarCode: JSR encountered; reparse using JSRInlinerAdapter
[10:39:59]: ▸ JarCode: JSR encountered; reparse using JSRInlinerAdapter
[10:39:59]: ▸ JarCode: JSR encountered; reparse using JSRInlinerAdapter
[10:39:59]: ▸ JarCode: JSR encountered; reparse using JSRInlinerAdapter
[10:39:59]: ▸ JarCode: JSR encountered; reparse using JSRInlinerAdapter
[10:39:59]: ▸ JarCode: JSR encountered; reparse using JSRInlinerAdapter
[10:39:59]: ▸ JarCode: JSR encountered; reparse using JSRInlinerAdapter
[10:39:59]: ▸ JarCode: JSR encountered; reparse using JSRInlinerAdapter
[10:40:00]: ▸ JarCode: JSR encountered; reparse using JSRInlinerAdapter
[10:40:00]: ▸ JarCode: JSR encountered; reparse using JSRInlinerAdapter
[10:40:00]: ▸ JarCode: JSR encountered; reparse using JSRInlinerAdapter
[10:40:00]: ▸ JarCode: JSR encountered; reparse using JSRInlinerAdapter
[10:40:00]: ▸ JarCode: JSR encountered; reparse using JSRInlinerAdapter
[10:40:00]: ▸ JarCode: JSR encountered; reparse using JSRInlinerAdapter
[10:40:00]: ▸ JarCode: JSR encountered; reparse using JSRInlinerAdapter
[10:40:00]: ▸ JarCode: JSR encountered; reparse using JSRInlinerAdapter
[10:40:00]: ▸ JarCode: JSR encountered; reparse using JSRInlinerAdapter
[10:40:00]: ▸ JarCode: JSR encountered; reparse using JSRInlinerAdapter
[10:40:00]: ▸ JarCode: JSR encountered; reparse using JSRInlinerAdapter
[10:40:00]: ▸ JarCode: JSR encountered; reparse using JSRInlinerAdapter
[10:40:00]: ▸ JarCode: JSR encountered; reparse using JSRInlinerAdapter
[10:40:00]: ▸ JarCode: JSR encountered; reparse using JSRInlinerAdapter
[10:40:01]: ▸ JarCode: JSR encountered; reparse using JSRInlinerAdapter
[10:40:01]: ▸ JarCode: JSR encountered; reparse using JSRInlinerAdapter
[10:40:01]: ▸ JarCode: JSR encountered; reparse using JSRInlinerAdapter
[10:40:01]: ▸ JarCode: JSR encountered; reparse using JSRInlinerAdapter
[10:40:02]: ▸ JarCode: JSR encountered; reparse using JSRInlinerAdapter
[10:40:02]: ▸ JarCode: JSR encountered; reparse using JSRInlinerAdapter
[10:40:02]: ▸ JarCode: JSR encountered; reparse using JSRInlinerAdapter
[10:40:02]: ▸ JarCode: JSR encountered; reparse using JSRInlinerAdapter
[10:40:02]: ▸ JarCode: JSR encountered; reparse using JSRInlinerAdapter
[10:40:02]: ▸ JarCode: JSR encountered; reparse using JSRInlinerAdapter
[10:40:02]: ▸ JarCode: JSR encountered; reparse using JSRInlinerAdapter
[10:40:02]: ▸ JarCode: JSR encountered; reparse using JSRInlinerAdapter
[10:40:30]: ▸ > Task :app:transformClassesWithMultidexlistForProdRelease
[10:40:43]: ▸ > Task :app:transformDexArchiveWithDexMergerForProdRelease
[10:40:43]: ▸ > Task :app:mergeProdReleaseJniLibFolders
[10:40:44]: ▸ > Task :phone-field:processReleaseJavaRes NO-SOURCE
[10:40:44]: ▸ > Task :phone-field:bundleLibResRelease
[10:40:44]: ▸ > Task :phone-field:mergeReleaseJniLibFolders
[10:40:44]: ▸ > Task :phone-field:transformNativeLibsWithMergeJniLibsForRelease
[10:40:44]: ▸ > Task :phone-field:transformNativeLibsWithIntermediateJniLibsForRelease
[10:40:47]: ▸ > Task :app:transformNativeLibsWithMergeJniLibsForProdRelease
[10:40:47]: ▸ > Task :app:processProdReleaseJavaRes NO-SOURCE
[10:40:51]: ▸ > Task :app:transformResourcesWithMergeJavaResForProdRelease
[10:41:21]: ▸ > Task :app:packageProdRelease
[10:41:21]: ▸ > Task :app:assembleProdRelease
[10:41:21]: ▸ Deprecated Gradle features were used in this build, making it incompatible with Gradle 6.0.
[10:41:21]: ▸ Use '--warning-mode all' to show the individual deprecation warnings.
[10:41:21]: ▸ See https://docs.gradle.org/5.1.1/userguide/command_line_interface.html#sec:command_line_warnings
[10:41:21]: ▸ BUILD SUCCESSFUL in 7m 44s
[10:41:21]: ▸ 48 actionable tasks: 48 executed
[10:41:22]: ------------------------
[10:41:22]: --- Step: screengrab ---
[10:41:22]: ------------------------
+-----------------------------+------------------------------------------------+
|                        Summary for screengrab 2.125.2                        |
+-----------------------------+------------------------------------------------+
| app_package_name            | com.whvo                                       |
| tests_package_name          | com.whvo.test                                  |
| android_home                | /opt/android-sdk-linux                         |
| locales                     | ["en-US"]                                      |
| clear_previous_screenshots  | false                                          |
| output_directory            | fastlane/metadata/android                      |
| skip_open_summary           | true                                           |
| test_instrumentation_runner | android.support.test.runner.AndroidJUnitRunner |
| ending_locale               | en-US                                          |
| device_type                 | phone                                          |
| exit_on_test_failure        | true                                           |
| reinstall_app               | false                                          |
+-----------------------------+------------------------------------------------+
[10:41:22]: Limiting the test classes run by `screengrab` to just those that generate screenshots can make runs faster.
[10:41:22]: Consider using the :use_tests_in_classes or :use_tests_in_packages option, and organize your tests accordingly.
[10:41:22]: $ /opt/android-sdk-linux/platform-tools/adb devices -l
[10:41:22]: ▸ List of devices attached
[10:41:22]: ▸ emulator-5554          device product:sdk_gphone_x86 model:Android_SDK_built_for_x86 device:generic_x86 transport_id:2
[10:41:22]: $ /opt/android-sdk-linux/platform-tools/adb -s emulator-5554 shell echo \$EXTERNAL_STORAGE
[10:41:22]: ▸ /sdcard
[10:41:22]: Cleaning screenshots on device
[10:41:22]: $ /opt/android-sdk-linux/platform-tools/adb -s emulator-5554 shell rm -rf /sdcard/com.whvo/screengrab
[10:41:22]: $ /opt/android-sdk-linux/platform-tools/adb -s emulator-5554 shell rm -rf /data/data/com.whvo/app_screengrab
[10:41:23]: To not be asked about this value, you can specify it using 'app_apk_path'
[10:41:23]: Select your debug app APK
+-----------------------------+--------------------------------------------------------------------------+
|                                              Lane Context                                              |
+-----------------------------+--------------------------------------------------------------------------+
| DEFAULT_PLATFORM            | android                                                                  |
| PLATFORM_NAME               | android                                                                  |
| LANE_NAME                   | android deploy                                                           |
| VERSION_NAME                | 0.0.67                                                                   |
| VERSION_CODE                | 573                                                                      |
| GRADLE_BUILD_TYPE           | Release                                                                  |
| GRADLE_ALL_APK_OUTPUT_PATHS | ["/bitrise/src/app/build/outputs/apk/prod/release/app-prod-release.apk"] |
| GRADLE_ALL_AAB_OUTPUT_PATHS | []                                                                       |
| GRADLE_APK_OUTPUT_PATH      | /bitrise/src/app/build/outputs/apk/prod/release/app-prod-release.apk     |
+-----------------------------+--------------------------------------------------------------------------+
[10:41:23]: Could not retrieve response as fastlane runs in non-interactive mode
+------+------------------------------+-------------+
|                 fastlane summary                  |
+------+------------------------------+-------------+
| Step | Action                       | Time (in s) |
+------+------------------------------+-------------+
| 1    | Verifying fastlane version   | 0           |
| 2    | default_platform             | 0           |
| 3    | increment_version_name       | 0           |
| 4    | increment_version_code       | 0           |
| 5    | chmod 775 ./deploy_script.sh | 0           |
| 6    | gradle                       | 465         |
| 💥   | screengrab                   | 0           |
+------+------------------------------+-------------+
[10:41:23]: fastlane finished with errors
Looking for related GitHub issues on fastlane/fastlane...
➡️  FastLane 2.124 FastlaneCore::Interface::FastlaneCrash: [!] Could not retrieve response as fastlane runs in non-interactive mode
    https://github.com/fastlane/fastlane/issues/14835 [open] 4 💬
    a week ago
➡️  Supply isn't working on CI with Google auth .p12 files
    https://github.com/fastlane/fastlane/issues/14128 [closed] 2 💬
    7 weeks ago
➡️  gitlab-runner exec shell result FastlaneCrash
    https://github.com/fastlane/fastlane/issues/13675 [closed] 4 💬
    24 Feb 2019
and 35 more at: https://github.com/fastlane/fastlane/search?q=Could%20not%20retrieve%20response%20as%20fastlane%20runs%20in%20non-interactive%20mode&type=Issues&utf8=✓
bundler: failed to load command: fastlane (/usr/local/bin/fastlane)
FastlaneCore::Interface::FastlaneCrash: [!] Could not retrieve response as fastlane runs in non-interactive mode
  /usr/local/lib/ruby/gems/2.5.0/gems/fastlane-2.125.2/fastlane_core/lib/fastlane_core/ui/interface.rb:129:in `crash!'
  /usr/local/lib/ruby/gems/2.5.0/gems/fastlane-2.125.2/fastlane_core/lib/fastlane_core/ui/implementations/shell.rb:155:in `verify_interactive!'
  /usr/local/lib/ruby/gems/2.5.0/gems/fastlane-2.125.2/fastlane_core/lib/fastlane_core/ui/implementations/shell.rb:138:in `select'
  /usr/local/lib/ruby/gems/2.5.0/gems/fastlane-2.125.2/fastlane_core/lib/fastlane_core/ui/ui.rb:17:in `method_missing'
  /usr/local/lib/ruby/gems/2.5.0/gems/fastlane-2.125.2/screengrab/lib/screengrab/runner.rb:113:in `select_app_apk'
  /usr/local/lib/ruby/gems/2.5.0/gems/fastlane-2.125.2/screengrab/lib/screengrab/runner.rb:65:in `run'
  /usr/local/lib/ruby/gems/2.5.0/gems/fastlane-2.125.2/fastlane/lib/fastlane/actions/capture_android_screenshots.rb:15:in `run'
  /usr/local/lib/ruby/gems/2.5.0/gems/fastlane-2.125.2/fastlane/lib/fastlane/runner.rb:256:in `block (2 levels) in execute_action'
  /usr/local/lib/ruby/gems/2.5.0/gems/fastlane-2.125.2/fastlane/lib/fastlane/actions/actions_helper.rb:50:in `execute_action'
  /usr/local/lib/ruby/gems/2.5.0/gems/fastlane-2.125.2/fastlane/lib/fastlane/runner.rb:235:in `block in execute_action'
  /usr/local/lib/ruby/gems/2.5.0/gems/fastlane-2.125.2/fastlane/lib/fastlane/runner.rb:227:in `chdir'
  /usr/local/lib/ruby/gems/2.5.0/gems/fastlane-2.125.2/fastlane/lib/fastlane/runner.rb:227:in `execute_action'
  /usr/local/lib/ruby/gems/2.5.0/gems/fastlane-2.125.2/fastlane/lib/fastlane/runner.rb:157:in `trigger_action_by_name'
  /usr/local/lib/ruby/gems/2.5.0/gems/fastlane-2.125.2/fastlane/lib/fastlane/fast_file.rb:154:in `method_missing'
  Fastfile:63:in `block (3 levels) in parsing_binding'
  Fastfile:58:in `each'
  Fastfile:58:in `block (2 levels) in parsing_binding'
  /usr/local/lib/ruby/gems/2.5.0/gems/fastlane-2.125.2/fastlane/lib/fastlane/lane.rb:33:in `call'
  /usr/local/lib/ruby/gems/2.5.0/gems/fastlane-2.125.2/fastlane/lib/fastlane/runner.rb:49:in `block in execute'
  /usr/local/lib/ruby/gems/2.5.0/gems/fastlane-2.125.2/fastlane/lib/fastlane/runner.rb:45:in `chdir'
  /usr/local/lib/ruby/gems/2.5.0/gems/fastlane-2.125.2/fastlane/lib/fastlane/runner.rb:45:in `execute'
  /usr/local/lib/ruby/gems/2.5.0/gems/fastlane-2.125.2/fastlane/lib/fastlane/lane_manager.rb:56:in `cruise_lane'
  /usr/local/lib/ruby/gems/2.5.0/gems/fastlane-2.125.2/fastlane/lib/fastlane/command_line_handler.rb:36:in `handle'
  /usr/local/lib/ruby/gems/2.5.0/gems/fastlane-2.125.2/fastlane/lib/fastlane/commands_generator.rb:108:in `block (2 levels) in run'
  /usr/local/lib/ruby/gems/2.5.0/gems/commander-fastlane-4.4.6/lib/commander/command.rb:178:in `call'
  /usr/local/lib/ruby/gems/2.5.0/gems/commander-fastlane-4.4.6/lib/commander/command.rb:153:in `run'
  /usr/local/lib/ruby/gems/2.5.0/gems/commander-fastlane-4.4.6/lib/commander/runner.rb:476:in `run_active_command'
  /usr/local/lib/ruby/gems/2.5.0/gems/fastlane-2.125.2/fastlane_core/lib/fastlane_core/ui/fastlane_runner.rb:76:in `run!'
  /usr/local/lib/ruby/gems/2.5.0/gems/commander-fastlane-4.4.6/lib/commander/delegates.rb:15:in `run!'
  /usr/local/lib/ruby/gems/2.5.0/gems/fastlane-2.125.2/fastlane/lib/fastlane/commands_generator.rb:333:in `run'
  /usr/local/lib/ruby/gems/2.5.0/gems/fastlane-2.125.2/fastlane/lib/fastlane/commands_generator.rb:41:in `start'
  /usr/local/lib/ruby/gems/2.5.0/gems/fastlane-2.125.2/fastlane/lib/fastlane/cli_tools_distributor.rb:119:in `take_off'
  /usr/local/lib/ruby/gems/2.5.0/gems/fastlane-2.125.2/bin/fastlane:23:in `'
  /usr/local/bin/fastlane:23:in `load'
  /usr/local/bin/fastlane:23:in `'
Fastlane command: (bundle "exec" "fastlane" "deploy") failed
If you want to send an issue report to fastlane (https://github.com/fastlane/fastlane/issues/new), you can find the output of fastlane env in the following log file:
/bitrise/deploy/fastlane_env.log
Command failed, error: exit status 1
|                                                                              |
+---+---------------------------------------------------------------+----------+
| x | fastlane@2.4.0 (exit code: 1)                                 | 486 sec  |
+---+---------------------------------------------------------------+----------+
| Issue tracker: https://github.com/bitrise-io/steps-fastlane/issues           |
| Source: https://github.com/bitrise-io/steps-fastlane                         |
+---+---------------------------------------------------------------+----------+
+------------------------------------------------------------------------------+
|                               bitrise summary                                |
+---+---------------------------------------------------------------+----------+
|   | title                                                         | time (s) |
+---+---------------------------------------------------------------+----------+
| ✓ | activate-ssh-key@4.0.3                                        | 4.67 sec |
+---+---------------------------------------------------------------+----------+
| ✓ | git-clone                                                     | 17 sec   |
+---+---------------------------------------------------------------+----------+
| ✓ | install-bundler                                               | 21 sec   |
+---+---------------------------------------------------------------+----------+
| ✓ | install-missing-android-tools@2.3.5                           | 84 sec   |
+---+---------------------------------------------------------------+----------+
| ✓ | script@1.1.5                                                  | 267 sec  |
+---+---------------------------------------------------------------+----------+
| x | fastlane@2.4.0 (exit code: 1)                                 | 486 sec  |
+---+---------------------------------------------------------------+----------+
| Issue tracker: https://github.com/bitrise-io/steps-fastlane/issues           |
| Source: https://github.com/bitrise-io/steps-fastlane                         |
+---+---------------------------------------------------------------+----------+
| Total runtime: 14.6 min                                                      |
+------------------------------------------------------------------------------+
Outdated analytics plugin, used format version is lower then host bitrise-cli's format version, please update the plugin
Submitting anonymized usage informations...
For more information visit:
https://github.com/bitrise-io/bitrise-plugins-analytics/blob/master/README.md
exit status 1 

Environment

 [REPLACE THIS WITH YOUR INFORMATION] 
fastlane-bot commented 5 years ago

It seems like this issue might be related to code signing :no_entry_sign:

Have you seen our new Code Signing Troubleshooting Guide? It will help you resolve the most common code signing issues :+1:

fastlane-bot commented 5 years ago

It seems like you have not included the output of fastlane env

To make it easier for us help you resolve this issue, please update the issue to include the output of fastlane env :+1:

labrador116 commented 5 years ago

The question is actual.

Hiroto-N commented 5 years ago

The logs say [10:41:23]: To not be asked about this value, you can specify it using 'app_apk_path' - You need to provide app_apk_path and tests_apk_path parameters in either the Screengrabfile or when calling the screengrab action in your Fastfile, otherwise screengrab will try to prompt you to select which file to use (hence the 'non-interactive mode' error).

fastlane-bot commented 5 years ago

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates.

Please make sure to update to the latest fastlane version and check if that solves the issue. Let us know if that works for you by adding a comment :+1:

fastlane-bot commented 5 years ago

This issue will be auto-closed because there hasn't been any activity for a few months. Feel free to open a new one if you still experience this problem :+1: