C3 Cannot build for Android Unsigned APK

  • Trying to build for Android unsigned release APK, it was working a few weeks ago. Here's what I get now -- looks like something on your build servers end?

    Build failed. Android Studio project detected

    ANDROID_HOME=~~/androidSDK

    JAVA_HOME=~~/java-8-openjdk-amd64

    studio

    :wrapper

    BUILD SUCCESSFUL

    Total time: 3.766 secs

    This build could be faster, please consider using the Gradle Daemon: https:/~~/gradle_daemon.html

    Subproject Path: CordovaLib

    Subproject Path: app

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

    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_c3fe754dda4uxvps3crvtmd93.run(~~/build.gradle:143)

    :CordovaLib:preBuild UP-TO-DATE

    :CordovaLib:preReleaseBuild UP-TO-DATE

    :CordovaLib:compileReleaseAidl

    :CordovaLib:compileReleaseRenderscript

    :CordovaLib:checkReleaseManifest

    :CordovaLib:generateReleaseBuildConfig

    :CordovaLib:prepareLintJar

    :CordovaLib:generateReleaseResValues

    :CordovaLib:generateReleaseResources

    :CordovaLib:packageReleaseResources

    :CordovaLib:platformAttrExtractor

    :CordovaLib:processReleaseManifest

    :CordovaLib:javaPreCompileRelease

    :CordovaLib:processReleaseJavaRes NO-SOURCE

    :app:preBuild UP-TO-DATE

    :app:preReleaseBuild

    :app:compileReleaseAidl

    :CordovaLib:packageReleaseRenderscript NO-SOURCE

    :app:compileReleaseRenderscript

    :app:checkReleaseManifest

    :app:generateReleaseBuildConfig

    :app:prepareLintJar

    :app:generateReleaseResValues

    :app:generateReleaseResources

    :app:mergeReleaseResources

    :app:createReleaseCompatibleScreenManifests

    :app:processReleaseManifest

    :app:splitsDiscoveryTaskRelease

    :app:compileReleaseNdk NO-SOURCE

    :CordovaLib:mergeReleaseShaders

    :CordovaLib:compileReleaseShaders

    :CordovaLib:generateReleaseAssets

    :CordovaLib:mergeReleaseAssets

    :app:mergeReleaseShaders

    :app:compileReleaseShaders

    :app:generateReleaseAssets

    :app:mergeReleaseAssets

    :CordovaLib:compileReleaseNdk NO-SOURCE

    :CordovaLib:mergeReleaseJniLibFolders

    :CordovaLib:transformNativeLibsWithMergeJniLibsForRelease

    :CordovaLib:transformNativeLibsWithIntermediateJniLibsForRelease

    :app:mergeReleaseJniLibFolders

    :app:processReleaseJavaRes NO-SOURCE

    :CordovaLib:processReleaseResources

    :CordovaLib:generateReleaseSources

    :CordovaLib:compileReleaseJavaWithJavac

    :CordovaLib:transformClassesAndResourcesWithPrepareIntermediateJarsForRelease

    :app:processReleaseResources

    :app:generateReleaseSources

    :app:javaPreCompileRelease

    :app:compileReleaseJavaWithJavac FAILED

    37 actionable tasks:

  • Perhaps all the Scirra devs are working on the new 'runtime' - seeing as C3 'browser based' is so robust and all.

  • When you encounter an issue like this that is supposed to be a bug, do visit the bug database and see if the bug was already reported. If it was, consider adding a comment to it.

    If it wasn't, consider posting a new report.

    And to provide some actual true informations, each dev at the HQ works on several features.

    As far as I'm aware, the runtime has been Ashley's work, and Nepeo deals with the build service.

  • It is related to this bug: https://github.com/Scirra/Construct-3-bugs/issues/1414

    Please comment there if you are affected by it. I've tagged Ashley so, hopefully this bug can be looked into quicker.

    Normally bugs are resolved pretty quick. This one is a bit slow.

  • When you encounter an issue like this that is supposed to be a bug, do visit the bug database and see if the bug was already reported. If it was, consider adding a comment to it.

    If it wasn't, consider posting a new report.

    And to provide some actual true informations, each dev at the HQ works on several features.

    As far as I'm aware, the runtime has been Ashley's work, and Nepeo deals with the build service.

    But how about some pre-emptive work so that customers don't spend repetitive time filing the same bug over and over again? Perhaps devs should NOT be working on several features, but concentrate on the cash cow of the C3 browser-based option. Anything else is gravy.

  • Thanks for the link to GitHub, looks like it's being addressed.

    Ashley has a worker assigned to it, last reply was 5 hours ago.

    Nothing we can do but wait as it's a Cordova library issue.

    I HATE UPGRADING STUFF! It always breaks. Just have to wait.....

  • These problems keep putting me off buying C3, hoping for something simple, stable, and robust soon

  • This is the only problem I've encountered in C3.

    And also it's fixed now

  • Finally its fixed!

    Now I have all I need to launch

    MobileIAP + Admob + Google Leaderbaord + Instant Games + iOS all working seemlessly together.... Perfect

  • I have been trying to build for Android unsigned release APK.

    I keep losing connection to server. I tried over 3 hours ago and just recently.

    I can't really work on my file until I test it on mobile.

    Any news on server?

    I am not having an internet problem, I have been streaming music and videos...

    I have had this issue before, but I can usually close and restart C3 and it fixes.

  • I haven't had an issue since this 2 weeks ago.

    Try rebooting your whole PC

  • I was reluctant to do so since It takes me a while to log back into everything.

    I did clean PC a few times and it didn't do anything, still gets stuck on "restored connection".

    I did end up restarting it with the same results.

    I disabled my security for a few minutes to test it as well and it didn't connect.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Are you getting the exact same error I was reporting, or something else?

    Can you paste any screenshots / logs?

  • I was reluctant to do so since It takes me a while to log back into everything.

    I did clean PC a few times and it didn't do anything, still gets stuck on "restored connection".

    I did end up restarting it with the same results.

    I disabled my security for a few minutes to test it as well and it didn't connect.

    I also do not connect to the build server when I try to export Cordova. I write to Construct-3-bugs and find out the reason .

  • It is working for me now.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)