Hi
After update LAMW and reinstalling new revision of packages (including AppCameraDemo), I get this error :
Messages, Hints: 2
Note: Duplicate unit "controls" in "controls", orphaned ppu "C:\lamw\trunk\demos\Eclipse\AppCameraDemo\obj\controls\controls.o"
Note: Duplicate unit "controls" in "LCLBase 1.5", ppu="C:\lamw\laz4android\lcl\units\arm-android\controls.ppu", source="C:\lamw\laz4android\lcl\controls.pp"
Compile Project, OS: android, CPU: arm, Target: C:\lamw\trunk\demos\Eclipse\AppCameraDemo\libs\armeabi\libcontrols.so: Success, Hints: 7
unit1.pas(38,45) Hint: Parameter "Canvas" not used
unit1.pas(88,3) Note: Local variable "dir" not used
unit1.pas(32,30) Hint: Parameter "intentData" not used
unit1.pas(9,31) Hint: Unit "And_jni_Bridge" not used in unit1
unit1.pas(10,5) Hint: Unit "Laz_And_Controls_Events" not used in unit1
controls.lpr(1141,34) Hint: Parameter "reserved" not used
controls.lpr(1157,37) Hint: Parameter "reserved" not used
Building APK... : Exit code 1, Errors: 1
Buildfile: C:\lamw\trunk\demos\Eclipse\AppCameraDemo\build.xml
-set-mode-check:
-set-debug-files:
-check-env:
[checkenv] Android SDK Tools Revision 24.4.1
[checkenv] Installed at C:\lamw\android-sdk-windows
-setup:
[echo] Project Name: AppCameraDemo
[gettype] Project Type: Application
-set-debug-mode:
-debug-obfuscation-check:
-pre-build:
-build-setup:
[getbuildtools] Using latest Build Tools: 23.0.3
[echo] Resolving Build Target for AppCameraDemo...
[gettarget] Project Target: Android 4.2.2
[gettarget] API level: 17
[echo] ----------
[echo] Creating output directories if needed...
[mkdir] Created dir: C:\lamw\trunk\demos\Eclipse\AppCameraDemo\bin\res
[mkdir] Created dir: C:\lamw\trunk\demos\Eclipse\AppCameraDemo\bin\rsObj
[mkdir] Created dir: C:\lamw\trunk\demos\Eclipse\AppCameraDemo\bin\rsLibs
[mkdir] Created dir: C:\lamw\trunk\demos\Eclipse\AppCameraDemo\bin\classes
[mkdir] Created dir: C:\lamw\trunk\demos\Eclipse\AppCameraDemo\bin\dexedLibs
[echo] ----------
[echo] Resolving Dependencies for AppCameraDemo...
[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 4 source files to C:\lamw\trunk\demos\Eclipse\AppCameraDemo\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:\lamw\trunk\demos\Eclipse\AppCameraDemo\src\com\example\appcamerademo\App.java:234: error: cannot find symbol
[javac] case KeyEvent.KEYCODE_BRIGHTNESS_DOWN:
[javac] ^
[javac] symbol: variable KEYCODE_BRIGHTNESS_DOWN
[javac] location: class KeyEvent
[javac] C:\lamw\trunk\demos\Eclipse\AppCameraDemo\src\com\example\appcamerademo\App.java:238: error: cannot find symbol
[javac] case KeyEvent.KEYCODE_BRIGHTNESS_UP:
[javac] ^
[javac] symbol: variable KEYCODE_BRIGHTNESS_UP
[javac] location: class KeyEvent
[javac] Note: C:\lamw\trunk\demos\Eclipse\AppCameraDemo\src\com\example\appcamerademo\Controls.java uses or overrides a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] Note: C:\lamw\trunk\demos\Eclipse\AppCameraDemo\src\com\example\appcamerademo\Controls.java uses unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] 2 errors
[javac] 3 warnings
BUILD FAILED
C:\lamw\android-sdk-windows\tools\ant\build.xml:716: The following error occurred while executing this line:
C:\lamw\android-sdk-windows\tools\ant\build.xml:730: Compile failed; see the compiler error output for details.
Total time: 5 seconds
Panic: tool stopped with exit code 1. Use context menu to get more information.
Exception, Errors: 1
Fatal: [Exception] Failed: Cannot build APK!
Thanks for help !