半月ぶりに、バージョンアップを確認するためにhsp3dh.exeしたとき、前までビルドできていたのに
下のようにerrorが出ているようで対策教えてください(前のバージョンでも,同梱のサンプルソースでも同じです)
BUILD FAILED
C:\android\adt-bundle-x86-20140321\sdk\tools\ant\build.xml:720: The following error occurred while executing this line:
C:\android\adt-bundle-x86-20140321\sdk\tools\ant\build.xml:734: Error running javac.exe compiler
オブション設定のSDKフォルダは今までとおりC:\android\adt-bundle-x86-20140321\sdkです
●表示は
#HSP script preprocessor ver3.4beta5 / onion software 1997-2014(c)
#Use file [hspdef.as]
#HSP code generator ver3.4beta5 / onion software 1997-2014(c)
#Code size (1854) String data size (204) param size (0)
#Vars (38) Labels (8) Modules (0) Libs (0) Plugins (0)
#No error detected. (total 2432 bytes)
Android NDK: WARNING:jni/Android.mk:hsp_y1: non-system libraries in linker flags: -lhsp3lib
Android NDK: This is likely to result in incorrect builds. Try using LOCAL_STATIC_LIBRARIES
Android NDK: or LOCAL_SHARED_LIBRARIES instead to list the library dependencies of the
Android NDK: current module
[armeabi-v7a] Compile++ thumb: hsp_y1 <= hspsource.cpp
jni/hsp3embed/hspsource.cpp: In function 'void __HspEntry()':
jni/hsp3embed/hspsource.cpp:122:30: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
jni/hsp3embed/hspsource.cpp: In function 'void L0001()':
jni/hsp3embed/hspsource.cpp:223:18: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
jni/hsp3embed/hspsource.cpp: In function 'void L0002()':
jni/hsp3embed/hspsource.cpp:553:21: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
[armeabi-v7a] SharedLibrary : libhsp_y1.so
[armeabi-v7a] Install : libhsp_y1.so => libs/armeabi-v7a/libhsp_y1.so
Unable to locate tools.jar. Expected to find it in C:\Program Files (x86)\Java\jre6\lib\tools.jar
Buildfile: C:\android\hsp_y1\build.xml
-set-mode-check:
-set-debug-files:
-check-env:
[checkenv] Android SDK Tools Revision 22.6.4
[checkenv] Installed at C:\android\adt-bundle-x86-20140321\sdk
-setup:
[echo] Project Name: hsp_y1
[gettype] Project Type: Application
-set-debug-mode:
-debug-obfuscation-check:
-pre-build:
-build-setup:
[getbuildtools] Using latest Build Tools: 19.0.3
[echo] Resolving Build Target for hsp_y1...
[gettarget] Project Target: Android 4.0.3
[gettarget] API level: 15
[echo] ----------
[echo] Creating output directories if needed...
[mkdir] Created dir: C:\android\hsp_y1\bin\rsObj
[mkdir] Created dir: C:\android\hsp_y1\bin\rsLibs
[echo] ----------
[echo] Resolving Dependencies for hsp_y1...
[dependency] Library dependencies:
[dependency] No Libraries
[dependency]
[dependency] ------------------
[dependency] API<=15: Adding annotations.jar to the classpath.
[echo] ----------
[echo] Building Libraries with 'debug'...
[subant] No sub-builds to iterate on
-code-gen:
[mergemanifest] Found Deleted Target File
[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] Found Deleted Target File
[aapt] Generating resource IDs...
[echo] ----------
[echo] Handling BuildConfig class...
[buildconfig] Generating BuildConfig class.
-pre-compile:
-compile:
[javac] Compiling 4 source files to C:\android\hsp_y1\bin\classes
BUILD FAILED
C:\android\adt-bundle-x86-20140321\sdk\tools\ant\build.xml:720: The following error occurred while executing this line:
C:\android\adt-bundle-x86-20140321\sdk\tools\ant\build.xml:734: Error running javac.exe compiler
Total time: 0 seconds