jobel's Recent Forum Activity

  • yes that is what happened, I forgot to delete the config.xml.. very annoying!

    Workflow:

    • Export from C2>Cordova
    • Open export folder in WinRAR
    • delete config.xml
    • zip folder contents (make sure to use WinRAR because regular zip/compress will NOT work)
    • login to CocoonIO
    • drag/drop zip file
    • click "compile" on CocoonIO
    • when compilation complete it emails you
    • click on Android symbol in CocoonIO to download apk zipfile
    • unzip to local desktop
    • move debug apk to DropBox folder
    • remove previous version of the app from your phone/device
    • navigate to DropBox on phone/device
    • tap apk to install & run

    very cumbersome.

    and forget the Plugins.. it's completely a crap shoot. Sometimes you get varying results depending on the order! Also, even though I don't compile for iOS, somehow the ad-system needs that plugin to work?? no idea, but it's totally a process of elimination.

    I originally had it working and I blew away my Settings by accident (by leaving the config.xml) and it took me over a week to get it running again.

  • disable auto-cache

    and Show Ad onLoaded

  • thank you!

    someone should update the tutorial

  • so frustrated. The CocoonIO website is very annoying. Sometimes the Project Settings get reset when you drop in a new Zipfile. I'm not sure how I got it to work before - I don't remember the settings, but now the game will not compile. I've been trying for 2 days. This is a terrible workflow.

    COMPILER ERROR:

    /workspace/platforms/android/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 or override a deprecated API.

    Note: Recompile with -Xlint:deprecation for details.

    FAILURE: Build failed with an exception.

    * What went wrong:

    Execution failed for task ':transformClassesWithDexForArmv7Debug'.

    com.android.build.api.transform.TransformException: com.android.ide.common.process.ProcessException: java.util.concurrent.ExecutionException: com.android.dex.DexIndexOverflowException: method ID not in [0, 0xffff]: 65536

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • What cocoon version have you set? Latest?

    If so, please try "2.2.0-beta" (just for testing, not for a live version)

    Regards

    Andy

    figured it out from another thread.. it's a work around where you play a silent audio clip every second. I have no idea why it works, but it does..

  • I think you might be able to add 360 to it.. to overshoot it.

    depends on what method you are using to rotate it.

  • wow, that works.. now that is weird.. how did you figure that out??

  • Hey! Yes that was it in that workaround, You are right. Best of Luck!

    thanks.. do you load this empty sound into the sounds folder or music folder?

  • Glyfos did you forget to delete the config.xml that C2 produces?

  • do you know if this is still an issue? because it's definitely happening to me.. can someone repost the work around link?

    or is it literally just an empty sound file playing every 1 second?? how does that even fix this problem>?

    thanks!

  • okay I think I figured out exactly how muted sounds happen. If I just leave the game and let the phone "go to sleep" when you wake it up, all sounds in memory are muted. Music folder sounds play fine.

    So it looks like the memory is getting flushed when the phone goes idle. And when you wake up the game those sfx are silent (or probably no longer in memory).

    This happens with Webview and Webview+

    If I had a way to trigger, "Got Focus" or something the triggers when the player switches to it, I could probably reload the audio I think. But I can't figure a way to do that. CocoonIO doesn't seem to work using Browser and the Cocoon objects have nothing like that.

    Someone must have run into this problem... Any ideas?

jobel's avatar

jobel

Member since 27 Jul, 2013

Twitter
jobel has 8 followers

Connect with jobel

Trophy Case

  • 11-Year Club
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Forum Hero Made 1,000 posts in the forums
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • x4
    Great Comment One of your comments gets 3 upvotes
  • Email Verified

Progress

18/44
How to earn trophies