I
I
Ivan Chetchasov2022-04-17 16:02:55
Android
Ivan Chetchasov, 2022-04-17 16:02:55

Why is the android application not compiling?

I created a game in Clickteam fusion and tried to build it for android.

As a result, I got an error:

...
[dependency] Library dependencies:
[dependency] No Libraries
[dependency] 
[dependency] ------------------
[dependency] API<=15: Adding annotations.jar to the classpath.
     [echo] ----------
     [echo] Building Libraries with 'release'...
   [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 413 source files to C:\Users\TALISM~1\AppData\Local\Temp\AndFF47.tmp\bin\classes
    [javac] error: Source option 5 is no longer supported. Use 7 or later.
    [javac] error: Target option 5 is no longer supported. Use 7 or later.

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

Total time: 1 second


Who knows how to fix it?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Deezalir, 2022-04-17
@Deezalir

Download the latest version of Java from the Internet .

R
rPman, 2022-04-17
@rPman

your java version is too old in your settings , either set the java version lower or increase the version in the project settings

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question