guannstar's Recent Forum Activity

  • How do I use export manager/build my apk correcltly? [Build Failing - Invalid Icon File:(]

    Hi, I just bought the C3 license this morning (and I was sooo happy), because phonegap and cocoon were both giving me problems... I thought if I paid for a service, surely it will work!... Now, C3 is giving me yet another problem.....

    I already read this tutorial (https://www.construct.net/en/tutorials/using-c3-to-build-c2-mobile-exports-22), but it doesn't explain what to do if this message pops up.

    There were no problems importing my export into the Export Manager (the icon-256.png was in the zip), but when I press the "Build Application" button, it says this...

    "Error - Invalid Icon file "www/icon-256.png" ENOENT: No such file or directory, open '/home/buildbot/construct-build-service-2/application-cache/9149dc7d-36c4-4fb4-a918-d977e4d2fae7/www/icon-256.png"

    What does it mean? I checked, and the icon-256.png WAS there, with all the other files (all files are at the root level of the zip).

    Please, how do I fix this problem?! I just want to build my app -- I've been running into build problems for months now. Can someone please tell me, why is C3 spitting out this error?

    Not a good start to C3 experience.

  • Hi, I just bought the C3 license this morning (and I was sooo happy), because phonegap and cocoon were both giving me problems... I thought if I paid for a service, surely it will work!... Now, C3 is giving me yet another problem.....

    I already read this tutorial (https://www.construct.net/en/tutorials/using-c3-to-build-c2-mobile-exports-22), but it doesn't explain what to do if this message pops up.

    There were no problems importing my export into the Export Manager (the icon-256.png was in the zip), but when I press the "Build Application" button, it says this...

    "Error - Invalid Icon file "www/icon-256.png" ENOENT: No such file or directory, open '/home/buildbot/construct-build-service-2/application-cache/9149dc7d-36c4-4fb4-a918-d977e4d2fae7/www/icon-256.png"

    What does it mean? I checked, and the icon-256.png WAS there, with all the other files (all files are at the root level of the zip).

    Ashley, Kyatric Please, how do I fix this problem?! I just want to build my app -- I've been running into build problems for months now. Can someone please tell me, why is C3 spitting out this error?

    Not a good start with the C3 experience.

  • I've not heard of that happening with our build service. You should contact PhoneGap Build for support with build issues on their service.

    Okay. I'm going to purchase the c3 license today. Thanks for the help, Ashley! If I have any problems with the c3 build, can you please help me figure out the problem?

  • What build issues? As far as I'm aware, all three of those options are working fine for the vast majority of users.

    This is the phonegap log error I'm getting...

    This plugin is only applicable for versions of cordova-android greater than 4.0. If you have a previous platform version, you do *not* need this plugin since the whitelist will be built in.

    Fetching plugin "cordova-plugin-wkwebview-engine" via npm

    Installing "cordova-plugin-wkwebview-engine" at "1.1.4" for android

    WARNING: Overriding compileSdkVersion from android-25 (default) to android-26

    WARNING: This is unsupported, please consider updating your phonegap version instead

    * What went wrong:

    Execution failed for task ':compileReleaseJavaWithJavac'.

    Compilation failed; see the compiler error output for details.

    Will this same error show up on c3 builds as well?

  • As noted in the last few release notes, we now officially recommend the following options for building APKs:

    1. Use C3's mobile app build service to build C2 exports.
    2. Use an actively supported third-party build service like PhoneGap Build.
    3. Use the Cordova CLI. This is a free manual build tool that works offline. (This option is more appropriate for advanced users.)

    Ashley, just to be on the sure side... Can you let me know... Is c3 currently facing the same build issues, as Cocoon and Phonegap? Can you assure me it will work, lol?

  • As noted in the last few release notes, we now officially recommend the following options for building APKs:

    1. Use C3's mobile app build service to build C2 exports.
    2. Use an actively supported third-party build service like PhoneGap Build.
    3. Use the Cordova CLI. This is a free manual build tool that works offline. (This option is more appropriate for advanced users.)

    Thank you, Ashley. I'll most likely be buying a c3 license, tomorrow:)

  • Well, it's $132 Canadian for a c3 license.

    Why do you think it's a bad idea to buy a c3 license?

    I've tried this tut, but my build failed (i think it keeps saying, jkd 8.1 not recognized, even though I downloaded it just before trying to build with Cordova):

    Node.js and Java are both installed.

    Install:

    construct.net/en/tutorials/building-mobile-apps-locally-with-cordova-cli-21

    Tutorial:

    youtube.com/watch (at 6:21, is the point where my build failed)

    How exactly are you building your apks?

  • dop2000 I'm not sure what happened. Can you please try to build on phonegap and tell me what happens? Maybe it'll work for you. If so, that's strange. I have a feeling it's an issue on their end through.

    Also, what if I have a C2 license? Who come that doesn't work? Now I have to pay 200 dollars a year just to build (I already spent $400 and something on the c2 license)?

    Also, where can I download Cordova software? Is it like the Intel XDK software?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • How do I build my apk, now that cocoon.io and phonegap aren't working?

    I can't find any decent monaca.io tutorials either, showing how sign and add admob.

    Can someone please show me how to build apk, in October 2018?

  • Thanks, Ashley... I changed it today, to 5.0+ [Lollipop-Webview] (and deleted all third party plugins), but I'm still having build issues. What do I need to do? I'm confused... I'm I supposed to change something else in the config.xml?

    This was my setup...

    dropbox.com/s/fz5b117zsbscbzk/eferter.JPG

    dropbox.com/s/xg5t85ar1cmlhhj/1111.JPG

    This is what the Phonegap Log is saying now...

    Build Date: 2018-10-26 22:28:12 +0000

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

    PLUGIN OUTPUT

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

    Fetching plugin "https://github.com/MBuchalik/cordova-build-architecture.git" via git clone

    Using shallow clone

    Repository "https://github.com/MBuchalik/cordova-build-architecture.git" checked out to git ref "v1.0.1" at "b787544".

    Installing "cordova-build-architecture" at "1.0.1" for android

    Subproject Path: CordovaLib

    Fetching plugin "cordova-custom-config" via npm

    Installing "cordova-custom-config" at "5.0.2" for android

    Fetching plugin "cordova-plugin-ad-admob" via npm

    Installing "cordova-plugin-ad-admob" at "1.0.118" for android

    Fetching plugin "https://github.com/cranberrygame/cordova-plugin-ad-admob-sdk" via git clone

    Using shallow clone

    Repository "https://github.com/cranberrygame/cordova-plugin-ad-admob-sdk" checked out to git ref "master" at "b22949d".

    Installing "cordova-plugin-ad-admob-sdk" at "1.0.36" for android

    Fetching plugin "https://github.com/cranberrygame/cordova-plugin-extras-google-play-services" via git clone

    Using shallow clone

    Repository "https://github.com/cranberrygame/cordova-plugin-extras-google-play-services" checked out to git ref "master" at "f6f6b28".

    Installing "cordova-plugin-extras-google-play-services" at "1.0.5" for android

    Subproject Path: CordovaLib

    Fetching plugin "cordova-plugin-inappbrowser" via npm

    Installing "cordova-plugin-inappbrowser" at "3.0.0" for android

    Fetching plugin "cordova-plugin-media" via npm

    Installing "cordova-plugin-media" at "5.0.2" for android

    Plugin doesn't support this project's cordova-android version. cordova-android: 6.1.2, failed version requirement: >=6.3.0

    Skipping 'cordova-plugin-media' for android

    Fetching plugin "cordova-plugin-statusbar" via npm

    Installing "cordova-plugin-statusbar" at "2.4.2" for android

    Fetching plugin "cordova-plugin-whitelist" via npm

    Installing "cordova-plugin-whitelist" at "1.3.3" for android

    This plugin is only applicable for versions of cordova-android greater than 4.0. If you have a previous platform version, you do *not* need this plugin since the whitelist will be built in.

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

    PROJECT PROPERTIES

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

    # This file is automatically generated by Android Tools.

    # Do not modify this file -- YOUR CHANGES WILL BE ERASED!

    #

    # This file must be checked in Version Control Systems.

    #

    # To customize properties used by the Ant build system edit

    # "ant.properties", and override values to adapt the script to your

    # project structure.

    #

    # To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.dir, user.home):

    #proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt

    # Project target.

    target=android-25

    android.library.reference.1=CordovaLib

    cordova.gradle.include.1=cordova-build-architecture/magicmotherboard-architecture.gradle

    cordova.system.library.1=com.google.android.gms:play-services-games:+

    cordova.system.library.2=com.google.android.gms:play-services-plus:+

    cordova.system.library.3=com.google.android.gms:play-services-ads:+

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

    COMPILE OUTPUT

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

    Subproject Path: CordovaLib

    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_do0y1jxkme7953dz5p5s9w250.run(/project/build.gradle:157)

    The JavaCompile.setDependencyCacheDir() method has been deprecated and is scheduled to be removed in Gradle 4.0.

    Incremental java compilation is an incubating feature.

    The TaskInputs.source(Object) method has been deprecated and is scheduled to be removed in Gradle 4.0. Please use TaskInputs.file(Object).skipWhenEmpty() instead.

    The ProjectDependency.getProjectConfiguration() method has been deprecated and is scheduled to be removed in Gradle 4.0.

    ModuleDependency.getConfiguration() has been deprecated and is scheduled to be removed in Gradle 4.0. Use ModuleDependency.getTargetConfiguration() instead.

    :preBuild UP-TO-DATE

    :preReleaseBuild UP-TO-DATE

    :checkReleaseManifest

    :preDebugBuild UP-TO-DATE

    :CordovaLib:preBuild UP-TO-DATE

    :CordovaLib:preDebugBuild UP-TO-DATE

    :CordovaLib:checkDebugManifest

    :CordovaLib:prepareDebugDependencies

    :CordovaLib:compileDebugAidl

    :CordovaLib:compileDebugNdk UP-TO-DATE

    :CordovaLib:compileLint

    :CordovaLib:copyDebugLint UP-TO-DATE

    :CordovaLib:mergeDebugShaders

    :CordovaLib:compileDebugShaders

    :CordovaLib:generateDebugAssets

    :CordovaLib:mergeDebugAssets

    :CordovaLib:mergeDebugProguardFiles

    :CordovaLib:packageDebugRenderscript UP-TO-DATE

    :CordovaLib:compileDebugRenderscript

    :CordovaLib:generateDebugResValues

    :CordovaLib:generateDebugResources

    :CordovaLib:packageDebugResources

    :CordovaLib:processDebugManifest

    :CordovaLib:generateDebugBuildConfig

    :CordovaLib:processDebugResources

    :CordovaLib:generateDebugSources

    :CordovaLib:incrementalDebugJavaCompilationSafeguard

    :CordovaLib:compileDebugJavaWithJavac

    :CordovaLib:compileDebugJavaWithJavac - is not incremental (e.g. outputs have changed, no previous execution, etc.).

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

    Note: Recompile with -Xlint:deprecation for details.

    :CordovaLib:processDebugJavaRes UP-TO-DATE

    :CordovaLib:transformResourcesWithMergeJavaResForDebug

    :CordovaLib:transformClassesAndResourcesWithSyncLibJarsForDebug

    :CordovaLib:mergeDebugJniLibFolders

    :CordovaLib:transformNative_libsWithMergeJniLibsForDebug

    :CordovaLib:transformNative_libsWithSyncJniLibsForDebug

    :CordovaLib:bundleDebug

    :CordovaLib:preReleaseBuild UP-TO-DATE

    :CordovaLib:checkReleaseManifest

    :CordovaLib:prepareReleaseDependencies

    :CordovaLib:compileReleaseAidl

    :CordovaLib:compileReleaseNdk UP-TO-DATE

    :CordovaLib:copyReleaseLint UP-TO-DATE

    :CordovaLib:mergeReleaseShaders

    :CordovaLib:compileReleaseShaders

    :CordovaLib:generateReleaseAssets

    :CordovaLib:mergeReleaseAssets

    :CordovaLib:mergeReleaseProguardFiles

    :CordovaLib:packageReleaseRenderscript UP-TO-DATE

    :CordovaLib:compileReleaseRenderscript

    :CordovaLib:generateReleaseResValues

    :CordovaLib:generateReleaseResources

    :CordovaLib:packageReleaseResources

    :CordovaLib:processReleaseManifest

    :CordovaLib:generateReleaseBuildConfig

    :CordovaLib:processReleaseResources

    :CordovaLib:generateReleaseSources

    :CordovaLib:incrementalReleaseJavaCompilationSafeguard

    :CordovaLib:compileReleaseJavaWithJavac

    :CordovaLib:compileReleaseJavaWithJavac - is not incremental (e.g. outputs have changed, no previous execution, etc.).

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

    Note: Recompile with -Xlint:deprecation for details.

    :CordovaLib:processReleaseJavaRes UP-TO-DATE

    :CordovaLib:transformResourcesWithMergeJavaResForRelease

    :CordovaLib:transformClassesAndResourcesWithSyncLibJarsForRelease

    :CordovaLib:mergeReleaseJniLibFolders

    :CordovaLib:transformNative_libsWithMergeJniLibsForRelease

    :CordovaLib:transformNative_libsWithSyncJniLibsForRelease

    :CordovaLib:bundleRelease

    :prepareAndroidArchLifecycleRuntime100Library

    :prepareComAndroidSupportCustomtabs2610Library

    :prepareComAndroidSupportSupportCompat2610Library

    :prepareComAndroidSupportSupportCoreUi2610Library

    :prepareComAndroidSupportSupportCoreUtils2610Library

    :prepareComAndroidSupportSupportFragment2610Library

    :prepareComAndroidSupportSupportMediaCompat2610Library

    :prepareComAndroidSupportSupportV42610Library

    :prepareComGoogleAndroidGmsPlayServicesAds1700Library

    :prepareComGoogleAndroidGmsPlayServicesAdsBase1700Library

    :prepareComGoogleAndroidGmsPlayServicesAdsIdentifier1600Library

    :prepareComGoogleAndroidGmsPlayServicesAdsLite1700Library

    :prepareComGoogleAndroidGmsPlayServicesAudience1600Library

    :prepareComGoogleAndroidGmsPlayServicesBase1601Library

    :prepareComGoogleAndroidGmsPlayServicesBasement1601Library

    :prepareComGoogleAndroidGmsPlayServicesDrive1600Library

    :prepareComGoogleAndroidGmsPlayServicesGames1600Library

    :prepareComGoogleAndroidGmsPlayServicesGass1700Library

    :prepareComGoogleAndroidGmsPlayServicesMeasurementBase1603Library

    :prepareComGoogleAndroidGmsPlayServicesMeasurementSdkApi1602Library

    :prepareComGoogleAndroidGmsPlayServicesPlus1600Library

    :prepareComGoogleAndroidGmsPlayServicesTasks1601Library

    :prepareProjectCordovaLibUnspecifiedReleaseLibrary

    :prepareReleaseDependencies

    :compileReleaseAidl

    :compileReleaseRenderscript

    :generateReleaseBuildConfig

    :generateReleaseResValues

    :generateReleaseResources

    :mergeReleaseResources

    :processReleaseManifest

    :processReleaseResources

    :generateReleaseSources

    :incrementalReleaseJavaCompilationSafeguard

    :compileReleaseJavaWithJavac

    :compileReleaseJavaWithJavac - is not incremental (e.g. outputs have changed, no previous execution, etc.).

    /project/src/com/cranberrygame/cordova/plugin/ad/admob/AdMobOverlap.java:576: error: AdMobOverlap.MyRewardedVideoListener is not abstract and does not override abstract method onRewardedVideoCompleted() in RewardedVideoAdListener

    class MyRewardedVideoListener implements RewardedVideoAdListener {

    ^

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

    Note: Recompile with -Xlint:deprecation for details.

    1 error

    :compileReleaseJavaWithJavac FAILED

    FAILURE: Build failed with an exception.

    * What went wrong:

    Execution failed for task ':compileReleaseJavaWithJavac'.

    Compilation failed; see the compiler error output for details.

    * Try:

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

    BUILD FAILED

    Total time: 9.332 secs

    Error: /project/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.

    /project/src/com/cranberrygame/cordova/plugin/ad/admob/AdMobOverlap.java:576: error: AdMobOverlap.MyRewardedVideoListener is not abstract and does not override abstract method onRewardedVideoCompleted() in RewardedVideoAdListener

    class MyRewardedVideoListener implements RewardedVideoAdListener {

    ^

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

    Note: Recompile with -Xlint:deprecation for details.

    1 error

    FAILURE: Build failed with an exception.

    * What went wrong:

    Execution failed for task ':compileReleaseJavaWithJavac'.

    Compilation failed; see the compiler error output for details.

    * Try:

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

    at ChildProcess.whenDone (/project/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)

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

    Oh God!!! Please, C2 community, help me with this...

    I losing my bloody mind over here.

    I deleted all the plugins but it's still not working! Is there NO working way to compile C2 projects anymore? This is my job, and nothing's been working, for weeks!!!! Why does every build software keep failing after two months!!!

    Tell me, please, what build software works fine? Cocoon doesn't work anymore! Phonegap's not working now!!... How do you use Monaca? (There are absolutely NO decent tutorials, AT ALL!)

    What do I need to change?... You can see my log... Please, tell me what to do.

    Can you please guide me to build tutorial tutorial, that actually works in October of 2018?

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

    Also, on the Phonegap build website page, it says:

    App ID: 33?9???

    Version: 1.0

    Owned by: ac.evilxho@n?s?s

    PhoneGap (iOS / Android / Windows): cli-6.5.0 (4.3.1 / 6.1.2 / 4.4.3)

    Source: .zip package

    Last built (43): 1 minute

    Do I need to update the cli-6.5.0 to cli-7.1.0?

    If so, how do I do that? Or is that something they can only change on their end?

  • On the Phonegap build website page, it says:

    App ID: 33?9???

    Version: 1.0

    Owned by: s?s?nrxw@live.ca

    PhoneGap (iOS / Android / Windows): cli-6.5.0 (4.3.1 / 6.1.2 / 4.4.3)

    Source: .zip package

    Last built (43): 1 minute

    Do I need to update the cli-6.5.0 to cli-7.1.0?

    If so, how do I do that? Or is that something they can only change on their end?

  • Bump.

guannstar's avatar

guannstar

Member since 14 May, 2013

None one is following guannstar yet!

Trophy Case

  • 11-Year Club
  • Email Verified

Progress

12/44
How to earn trophies