Build error - cannot find symbol

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'm getting this error when I'm building on Android
    Can anyone help? :(

    Windows 10 x64
    JDK 1.8 64-bit

    Buildfile: C:\Users\Gonzales\AppData\Local\Temp\AndA2CC.tmp\build.xml

    -set-mode-check:

    -set-debug-files:

    -check-env:
    [checkenv] Android SDK Tools Revision 24.4.1
    [checkenv] Installed at C:\Users\Gonzales\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: 27.0.2
    [echo] Resolving Build Target for RuntimeAndroid...
    [gettarget] Project Target: Android 4.2.2
    [gettarget] API level: 17
    [echo] ----------
    [echo] Creating output directories if needed...
    [mkdir] Created dir: C:\Users\Gonzales\AppData\Local\Temp\AndA2CC.tmp\bin
    [mkdir] Created dir: C:\Users\Gonzales\AppData\Local\Temp\AndA2CC.tmp\bin\res
    [mkdir] Created dir: C:\Users\Gonzales\AppData\Local\Temp\AndA2CC.tmp\bin\rsObj
    [mkdir] Created dir: C:\Users\Gonzales\AppData\Local\Temp\AndA2CC.tmp\bin\rsLibs
    [mkdir] Created dir: C:\Users\Gonzales\AppData\Local\Temp\AndA2CC.tmp\gen
    [mkdir] Created dir: C:\Users\Gonzales\AppData\Local\Temp\AndA2CC.tmp\bin\classes
    [mkdir] Created dir: C:\Users\Gonzales\AppData\Local\Temp\AndA2CC.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 376 source files to C:\Users\Gonzales\AppData\Local\Temp\AndA2CC.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] C:\Users\Gonzales\AppData\Local\Temp\AndA2CC.tmp\src\OpenGL\CTextSurface.java:39: error: cannot find symbol
    [javac] import android.util.LayoutDirection;
    [javac] ^
    [javac] symbol: class LayoutDirection
    [javac] location: package android.util
    [javac] C:\Users\Gonzales\AppData\Local\Temp\AndA2CC.tmp\src\Runtime\MMFRuntime.java:2324: error: cannot find symbol
    [javac] bar.setHomeAsUpIndicator(getSpecialID(HomeActionBar));
    [javac] ^
    [javac] symbol: method setHomeAsUpIndicator(int)
    [javac] location: variable bar of type ActionBar
    [javac] C:\Users\Gonzales\AppData\Local\Temp\AndA2CC.tmp\src\Runtime\MMFRuntime.java:2326: error: cannot find symbol
    [javac] bar.setHomeAsUpIndicator(null);
    [javac] ^
    [javac] symbol: method setHomeAsUpIndicator(<null>)
    [javac] location: variable bar of type ActionBar
    [javac] C:\Users\Gonzales\AppData\Local\Temp\AndA2CC.tmp\src\Runtime\MMFRuntime.java:2335: error: cannot find symbol
    [javac] bar.setHomeAsUpIndicator(getSpecialID(HomeActionBar));
    [javac] ^
    [javac] symbol: method setHomeAsUpIndicator(int)
    [javac] location: variable bar of type ActionBar
    [javac] C:\Users\Gonzales\AppData\Local\Temp\AndA2CC.tmp\src\Runtime\MMFRuntime.java:2337: error: cannot find symbol
    [javac] bar.setHomeAsUpIndicator(null);
    [javac] ^
    [javac] symbol: method setHomeAsUpIndicator(<null>)
    [javac] location: variable bar of type ActionBar
    [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] 5 errors
    [javac] 3 warnings

    BUILD FAILED
    C:\Users\Gonzales\AppData\Local\Android\android-sdk\tools\ant\build.xml:716: The following error occurred while executing this line:
    C:\Users\Gonzales\AppData\Local\Android\android-sdk\tools\ant\build.xml:730: Compile failed; see the compiler error output for details.

    Total time: 4 seconds

Participate now!

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