Hello, I am trying to compile the sample FacebookX_V3 and I'm not getting.
My SDK API 22 has to installed.
Already tried putting the target for android 4.1 and 5.1 but they returned me the same error.
Below the error log:
Buildfile: C:\Users\Dias\AppData\Local\Temp\AndFD70.tmp\build.xml
-set-mode-check:
-set-debug-files:
-check-env:
[checkenv] Android SDK Tools Revision 24.4.1
[checkenv] Installed at C:\Users\Dias\Desktop\adt-bundle-windows-x86-20140321\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: 23.0.1
[echo] Resolving Build Target for RuntimeAndroid...
[gettarget] Project Target: Android 5.1.1
[gettarget] API level: 22
[echo] ----------
[echo] Creating output directories if needed...
[mkdir] Created dir: C:\Users\Dias\AppData\Local\Temp\AndFD70.tmp\bin
[mkdir] Created dir: C:\Users\Dias\AppData\Local\Temp\AndFD70.tmp\bin\res
[mkdir] Created dir: C:\Users\Dias\AppData\Local\Temp\AndFD70.tmp\bin\rsObj
[mkdir] Created dir: C:\Users\Dias\AppData\Local\Temp\AndFD70.tmp\bin\rsLibs
[mkdir] Created dir: C:\Users\Dias\AppData\Local\Temp\AndFD70.tmp\gen
[mkdir] Created dir: C:\Users\Dias\AppData\Local\Temp\AndFD70.tmp\bin\classes
[mkdir] Created dir: C:\Users\Dias\AppData\Local\Temp\AndFD70.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 24.4.1
[checkenv] Installed at C:\Users\Dias\Desktop\adt-bundle-windows-x86-20140321\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: 23.0.1
[echo] Resolving Build Target for facebook...
[gettarget] Project Target: Android 5.0.1
[gettarget] API level: 21
[echo] ----------
[echo] Creating output directories if needed...
[mkdir] Created dir: C:\Users\Dias\AppData\Local\Temp\AndFD70.tmp\facebook\bin
[mkdir] Created dir: C:\Users\Dias\AppData\Local\Temp\AndFD70.tmp\facebook\bin\res
[mkdir] Created dir: C:\Users\Dias\AppData\Local\Temp\AndFD70.tmp\facebook\bin\rsObj
[mkdir] Created dir: C:\Users\Dias\AppData\Local\Temp\AndFD70.tmp\facebook\bin\rsLibs
[mkdir] Created dir: C:\Users\Dias\AppData\Local\Temp\AndFD70.tmp\facebook\gen
[mkdir] Created dir: C:\Users\Dias\AppData\Local\Temp\AndFD70.tmp\facebook\bin\classes
[mkdir] Created dir: C:\Users\Dias\AppData\Local\Temp\AndFD70.tmp\facebook\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 155 source files to C:\Users\Dias\AppData\Local\Temp\AndFD70.tmp\facebook\bin\classes
[javac] javac: invalid target release: 1.7
[javac] Usage: javac <options> <source files>
[javac] use -help for a list of possible options
BUILD FAILED
C:\Users\Dias\Desktop\adt-bundle-windows-x86-20140321\sdk\tools\ant\build.xml:597: The following error occurred while executing this line:
C:\Users\Dias\Desktop\adt-bundle-windows-x86-20140321\sdk\tools\ant\build.xml:716: The following error occurred while executing this line:
C:\Users\Dias\Desktop\adt-bundle-windows-x86-20140321\sdk\tools\ant\build.xml:730: Compile failed; see the compiler error output for details.
Total time: 1 second