User Tag List

Results 1 to 9 of 9

Thread: Iron Source error during compile

  1. #1
    Forum Moderator

    Fusion 2.5 MacFusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleMac Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)
    Perry's Avatar
    Join Date
    Dec 2013
    Location
    Watertown, WI
    Posts
    4,334
    Mentioned
    49 Post(s)
    Tagged
    0 Thread(s)

    Iron Source error during compile

    With 287.2 and API 23, Latest Java Version installed, I am getting this error.

    Any suggestions ?


    Edit: tried API 24, latest built tools as well.. even tried API 17,18,19,20,21,22,23 and 24... all same error.
    Updated to the latest JDK as well, also no difference.

    Wonder if the new Java version messed things up... I was able to compile in the past..


    Buildfile: C:\Users\perry\AppData\Local\Temp\And7082.tmp\buil d.xml

    -set-mode-check:

    -set-debug-files:

    -check-env:
    [checkenv] Android SDK Tools Revision 25.1.7
    [checkenv] Installed at C:\Users\perry\AppData\Local\Android\android-sdk

    -setup:
    [echo] Project Name: RuntimeAndroid
    [gettype] Project Type: Application

    -set-debug-mode:

    -debug-obfuscation-check:

    -pre-build:

    -build-setup:
    [getbuildtools] Using latest Build Tools: 24.0.0
    [echo] Resolving Build Target for RuntimeAndroid...
    [gettarget] Project Target: Android 6.0
    [gettarget] API level: 23
    [echo] ----------
    [echo] Creating output directories if needed...
    [mkdir] Created dir: C:\Users\perry\AppData\Local\Temp\And7082.tmp\bin
    [mkdir] Created dir: C:\Users\perry\AppData\Local\Temp\And7082.tmp\bin\ res
    [mkdir] Created dir: C:\Users\perry\AppData\Local\Temp\And7082.tmp\bin\ rsObj
    [mkdir] Created dir: C:\Users\perry\AppData\Local\Temp\And7082.tmp\bin\ rsLibs
    [mkdir] Created dir: C:\Users\perry\AppData\Local\Temp\And7082.tmp\gen
    [mkdir] Created dir: C:\Users\perry\AppData\Local\Temp\And7082.tmp\bin\ classes
    [mkdir] Created dir: C:\Users\perry\AppData\Local\Temp\And7082.tmp\bin\ dexedLibs
    [echo] ----------
    [echo] Resolving Dependencies for RuntimeAndroid...
    [dependency] Library dependencies:
    [dependency]
    [dependency] ------------------
    [dependency] Ordered libraries:
    [dependency]
    [dependency] ------------------
    [echo] ----------
    [echo] Building Libraries with 'debug'...

    nodeps:

    -set-mode-check:

    -set-debug-files:

    -check-env:
    [checkenv] Android SDK Tools Revision 25.1.7
    [checkenv] Installed at C:\Users\perry\AppData\Local\Android\android-sdk

    -setup:
    [echo] Project Name: facebook
    [gettype] Project Type: Android Library

    -set-debug-mode:

    -debug-obfuscation-check:

    -pre-build:

    -build-setup:
    [getbuildtools] Using latest Build Tools: 24.0.0
    [echo] Resolving Build Target for facebook...
    [gettarget] Project Target: Android 6.0
    [gettarget] API level: 23
    [echo] ----------
    [echo] Creating output directories if needed...
    [mkdir] Created dir: C:\Users\perry\AppData\Local\Temp\And7082.tmp\goog le-play-services_lib\bin
    [mkdir] Created dir: C:\Users\perry\AppData\Local\Temp\And7082.tmp\goog le-play-services_lib\bin\res
    [mkdir] Created dir: C:\Users\perry\AppData\Local\Temp\And7082.tmp\goog le-play-services_lib\bin\rsObj
    [mkdir] Created dir: C:\Users\perry\AppData\Local\Temp\And7082.tmp\goog le-play-services_lib\bin\rsLibs
    [mkdir] Created dir: C:\Users\perry\AppData\Local\Temp\And7082.tmp\goog le-play-services_lib\gen
    [mkdir] Created dir: C:\Users\perry\AppData\Local\Temp\And7082.tmp\goog le-play-services_lib\bin\classes
    [mkdir] Created dir: C:\Users\perry\AppData\Local\Temp\And7082.tmp\goog le-play-services_lib\bin\dexedLibs
    [echo] ----------
    [echo] Resolving Dependencies for facebook...
    [dependency] Library dependencies:
    [dependency] No Libraries
    [dependency]
    [dependency] ------------------

    -code-gen:
    [mergemanifest] Merging AndroidManifest files into one.
    [mergemanifest] Manifest merger disabled. Using project manifest only.
    [echo] Handling aidl files...
    [aidl] No AIDL files to compile.
    [echo] ----------
    [echo] Handling RenderScript files...
    [echo] ----------
    [echo] Handling Resources...
    [aapt] Generating resource IDs...
    [echo] ----------
    [echo] Handling BuildConfig class...
    [buildconfig] Generating BuildConfig class.

    -pre-compile:

    -compile:
    [javac] Compiling 3 source files to C:\Users\perry\AppData\Local\Temp\And7082.tmp\goog le-play-services_lib\bin\classes
    [javac] warning: [options] source value 1.5 is obsolete and will be removed in a future release
    [javac] warning: [options] target value 1.5 is obsolete and will be removed in a future release
    [javac] warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.
    [javac] 3 warnings
    [echo] Creating library output jar file...
    [jar] Building jar: C:\Users\perry\AppData\Local\Temp\And7082.tmp\goog le-play-services_lib\bin\classes.jar

    --- cut -----

    -do-debug:
    [echo] Library project: do not create apk...
    [propertyfile] Creating new property file: C:\Users\perry\AppData\Local\Temp\And7082.tmp\goog le-play-services_lib\bin\build.prop
    [propertyfile] Updating property file: C:\Users\perry\AppData\Local\Temp\And7082.tmp\goog le-play-services_lib\bin\build.prop
    [propertyfile] Updating property file: C:\Users\perry\AppData\Local\Temp\And7082.tmp\goog le-play-services_lib\bin\build.prop
    [propertyfile] Updating property file: C:\Users\perry\AppData\Local\Temp\And7082.tmp\goog le-play-services_lib\bin\build.prop

    -post-build:

    debug:

    -code-gen:
    [mergemanifest] Merging AndroidManifest files into one.
    [mergemanifest] Manifest merger disabled. Using project manifest only.
    [echo] Handling aidl files...
    [aidl] No AIDL files to compile.
    [echo] ----------
    [echo] Handling RenderScript files...
    [echo] ----------
    [echo] Handling Resources...
    [aapt] Generating resource IDs...
    [echo] ----------
    [echo] Handling BuildConfig class...
    [buildconfig] Generating BuildConfig class.

    -pre-compile:

    -compile:
    [javac] Compiling 390 source files to C:\Users\perry\AppData\Local\Temp\And7082.tmp\bin\ classes
    [javac] warning: [options] source value 1.5 is obsolete and will be removed in a future release
    [javac] warning: [options] target value 1.5 is obsolete and will be removed in a future release
    [javac] warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] 3 warnings

    -post-compile:

    -obfuscate:

    -dex:
    [dex] input: C:\Users\perry\AppData\Local\Temp\And7082.tmp\bin\ classes
    [dex] input: C:\Users\perry\AppData\Local\Temp\And7082.tmp\goog le-play-services_lib\bin\classes.jar
    [dex] input: C:\Users\perry\AppData\Local\Temp\And7082.tmp\libs \gson-2.3.1.jar
    [dex] input: C:\Users\perry\AppData\Local\Temp\And7082.tmp\libs \nativexadapter-2.0.4.jar
    [dex] input: C:\Users\perry\AppData\Local\Temp\And7082.tmp\libs \tapjoyadapter-1.0.5.jar
    [dex] input: C:\Users\perry\AppData\Local\Temp\And7082.tmp\libs \android-support-v4.jar
    [dex] input: C:\Users\perry\AppData\Local\Temp\And7082.tmp\goog le-play-services_lib\libs\google-play-services.jar
    [dex] input: C:\Users\perry\AppData\Local\Temp\And7082.tmp\libs \adcolonyadapter-2.0.3.jar
    [dex] input: C:\Users\perry\AppData\Local\Temp\And7082.tmp\libs \inmobiadapter-2.0.2.jar
    [dex] input: C:\Users\perry\AppData\Local\Temp\And7082.tmp\libs \mediationsdk-6.4.12.jar
    [dex] input: C:\Users\perry\AppData\Local\Temp\And7082.tmp\libs \applovinadapter-2.0.2.jar
    [dex] input: C:\Users\perry\AppData\Local\Temp\And7082.tmp\libs \zip_file.jar
    [dex] input: C:\Users\perry\AppData\Local\Temp\And7082.tmp\libs \downloader_library.jar
    [dex] input: C:\Users\perry\AppData\Local\Temp\And7082.tmp\libs \hyprmxadapter-2.0.2.jar
    [dex] input: C:\Users\perry\AppData\Local\Temp\And7082.tmp\libs \mediabrixadapter-1.0.4.jar
    [dex] input: C:\Users\perry\AppData\Local\Temp\And7082.tmp\libs \library.jar
    [dex] Pre-Dexing C:\Users\perry\AppData\Local\Temp\And7082.tmp\goog le-play-services_lib\bin\classes.jar -> classes-1b0797168075e903a15bd25cb0f6bf1d.jar
    [dex] Pre-Dexing C:\Users\perry\AppData\Local\Temp\And7082.tmp\libs \gson-2.3.1.jar -> gson-2.3.1-1359c8dec93fcec7d2580e753f26da87.jar
    [dex] Pre-Dexing C:\Users\perry\AppData\Local\Temp\And7082.tmp\libs \nativexadapter-2.0.4.jar -> nativexadapter-2.0.4-5d5b43b0cb83d431ecce95891e95dd70.jar
    [dex] Pre-Dexing C:\Users\perry\AppData\Local\Temp\And7082.tmp\libs \tapjoyadapter-1.0.5.jar -> tapjoyadapter-1.0.5-bbe25ebe158f792921ed9ed15a66e825.jar
    [dex] Pre-Dexing C:\Users\perry\AppData\Local\Temp\And7082.tmp\libs \android-support-v4.jar -> android-support-v4-cebcc3426ed74c98a9442b9d37d6c855.jar
    [dex] Pre-Dexing C:\Users\perry\AppData\Local\Temp\And7082.tmp\goog le-play-services_lib\libs\google-play-services.jar -> google-play-services-c9785c4ef62ef8d3018d1828b992560b.jar
    [dex] Pre-Dexing C:\Users\perry\AppData\Local\Temp\And7082.tmp\libs \adcolonyadapter-2.0.3.jar -> adcolonyadapter-2.0.3-e77e6aa50a05ba684aeb32d6d1b5eeb2.jar
    [dex] Pre-Dexing C:\Users\perry\AppData\Local\Temp\And7082.tmp\libs \inmobiadapter-2.0.2.jar -> inmobiadapter-2.0.2-bb6745ef62bc0510ea60d6435cd1a770.jar
    [dex] Pre-Dexing C:\Users\perry\AppData\Local\Temp\And7082.tmp\libs \mediationsdk-6.4.12.jar -> mediationsdk-6.4.12-c1d5c27f556e1b7f98da458c8f5f5ad9.jar
    [dex] Pre-Dexing C:\Users\perry\AppData\Local\Temp\And7082.tmp\libs \applovinadapter-2.0.2.jar -> applovinadapter-2.0.2-ffea2838b4a07fa514a0fb11c33d30d0.jar
    [dex] Pre-Dexing C:\Users\perry\AppData\Local\Temp\And7082.tmp\libs \zip_file.jar -> zip_file-6d5a5f7d787ba491fd74e14671891a89.jar
    [dex] Pre-Dexing C:\Users\perry\AppData\Local\Temp\And7082.tmp\libs \downloader_library.jar -> downloader_library-d80a3b72bbdafe036190fc7130c69c6f.jar
    [dex] Pre-Dexing C:\Users\perry\AppData\Local\Temp\And7082.tmp\libs \hyprmxadapter-2.0.2.jar -> hyprmxadapter-2.0.2-6d613555b9bd4232c52aada2dbd833f9.jar
    [dex] Pre-Dexing C:\Users\perry\AppData\Local\Temp\And7082.tmp\libs \mediabrixadapter-1.0.4.jar -> mediabrixadapter-1.0.4-4a7962c1a9b562d00a28c54f972a58fb.jar
    [dex] Pre-Dexing C:\Users\perry\AppData\Local\Temp\And7082.tmp\libs \library.jar -> library-1650b485c8a898cb47084da8dfb75222.jar
    [dex] Converting compiled files and external libraries into C:\Users\perry\AppData\Local\Temp\And7082.tmp\bin\ classes.dex...
    [dx]
    [dx] UNEXPECTED TOP-LEVEL EXCEPTION:
    [dx] com.android.dex.DexIndexOverflowException: method ID not in [0, 0xffff]: 65536
    [dx] at com.android.dx.merge.DexMerger$6.updateIndex(DexMe rger.java:495)
    [dx] at com.android.dx.merge.DexMerger$IdMerger.mergeSorte d(DexMerger.java:261)
    [dx] at com.android.dx.merge.DexMerger.mergeMethodIds(DexM erger.java:504)
    [dx] at com.android.dx.merge.DexMerger.mergeDexes(DexMerge r.java:161)
    [dx] at com.android.dx.merge.DexMerger.merge(DexMerger.jav a:188)
    [dx] at com.android.dx.command.dexer.Main.mergeLibraryDexB uffers(Main.java:504)
    [dx] at com.android.dx.command.dexer.Main.runMonoDex(Main. java:334)
    [dx] at com.android.dx.command.dexer.Main.run(Main.java:27 7)
    [dx] at com.android.dx.command.dexer.Main.main(Main.java:2 45)
    [dx] at com.android.dx.command.Main.main(Main.java:106)
    [dx]

    BUILD FAILED
    C:\Users\perry\AppData\Local\Android\android-sdk\tools\ant\build.xml:888: The following error occurred while executing this line:
    C:\Users\perry\AppData\Local\Android\android-sdk\tools\ant\build.xml:890: The following error occurred while executing this line:
    C:\Users\perry\AppData\Local\Android\android-sdk\tools\ant\build.xml:902: The following error occurred while executing this line:
    C:\Users\perry\AppData\Local\Android\android-sdk\tools\ant\build.xml:283: null returned: 2

    Total time: 48 seconds

  2. #2
    Clickteam Clickteam
    Fernando's Avatar
    Join Date
    Dec 2006
    Posts
    6,152
    Mentioned
    158 Post(s)
    Tagged
    3 Thread(s)
    [dx] UNEXPECTED TOP-LEVEL EXCEPTION:
    [dx] com.android.dex.DexIndexOverflowException: method ID not in [0, 0xffff]: 65536
    [dx] at com.android.dx.merge.DexMerger$6.updateIndex(DexMe rger.java:495)
    [dx] at com.android.dx.merge.DexMerger$IdMerger.mergeSorte d(DexMerger.java:261)
    [dx] at com.android.dx.merge.DexMerger.mergeMethodIds(DexM erger.java:504)
    [dx] at com.android.dx.merge.DexMerger.mergeDexes(DexMerge r.java:161)
    [dx] at com.android.dx.merge.DexMerger.merge(DexMerger.jav a:188)
    [dx] at com.android.dx.command.dexer.Main.mergeLibraryDexB uffers(Main.java:504)
    [dx] at com.android.dx.command.dexer.Main.runMonoDex(Main. java:334)
    [dx] at com.android.dx.command.dexer.Main.run(Main.java:27 7)
    [dx] at com.android.dx.command.dexer.Main.main(Main.java:2 45)
    [dx] at com.android.dx.command.Main.main(Main.java:106)
    [dx]
    this mean that you have more than 65535 object in your source to compile, you have to reduce one of the adapters or use the google lib made by Softwarewolf if you are not using any extra object that requires this lib, like GPG
    Regards,


    Fernando Vivolo

    ... new things are coming ...

  3. #3
    Forum Moderator

    Fusion 2.5 MacFusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleMac Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)
    Perry's Avatar
    Join Date
    Dec 2013
    Location
    Watertown, WI
    Posts
    4,334
    Mentioned
    49 Post(s)
    Tagged
    0 Thread(s)
    I have to dis agree on that one.. it's your example that comes with Iron source, that I am trying to compile

  4. #4
    Clickteam Clickteam
    Fernando's Avatar
    Join Date
    Dec 2006
    Posts
    6,152
    Mentioned
    158 Post(s)
    Tagged
    3 Thread(s)
    yes and that example you can not build using 3 or more adapters that limitation doe snot come form object comes from a extra big lib from google, try to build not using google lib and see amazon mode.

    also as mentioned you my try using the google lib that was created by softwarewolf.
    Regards,


    Fernando Vivolo

    ... new things are coming ...

  5. #5
    Forum Moderator

    Fusion 2.5 MacFusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleMac Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)
    Perry's Avatar
    Join Date
    Dec 2013
    Location
    Watertown, WI
    Posts
    4,334
    Mentioned
    49 Post(s)
    Tagged
    0 Thread(s)
    I had no idea that it was limited to only 3 adapters.
    I compiled without and then it works.

    Which ones are in Google Lib ?

    Tried compiling 3 then it works.
    Adding a 4th one will fail..

  6. #6
    Clickteam Clickteam
    Fernando's Avatar
    Join Date
    Dec 2006
    Posts
    6,152
    Mentioned
    158 Post(s)
    Tagged
    3 Thread(s)
    is the same answered in PM, try using the google lib from softwarewolf that will allow you to get more adapters if you are no using gpg
    Regards,


    Fernando Vivolo

    ... new things are coming ...

  7. #7
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleInstall Creator Pro
    SoftWarewolf's Avatar
    Join Date
    Jul 2006
    Location
    Norway
    Posts
    929
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Appreciate that you noticed =)
    link: http://community.clickteam.com/threads/98167-Pruned-Google-Play-services

    Just backup the GooglePlayServices.zip under runtime\android and replace it with my modification to support more than 2-3 different ad networks.
    This may break other extensions using play services, but i think that's just the google play games objects in the clickstore so far.

  8. #8
    Forum Moderator

    Fusion 2.5 MacFusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleMac Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)
    Perry's Avatar
    Join Date
    Dec 2013
    Location
    Watertown, WI
    Posts
    4,334
    Mentioned
    49 Post(s)
    Tagged
    0 Thread(s)
    Thanks.. Does it also work for IOS Softwarewolf then ?

    Anyways, with Fernando's version I was able to get 4 to run.
    Created 6 hours of raw footage for Iron source... lots to edit to make it a nice tutorial..
    ran into a few items, but got most of them figured out... (some of the screens we're not correct due to website changes)

    I did had a few issues, but got most of them resolved.. maybe someone knows this.

    ------
    For Admob in Supersonic.
    The main settings for Admob
    API Key
    Client ID
    Client Secret
    Token

    The API key where can I find that one? I thought that was from your App.
    But I am wrong with that one, since that one stays in there for all the other apps as well.

    Is the API key the Publisher ID ? or something else?
    I am looking all over the place, but cannot find it.
    -------
    Unity = only Videos ? They removed the interstitial seems like it

    Applovin you sign up get a code and that's it? it ads the items all by itself seems like it?

    Adcolony & Vungle only plays video seems like it (from the top of my head)

    Thank you for whoever knows some more about these.

  9. #9
    Clickteam Clickteam
    Fernando's Avatar
    Join Date
    Dec 2006
    Posts
    6,152
    Mentioned
    158 Post(s)
    Tagged
    3 Thread(s)
    Quote Originally Posted by SoftWarewolf View Post
    Appreciate that you noticed =)
    link: http://community.clickteam.com/threads/98167-Pruned-Google-Play-services

    Just backup the GooglePlayServices.zip under runtime\android and replace it with my modification to support more than 2-3 different ad networks.
    This may break other extensions using play services, but i think that's just the google play games objects in the clickstore so far.
    mm also GMaps. I will see if I will do a short one only with gmaps, ads, gpg, gcm
    Regards,


    Fernando Vivolo

    ... new things are coming ...

Similar Threads

  1. Replies: 2
    Last Post: 22nd August 2016, 02:36 PM
  2. Error at compile apk
    By tiger19 in forum Android Export Module 2.5
    Replies: 3
    Last Post: 1st October 2015, 07:30 PM
  3. Compile error
    By Perry in forum Android Export Module 2.5
    Replies: 2
    Last Post: 10th July 2014, 02:06 PM
  4. XCode ArrayList.h compile error.
    By Paul_Boland in forum Fusion 2.5
    Replies: 0
    Last Post: 4th July 2014, 11:31 PM
  5. How do I compile an open source extension for use?
    By bear in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 22nd December 2008, 01:03 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •