15 Replies Latest reply on Feb 15, 2018 3:42 AM by mkih40437034

    Successful build shown as error (CLI 8.0.0 Android)

    mkih40437034 Level 1

      Hi PGB community,

      looks like the PGB has a problem building for Android with the latest CLI 8.0.0.

      The build fails and the logs say that it was successfully built.

      Here's the log:

       

      COMPILE OUTPUT

       

      --------------------------------------------------------------------------------

       

      Android Studio project detected

       

      studio

       

      Configuration on demand is an incubating feature.

       

      :wrapper

       

       

       

      BUILD SUCCESSFUL in 0s

       

      1 actionable task: 1 executed

       

      Subproject Path: CordovaLib

       

      Subproject Path: app

       

      Configuration on demand is an incubating feature.

       

      publishNonDefault is deprecated and has no effect anymore. All variants are now published.

       

      Configuration 'compile' in project ':app' is deprecated. Use 'implementation' instead.

       

      The Task.leftShift(Closure) method has been deprecated and is scheduled to be removed in Gradle 5.0. Please use Task.doLast(Action) instead.

       

      at build_d2tv8679rs94vsosx83bmzjfd.run(/app/build.gradle:144)

       

      :CordovaLib:preBuild UP-TO-DATE

       

      :CordovaLib:preDebugBuild UP-TO-DATE

       

      :CordovaLib:compileDebugAidl

       

      :CordovaLib:compileDebugRenderscript

       

      :CordovaLib:checkDebugManifest

       

      :CordovaLib:generateDebugBuildConfig

       

      :CordovaLib:prepareLintJar

       

      :CordovaLib:generateDebugResValues

       

      :CordovaLib:generateDebugResources

       

      :CordovaLib:packageDebugResources

       

      :CordovaLib:platformAttrExtractor

       

      :CordovaLib:processDebugManifest

       

      :CordovaLib:javaPreCompileDebug

       

      :CordovaLib:processDebugJavaRes NO-SOURCE

       

      :app:preBuild UP-TO-DATE

       

      :app:preDebugBuild

       

      :app:compileDebugAidl

       

      :CordovaLib:packageDebugRenderscript NO-SOURCE

       

      :app:compileDebugRenderscript

       

      :app:checkDebugManifest

       

      :app:generateDebugBuildConfig

       

      :CordovaLib:processDebugResources

       

      :CordovaLib:generateDebugSources

       

      :CordovaLib:compileDebugJavaWithJavacNote: Some input files use or override a deprecated API.

       

      Note: Recompile with -Xlint:deprecation for details.

       

       

       

      :CordovaLib:transformClassesAndResourcesWithPrepareIntermediateJarsForDebug

       

      :app:prepareLintJar

       

      :app:generateDebugResValues

       

      :app:generateDebugResources

       

      :app:mergeDebugResources

       

      :app:createDebugCompatibleScreenManifests

       

      :app:processDebugManifest

       

      :app:splitsDiscoveryTaskDebug

       

      :app:processDebugResources

       

      :app:generateDebugSources

       

      :app:javaPreCompileDebug

       

      :app:compileDebugJavaWithJavacNote: Some input files use or override a deprecated API.

       

      Note: Recompile with -Xlint:deprecation for details.

       

      Note: Some input files use unchecked or unsafe operations.

       

      Note: Recompile with -Xlint:unchecked for details.

       

       

       

      :app:compileDebugNdk NO-SOURCE

       

      :app:compileDebugSources

       

      :CordovaLib:mergeDebugShaders

       

      :CordovaLib:compileDebugShaders

       

      :CordovaLib:generateDebugAssets

       

      :CordovaLib:mergeDebugAssets

       

      :app:mergeDebugShaders

       

      :app:compileDebugShaders

       

      :app:generateDebugAssets

       

      :app:mergeDebugAssets

       

      :app:transformClassesWithStackFramesFixerForDebug

       

      :app:transformClassesWithDesugarForDebug

       

      :app:transformClassesWithDexBuilderForDebug

       

      :app:transformDexArchiveWithExternalLibsDexMergerForDebug

       

      :app:transformDexArchiveWithDexMergerForDebug

       

      :CordovaLib:compileDebugNdk NO-SOURCE

       

      :CordovaLib:mergeDebugJniLibFolders

       

      :CordovaLib:transformNativeLibsWithMergeJniLibsForDebug

       

      :CordovaLib:transformNativeLibsWithIntermediateJniLibsForDebug

       

      :app:mergeDebugJniLibFolders

       

      :app:transformNativeLibsWithMergeJniLibsForDebug

       

      :app:processDebugJavaRes NO-SOURCE

       

      :app:transformResourcesWithMergeJavaResForDebug

       

      :app:validateSigningDebug

       

      :app:packageDebug

       

      :app:assembleDebug

       

      :app:cdvBuildDebug

       

       

       

      BUILD SUCCESSFUL in 1m 5s

       

      46 actionable tasks: 46 executed

       

      Built the following apk(s):

       

      /app/build/outputs/apk/debug/app-debug.apk

      But the PGB download button for Android is displaying an error.

       

      error.PNG

      Any ideas on this issue?

        • 1. Re: Successful build shown as error (CLI 8.0.0 Android)
          shaunm83342426

          I'm also having this same issue, with similar log output.
          I only get the error if I attempt to build against cli-8.0.0 but I am able to build against cli-7.1.0.

           

          Is this an issue with PGB or a setting/configuration with my app that isn't conforming to cli-8.0.0?

           

          App ID 2195846

          • 2. Re: Successful build shown as error (CLI 8.0.0 Android)
            jcesarmobile_ Adobe Community Professional

            I've looking into another thread where the OP provided his repo and the problem was he had too much files. Looks like for some reason when the app has too much files it doesn't appear as successful build.

             

            But that is a bug, there is nothing you can do about it, better report it on the phonegap build repository

            • 3. Re: Successful build shown as error (CLI 8.0.0 Android)
              mkih40437034 Level 1

              Yeah, looks like a bug to me too. Doesn't make sense to have successful build output on logs and error on the PGB frontend.

               

              Issue reported on PGB Twitter page, you can make a report too in order to have this resolved a bit faster.

              • 4. Re: Successful build shown as error (CLI 8.0.0 Android)
                mkih40437034 Level 1

                Sometimes the logs producing an error with insufficient memory for the JRE.

                 

                COMPILE OUTPUT

                --------------------------------------------------------------------------------

                Android Studio project detected

                studio

                Configuration on demand is an incubating feature.

                :wrapper

                 

                BUILD SUCCESSFUL in 1s

                1 actionable task: 1 executed

                Subproject Path: CordovaLib

                Subproject Path: app

                Configuration on demand is an incubating feature.

                publishNonDefault is deprecated and has no effect anymore. All variants are now published.

                Configuration 'compile' in project ':app' is deprecated. Use 'implementation' instead.

                The Task.leftShift(Closure) method has been deprecated and is scheduled to be removed in Gradle 5.0. Please use Task.doLast(Action) instead.

                at build_6o4llska21uwyll0eqsz9dr0h.run(/app/build.gradle:144)

                :CordovaLib:preBuild UP-TO-DATE

                :CordovaLib:preDebugBuild UP-TO-DATE

                :CordovaLib:compileDebugAidl

                :CordovaLib:compileDebugRenderscript

                :CordovaLib:checkDebugManifest

                :CordovaLib:generateDebugBuildConfig

                :CordovaLib:prepareLintJar

                :CordovaLib:generateDebugResValues

                :CordovaLib:generateDebugResources

                :CordovaLib:packageDebugResources

                :CordovaLib:platformAttrExtractor

                :CordovaLib:processDebugManifest

                :CordovaLib:javaPreCompileDebug

                :CordovaLib:processDebugJavaRes NO-SOURCE

                :app:preBuild UP-TO-DATE

                :app:preDebugBuild

                :app:compileDebugAidl

                :CordovaLib:packageDebugRenderscript NO-SOURCE

                :app:compileDebugRenderscript

                :app:checkDebugManifest

                :app:generateDebugBuildConfig

                :app:prepareLintJar

                :app:generateDebugResValues

                :app:generateDebugResources

                :app:mergeDebugResources

                :app:createDebugCompatibleScreenManifests

                :app:processDebugManifest

                :app:splitsDiscoveryTaskDebug

                :app:compileDebugNdk NO-SOURCE

                :CordovaLib:mergeDebugShaders

                :CordovaLib:processDebugResources

                :CordovaLib:generateDebugSources

                :CordovaLib:compileDebugJavaWithJavacNote: Some input files use or override a deprecated API.

                Note: Recompile with -Xlint:deprecation for details.

                 

                :CordovaLib:transformClassesAndResourcesWithPrepareIntermediateJarsForDebug

                :app:processDebugResources

                :app:generateDebugSources

                :app:javaPreCompileDebug

                :app:compileDebugJavaWithJavacNote: Some input files use or override a deprecated API.

                Note: Recompile with -Xlint:deprecation for details.

                Note: Some input files use unchecked or unsafe operations.

                Note: Recompile with -Xlint:unchecked for details.

                 

                :app:compileDebugSources

                :CordovaLib:compileDebugShaders

                :CordovaLib:generateDebugAssets

                :CordovaLib:mergeDebugAssets

                :app:mergeDebugShaders

                :app:compileDebugShaders

                :app:generateDebugAssets

                :app:mergeDebugAssets

                :app:transformClassesWithStackFramesFixerForDebug

                :app:transformClassesWithDesugarForDebug

                #

                # There is insufficient memory for the Java Runtime Environment to continue.

                # Native memory allocation (mmap) failed to map 65536 bytes for committing reserved memory.

                # An error report file with more information is saved as:

                # /app/hs_err_pid14514.log

                #

                # Compiler replay data is saved as:

                # /app/replay_pid14514.log

                 

                #

                # There is insufficient memory for the Java Runtime Environment to continue.

                # Native memory allocation (mmap) failed to map 65536 bytes for committing reserved memory.

                # An error report file with more information is saved as:

                # /app/hs_err_pid14520.log

                #

                # Compiler replay data is saved as:

                # /app/replay_pid14520.log

                 

                OpenJDK 64-Bit Server VM warning: INFO: os::commit_memory(0x00007f47d53b0000, 65536, 1) failed; error='Cannot allocate memory' (errno=12)

                 

                OpenJDK 64-Bit Server VM warning: INFO: os::commit_memory(0x00007f4abd3e0000, 65536, 1) failed; error='Cannot allocate memory' (errno=12)

                 

                :app:transformClassesWithDesugarForDebug FAILED

                 

                FAILURE: Build failed with an exception.

                 

                * What went wrong:

                Execution failed for task ':app:transformClassesWithDesugarForDebug'.

                > com.android.build.api.transform.TransformException: java.lang.RuntimeException: com.android.ide.common.process.ProcessException: Error while executing java process with main class com.google.devtools.build.android.desugar.Desugar with arguments {--input /app/build/intermediates/transforms/stackFramesFixer/debug/6.jar --output /app/build/intermediates/transforms/desugar/debug/8.jar --input /app/build/intermediates/transforms/stackFramesFixer/debug/27.jar --output /app/build/intermediates/transforms/desugar/debug/29.jar --input /app/build/intermediates/transforms/stackFramesFixer/debug/26.jar --output /app/build/intermediates/transforms/desugar/debug/28.jar --input /app/build/intermediates/transforms/stackFramesFixer/debug/7.jar --output /app/build/intermediates/transforms/desugar/debug/9.jar --input /app/build/intermediates/transforms/stackFramesFixer/debug/22.jar --output /app/build/intermediates/transforms/desugar/debug/24.jar --input /app/build/intermediates/transforms/stackFramesFixer/debug/3.jar --output /app/build/intermediates/transforms/desugar/debug/5.jar --input /app/build/intermediates/transforms/stackFramesFixer/debug/24.jar --output /app/build/intermediates/transforms/desugar/debug/26.jar --input /app/build/intermediates/transforms/stackFramesFixer/debug/18.jar --output /app/build/intermediates/transforms/desugar/debug/20.jar --input /app/build/intermediates/classes/debug --output /app/build/intermediates/transforms/desugar/debug/1 --input /app/build/intermediates/transforms/stackFramesFixer/debug/13.jar --output /app/build/intermediates/transforms/desugar/debug/15.jar --classpath_entry /CordovaLib/build/intermediates/intermediate-jars/debug/classes.jar --classpath_entry /app/build/intermediates/classes/debug --classpath_entry /app/build/intermediates/transforms/stackFramesFixer/debug/0.jar --classpath_entry /app/build/intermediates/transforms/stackFramesFixer/debug/1.jar --classpath_entry /app/build/intermediates/transforms/stackFramesFixer/debug/2.jar --classpath_entry /app/build/intermediates/transforms/stackFramesFixer/debug/3.jar --classpath_entry /app/build/intermediates/transforms/stackFramesFixer/debug/4.jar --classpath_entry /app/build/intermediates/transforms/stackFramesFixer/debug/5.jar --classpath_entry /app/build/intermediates/transforms/stackFramesFixer/debug/6.jar --classpath_entry /app/build/intermediates/transforms/stackFramesFixer/debug/7.jar --classpath_entry /app/build/intermediates/transforms/stackFramesFixer/debug/8.jar --classpath_entry /app/build/intermediates/transforms/stackFramesFixer/debug/9.jar --classpath_entry /app/build/intermediates/transforms/stackFramesFixer/debug/10.jar --classpath_entry /app/build/intermediates/transforms/stackFramesFixer/debug/11.jar --classpath_entry /app/build/intermediates/transforms/stackFramesFixer/debug/12.jar --classpath_entry /app/build/intermediates/transforms/stackFramesFixer/debug/13.jar --classpath_entry /app/build/intermediates/transforms/stackFramesFixer/debug/14.jar --classpath_entry /app/build/intermediates/transforms/stackFramesFixer/debug/15.jar --classpath_entry /app/build/intermediates/transforms/stackFramesFixer/debug/16.jar --classpath_entry /app/build/intermediates/transforms/stackFramesFixer/debug/17.jar --classpath_entry /app/build/intermediates/transforms/stackFramesFixer/debug/18.jar --classpath_entry /app/build/intermediates/transforms/stackFramesFixer/debug/19.jar --classpath_entry /app/build/intermediates/transforms/stackFramesFixer/debug/20.jar --classpath_entry /app/build/intermediates/transforms/stackFramesFixer/debug/21.jar --classpath_entry /app/build/intermediates/transforms/stackFramesFixer/debug/22.jar --classpath_entry /app/build/intermediates/transforms/stackFramesFixer/debug/23.jar --classpath_entry /app/build/intermediates/transforms/stackFramesFixer/debug/24.jar --classpath_entry /app/build/intermediates/transforms/stackFramesFixer/debug/25.jar --classpath_entry /app/build/intermediates/transforms/stackFramesFixer/debug/26.jar --classpath_entry /app/build/intermediates/transforms/stackFramesFixer/debug/27.jar --bootclasspath_entry /android-sdk/platforms/android-26/android.jar --bootclasspath_entry /android-sdk/platforms/android-26/optional/org.apache.http.legacy.jar --bootclasspath_entry /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.151-1.b12.35.amzn1.x86_64/jre/lib/resources.jar --bootclasspath_entry /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.151-1.b12.35.amzn1.x86_64/jre/lib/rt.jar --bootclasspath_entry /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.151-1.b12.35.amzn1.x86_64/jre/lib/jsse.jar --bootclasspath_entry /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.151-1.b12.35.amzn1.x86_64/jre/lib/jce.jar --bootclasspath_entry /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.151-1.b12.35.amzn1.x86_64/jre/lib/charsets.jar --min_sdk_version 19 --nodesugar_try_with_resources_if_needed --desugar_try_with_resources_omit_runtime_classes}

                 

                * Try:

                Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

                 

                * Get more help at https://help.gradle.org

                 

                BUILD FAILED in 16s

                35 actionable tasks: 35 executed

                Error: /gradlew: Command failed with exit code 1 Error output:

                Note: Some input files use or override a deprecated API.

                Note: Recompile with -Xlint:deprecation for details.

                Note: Some input files use or override a deprecated API.

                Note: Recompile with -Xlint:deprecation for details.

                Note: Some input files use unchecked or unsafe operations.

                Note: Recompile with -Xlint:unchecked for details.

                OpenJDK 64-Bit Server VM warning: INFO: os::commit_memory(0x00007f47d53b0000, 65536, 1) failed; error='Cannot allocate memory' (errno=12)

                 

                OpenJDK 64-Bit Server VM warning: INFO: os::commit_memory(0x00007f4abd3e0000, 65536, 1) failed; error='Cannot allocate memory' (errno=12)

                 

                 

                FAILURE: Build failed with an exception.

                 

                * What went wrong:

                Execution failed for task ':app:transformClassesWithDesugarForDebug'.

                > com.android.build.api.transform.TransformException: java.lang.RuntimeException: com.android.ide.common.process.ProcessException: Error while executing java process with main class com.google.devtools.build.android.desugar.Desugar with arguments {--input /app/build/intermediates/transforms/stackFramesFixer/debug/6.jar --output /app/build/intermediates/transforms/desugar/debug/8.jar --input /app/build/intermediates/transforms/stackFramesFixer/debug/27.jar --output /app/build/intermediates/transforms/desugar/debug/29.jar --input /app/build/intermediates/transforms/stackFramesFixer/debug/26.jar --output /app/build/intermediates/transforms/desugar/debug/28.jar --input /app/build/intermediates/transforms/stackFramesFixer/debug/7.jar --output /app/build/intermediates/transforms/desugar/debug/9.jar --input /app/build/intermediates/transforms/stackFramesFixer/debug/22.jar --output /app/build/intermediates/transforms/desugar/debug/24.jar --input /app/build/intermediates/transforms/stackFramesFixer/debug/3.jar --output /app/build/intermediates/transforms/desugar/debug/5.jar --input /app/build/intermediates/transforms/stackFramesFixer/debug/24.jar --output /app/build/intermediates/transforms/desugar/debug/26.jar --input /app/build/intermediates/transforms/stackFramesFixer/debug/18.jar --output /app/build/intermediates/transforms/desugar/debug/20.jar --input /app/build/intermediates/classes/debug --output /app/build/intermediates/transforms/desugar/debug/1 --input /app/build/intermediates/transforms/stackFramesFixer/debug/13.jar --output /app/build/intermediates/transforms/desugar/debug/15.jar --classpath_entry /CordovaLib/build/intermediates/intermediate-jars/debug/classes.jar --classpath_entry /app/build/intermediates/classes/debug --classpath_entry /app/build/intermediates/transforms/stackFramesFixer/debug/0.jar --classpath_entry /app/build/intermediates/transforms/stackFramesFixer/debug/1.jar --classpath_entry /app/build/intermediates/transforms/stackFramesFixer/debug/2.jar --classpath_entry /app/build/intermediates/transforms/stackFramesFixer/debug/3.jar --classpath_entry /app/build/intermediates/transforms/stackFramesFixer/debug/4.jar --classpath_entry /app/build/intermediates/transforms/stackFramesFixer/debug/5.jar --classpath_entry /app/build/intermediates/transforms/stackFramesFixer/debug/6.jar --classpath_entry /app/build/intermediates/transforms/stackFramesFixer/debug/7.jar --classpath_entry /app/build/intermediates/transforms/stackFramesFixer/debug/8.jar --classpath_entry /app/build/intermediates/transforms/stackFramesFixer/debug/9.jar --classpath_entry /app/build/intermediates/transforms/stackFramesFixer/debug/10.jar --classpath_entry /app/build/intermediates/transforms/stackFramesFixer/debug/11.jar --classpath_entry /app/build/intermediates/transforms/stackFramesFixer/debug/12.jar --classpath_entry /app/build/intermediates/transforms/stackFramesFixer/debug/13.jar --classpath_entry /app/build/intermediates/transforms/stackFramesFixer/debug/14.jar --classpath_entry /app/build/intermediates/transforms/stackFramesFixer/debug/15.jar --classpath_entry /app/build/intermediates/transforms/stackFramesFixer/debug/16.jar --classpath_entry /app/build/intermediates/transforms/stackFramesFixer/debug/17.jar --classpath_entry /app/build/intermediates/transforms/stackFramesFixer/debug/18.jar --classpath_entry /app/build/intermediates/transforms/stackFramesFixer/debug/19.jar --classpath_entry /app/build/intermediates/transforms/stackFramesFixer/debug/20.jar --classpath_entry /app/build/intermediates/transforms/stackFramesFixer/debug/21.jar --classpath_entry /app/build/intermediates/transforms/stackFramesFixer/debug/22.jar --classpath_entry /app/build/intermediates/transforms/stackFramesFixer/debug/23.jar --classpath_entry /app/build/intermediates/transforms/stackFramesFixer/debug/24.jar --classpath_entry /app/build/intermediates/transforms/stackFramesFixer/debug/25.jar --classpath_entry /app/build/intermediates/transforms/stackFramesFixer/debug/26.jar --classpath_entry /app/build/intermediates/transforms/stackFramesFixer/debug/27.jar --bootclasspath_entry /android-sdk/platforms/android-26/android.jar --bootclasspath_entry /android-sdk/platforms/android-26/optional/org.apache.http.legacy.jar --bootclasspath_entry /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.151-1.b12.35.amzn1.x86_64/jre/lib/resources.jar --bootclasspath_entry /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.151-1.b12.35.amzn1.x86_64/jre/lib/rt.jar --bootclasspath_entry /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.151-1.b12.35.amzn1.x86_64/jre/lib/jsse.jar --bootclasspath_entry /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.151-1.b12.35.amzn1.x86_64/jre/lib/jce.jar --bootclasspath_entry /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.151-1.b12.35.amzn1.x86_64/jre/lib/charsets.jar --min_sdk_version 19 --nodesugar_try_with_resources_if_needed --desugar_try_with_resources_omit_runtime_classes}

                 

                * Try:

                Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

                 

                * Get more help at https://help.gradle.org

                 

                BUILD FAILED in 16s

                  at ChildProcess.whenDone (/cordova/node_modules/cordova-common/src/superspawn.js:169:23)

                  at emitTwo (events.js:106:13)

                  at ChildProcess.emit (events.js:191:7)

                  at maybeClose (internal/child_process.js:877:16)

                  at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)

                • 5. Re: Successful build shown as error (CLI 8.0.0 Android)
                  byronigoe

                  Same issue here. The log shows Successful, but the button shows Error.

                   

                  Comparing the 8.0.0 log to the 7.1.0 log yields very few actual differences (ignoring the frequent spamming of "Android Studio project detected").

                   

                  At the very end, notice that the APK has a different path:

                  /app/build/outputs/apk/debug/app-debug.apk (8.0.0)

                  /build/outputs/apk-debug.apk (7.1.0

                   

                  PGB folks, could this be the cause of the false-positive Error?

                  • 6. Re: Successful build shown as error (CLI 8.0.0 Android)
                    ryanskihead Adobe Employee

                    @Byron: if you click the red error button, you should "Error - the password for the associated certificate is incorrect - You can fix this here".

                     

                    You've exposed a bug of sorts in that PGB attempts to unlock the certificate prior to performing the build. If it fails, the error is reported to PGB, but the log doesn't get updated. So the log you see is from a previous successful build. Noted for fixing.

                    • 7. Re: Successful build shown as error (CLI 8.0.0 Android)
                      byronigoe Level 1

                      ryanskihead I assume that you looked at my app and account, in which case you can see that I reverted to CLI 7.1.0

                       

                      I need to proceed with publishing an update, so I can't just leave it in an error state. When I use 8.0.0 clicking the red error button shows something like "Whoops, something went wrong, check the log".

                      • 8. Re: Successful build shown as error (CLI 8.0.0 Android)
                        ryanskihead Adobe Employee

                        Ah ok yes thanks, I've managed to reproduce. Looks like a bug. Looking into this.

                        • 9. Re: Successful build shown as error (CLI 8.0.0 Android)
                          jcesarmobile_ Adobe Community Professional

                          ryanskihead, see PG CLI 8.0: Large number of files displays a successful Android build as errorred  · Issue #623 · phonegap/build · GitHu…

                           

                          I managed to reproduce the issue and was able to build the app by removing files, so having too much files might be the problem. Maybe copying so much files takes more time than expected or there is some timing issue and takes the build as failure but then it finish correctly.
                          Or maybe what byronigoe said about the different path for the apk can be a problem too.

                          • 10. Re: Successful build shown as error (CLI 8.0.0 Android)
                            piratenmedl

                            Hi, we have the same problem with Android. Build Log shows successful build, but red Error Button.

                            We have found out, that the reason is really too much files. When leaving out some folders it works.

                             

                            But this can't be the solution! We urgently need our updated Android version because one of our plugins doesn't work with 7.0.1. Please have a look on this and provide a quick solution.

                            Thanks

                            • 11. Re: Successful build shown as error (CLI 8.0.0 Android)
                              ryanskihead Adobe Employee

                              I don't think its the volume of files, but rather certain files that are causing the issue, but I think we've fixed it. Please rebuild and let me know.

                              1 person found this helpful
                              • 12. Re: Successful build shown as error (CLI 8.0.0 Android)
                                piratenmedl Level 1

                                Yeah, now it works. Thanks a lot. By the way, what kind of files may cause an error?

                                • 13. Re: Successful build shown as error (CLI 8.0.0 Android)
                                  byronigoe Level 1

                                  ryanskihead The build is successful, but the name of the APK uses "app" instead of your App Name.

                                  • 14. Re: Successful build shown as error (CLI 8.0.0 Android)
                                    shaunm83342426 Level 1

                                    Now works for my app too, thanks

                                    • 15. Re: Successful build shown as error (CLI 8.0.0 Android)
                                      mkih40437034 Level 1

                                      Yes, looks like the problem is fixed now.