Build Failed during compile

Welcome to our brand new Clickteam Community Hub! We hope you will enjoy using the new features, which we will be further expanding in the coming months.

A few features including Passport are unavailable initially whilst we monitor stability of the new platform, we hope to bring these online very soon. Small issues will crop up following the import from our old system, including some message formatting, translation accuracy and other things.

Thank you for your patience whilst we've worked on this and we look forward to more exciting community developments soon!

Clickteam.
  • I will put different sounds on certain channels now because that sounds like it'll really help.

    I did not use the Android Object to get the Folder for the application. I have just left it as how Windows and browsers handle the INI. I will look into this too, thanks.

  • Hi, can anyone help with the below...

    Buildfile: C:\Users\NICK'S~1\AppData\Local\Temp\And3E14.tmp\build.xml

    -set-mode-check:

    -set-debug-files:

    -check-env:
    [checkenv] Android SDK Tools Revision 24.1.2
    [checkenv] Installed at C:\Program Files (x86)\Android

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

    -set-debug-mode:

    -debug-obfuscation-check:

    -pre-build:

    -build-setup:
    [getbuildtools] Using latest Build Tools: 22.0.1
    [echo] Resolving Build Target for RuntimeAndroid...
    [gettarget] Project Target: Android 4.4.2
    [gettarget] API level: 19
    [echo] ----------
    [echo] Creating output directories if needed...
    [mkdir] Created dir: C:\Users\NICK'S~1\AppData\Local\Temp\And3E14.tmp\bin
    [mkdir] Created dir: C:\Users\NICK'S~1\AppData\Local\Temp\And3E14.tmp\bin\res
    [mkdir] Created dir: C:\Users\NICK'S~1\AppData\Local\Temp\And3E14.tmp\bin\rsObj
    [mkdir] Created dir: C:\Users\NICK'S~1\AppData\Local\Temp\And3E14.tmp\bin\rsLibs
    [mkdir] Created dir: C:\Users\NICK'S~1\AppData\Local\Temp\And3E14.tmp\gen
    [mkdir] Created dir: C:\Users\NICK'S~1\AppData\Local\Temp\And3E14.tmp\bin\classes
    [mkdir] Created dir: C:\Users\NICK'S~1\AppData\Local\Temp\And3E14.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 345 source files to C:\Users\NICK'S~1\AppData\Local\Temp\And3E14.tmp\bin\classes
    [javac] javac: invalid flag: C:\Users\NICK
    [javac] Usage: javac <options> <source files>
    [javac] use -help for a list of possible options

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

    Total time: 3 seconds

    I've got java installed at

    C:\Program Files (x86)\Java\jdk1.6.0_33

    and android installed at

    C:\Program Files (x86)\Android

    with API19 installed in the SDK manager, and the API set to 19 on the android options on CF2.5

    Any help would be greatly appreciated.

    Thanks,

    Nick.

  • Did you check in the SDK manager, all the way at the top. there are the Built tools (Those are separate from the API's)
    Do you have the 19 tool checked ?


    [getbuildtools] Using latest Build Tools: 22.0.1
    [gettarget] API level: 19

  • Thanks, it seems sorted now (I created a new user account called Admin and compiled it from in that account), managed to get the .apk file created on the desktop then mailed over and installed onto the tablet.

    I'm just trying the build and run option now, got the tablet connected with USB debugging enabled, it's taking forever though. The green compile bar is complete but CF2.5 is just hanging there! (been a few minutes now!).

    Any ideas?

    Thanks,

    Nick.

  • yeah... doesn't work.. for a long time..
    it used to work, but there are 2 processes running, and when you quit 1 of them, then it's done, but nothing is there.
    so I just copy the file on the phone, or e-mail it my phone/tablet.

  • I've had that problem, too, with one of my Android phones. I'm not sure what the cause of it is, however. Possibly a driver issue? Fernando hopefully has a better idea of what could be causing it. :)

    All the best,
    Snail

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!