User Tag List

Page 1 of 4 1 2 3 ... LastLast
Results 1 to 10 of 31

Thread: Build Failed during compile

  1. #1
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)

    Join Date
    Feb 2015
    Posts
    17
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Exclamation Build Failed during compile

    I've been having problems with compiling my first Android game made with CTF 2.5 on Windows 8.1.

    I have the developer version and both the HTML5 and Android exporters. The HTML5 exporter works fine, and the Android exporter works fine with a blank application, but not with my game that I want to publish!

    I have searched thoroughly through this forum for an answer, and have tried every solution offered, such as removing certain objects, disabling antivirus during export, and ensuring that the JDK and Android SDK were properly installed.

    I have tried with the latest JDK (8) and Android SDK (24), as well as the default Android build version (14) and an older JDK (6). Blank exports work fine with all configurations, so I know that I have them installed correctly, but the failure is always in the compile stage of my game's export.

    The Error Log goes as follows:

    Buildfile: C:\Users\Peter\AppData\Local\Temp\AndCE8C.tmp\buil d.xml

    -set-mode-check:

    -set-debug-files:

    -check-env:
    [checkenv] Android SDK Tools Revision 24.1.2
    [checkenv] Installed at C:\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: 21.1.2
    [echo] Resolving Build Target for RuntimeAndroid...
    [gettarget] Project Target: Android 4.4W.2
    [gettarget] API level: 20
    [echo] ----------
    [echo] Creating output directories if needed...
    [mkdir] Created dir: C:\Users\Peter\AppData\Local\Temp\AndCE8C.tmp\bin
    [mkdir] Created dir: C:\Users\Peter\AppData\Local\Temp\AndCE8C.tmp\bin\ res
    [mkdir] Created dir: C:\Users\Peter\AppData\Local\Temp\AndCE8C.tmp\bin\ rsObj
    [mkdir] Created dir: C:\Users\Peter\AppData\Local\Temp\AndCE8C.tmp\bin\ rsLibs
    [mkdir] Created dir: C:\Users\Peter\AppData\Local\Temp\AndCE8C.tmp\gen
    [mkdir] Created dir: C:\Users\Peter\AppData\Local\Temp\AndCE8C.tmp\bin\ classes
    [mkdir] Created dir: C:\Users\Peter\AppData\Local\Temp\AndCE8C.tmp\bin\ dexedLibs
    [echo] ----------
    [echo] Resolving Dependencies for RuntimeAndroid...
    [dependency] Library dependencies:
    [dependency] No Libraries
    [dependency]
    [dependency] ------------------
    [echo] ----------
    [echo] Building Libraries with 'debug'...
    [subant] No sub-builds to iterate on

    -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 411 source files to C:\Users\Peter\AppData\Local\Temp\AndCE8C.tmp\bin\ classes
    [javac] C:\Users\Peter\AppData\Local\Temp\AndCE8C.tmp\src\ com\pirat\8nights\Main.java:19: ';' expected
    [javac] package com.pirat.8nights;
    [javac] ^
    [javac] C:\Users\Peter\AppData\Local\Temp\AndCE8C.tmp\gen\ com\pirat\8nights\BuildConfig.java:2: ';' expected
    [javac] package com.pirat.8nights;
    [javac] ^
    [javac] C:\Users\Peter\AppData\Local\Temp\AndCE8C.tmp\gen\ com\pirat\8nights\R.java:8: ';' expected
    [javac] package com.pirat.8nights;
    [javac] ^
    [javac] 3 errors

    BUILD FAILED
    C:\Android\sdk\tools\ant\build.xml:720: The following error occurred while executing this line:
    C:\Android\sdk\tools\ant\build.xml:734: Compile failed; see the compiler error output for details.

    Total time: 4 seconds
    I also see how the java [javac] part of the export contains errors where ';'s or line breaks are expected, but I believe that's part of the exporter process so is out of my hands. Thank you for reading through this, I hope you can help!

    -Peda

  2. #2
    Clickteam Clickteam

    Join Date
    Jun 2006
    Location
    France
    Posts
    13,191
    Mentioned
    141 Post(s)
    Tagged
    2 Thread(s)
    Maybe the package names don't support numbers, try with com.pirat.eightnights

  3. #3
    Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleInstall Creator ProUnicode Add-on

    Join Date
    Jun 2011
    Posts
    628
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    No, he can put number into package name. Try to reinstall your exporter.

  4. #4
    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,349
    Mentioned
    49 Post(s)
    Tagged
    0 Thread(s)
    the package name is wrong.. you can't have numbers in it. the exporter will fail

    btw. it could be, that it's looking for API 20 as well.
    make sure you select the right API, AND have it installed

  5. #5
    Clickteam Clickteam

    Join Date
    Jun 2006
    Location
    France
    Posts
    13,191
    Mentioned
    141 Post(s)
    Tagged
    2 Thread(s)
    Quote Originally Posted by ColdFire View Post
    No, he can put number into package name. Try to reinstall your exporter.
    The package name can contain numbers but not in the first position.

  6. #6
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)

    Join Date
    Feb 2015
    Posts
    17
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks for the support, I will check all this then post back my results!

  7. #7
    Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleInstall Creator ProUnicode Add-on

    Join Date
    Jun 2011
    Posts
    628
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Yves View Post
    The package name can contain numbers but not in the first position.
    True, this causes this error.

  8. #8
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)

    Join Date
    Feb 2015
    Posts
    17
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Changed the name to com.pirat.eightbit, and made sure that the build number 20 is indeed 4.4 and is actually installed. Now there is no error popping up. And no log. But fusion is now frozen. The green bar in the bottom left hasn't moved in about half an hour. Building HTML5 or exe usually takes just a minute or two, so I believe it might be broken. Do I force quit the program, or keep waiting? What causes the export to hang without errors like this?

  9. #9
    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,349
    Mentioned
    49 Post(s)
    Tagged
    0 Thread(s)
    check in your task manager..
    There are 1 java things running.. close the top one.

    I've had that in the past..
    best thing seems to be
    run it once, and then compile as a package..

  10. #10
    Clickteam Clickteam

    Join Date
    Jun 2006
    Location
    France
    Posts
    13,191
    Mentioned
    141 Post(s)
    Tagged
    2 Thread(s)
    Did you click Build & Run? If so, then adb is frozen. ADB is the tool from the Android SDK that CF launches to install and launch the APK on your device. Kill the adb process(s) to unfreeze CF.

    Check that your device is connected via USB and that USB Debugging is selected in the Developer Options in the parameters of your device.

    If CF still freezes when you click Build & Run, then maybe that means your USB driver is not ADB compatible and you should install another one. Or you can simply build the APK, transfer it manually to the device and install it yourself.

Page 1 of 4 1 2 3 ... LastLast

Similar Threads

  1. Build Failed
    By xhedgehogx in forum iOS Export Module 2.5
    Replies: 2
    Last Post: 25th September 2014, 12:46 AM
  2. build failed (sometimes)
    By gagegage926 in forum Android Export Module 2.5
    Replies: 9
    Last Post: 14th August 2014, 09:21 AM
  3. BUILD FAILED
    By gregoire0 in forum Android Export Module Version 2.0
    Replies: 3
    Last Post: 18th April 2013, 05:05 PM
  4. Build failed
    By Farhan in forum Android Export Module Version 2.0
    Replies: 4
    Last Post: 9th April 2013, 07:09 PM
  5. [RC7] BUILD FAILED
    By Pharanygitis in forum Android Export Module Version 2.0
    Replies: 7
    Last Post: 29th March 2013, 02:44 PM

Tags for this Thread

Posting Permissions

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