お世話になります。
helloを表示させる簡単なプログラムを打ち込みテストしようと思ったのですが、
ビルド出来ません。設定が悪いのでしょうか。
指摘していただけると助かります。
よろしくお願いいたします。
---環境
jdk1.7.0_05
android-sdk_r18-windows
android-ndk-r8
apache-ant-1.8.4
---プログラム
#include "hsp3dish.as"
#cmpopt varname 1
redraw 0
color 20,20,20
pos 120,280
mes "hello"
redraw 1
stop
--LOG
#HSP script preprocessor ver3.31beta1 / onion software 1997-2012(c)
#Use file [hspdef.as]
#HSP code generator ver3.31beta1 / onion software 1997-2012(c)
#Code size (76) String data size (6) param size (0)
#Vars (0) Labels (2) Modules (0) Libs (0) Plugins (0)
#No error detected. (total 204 bytes)
C:\android\test01\obj\local\armeabi\objs\test01\hsp3embed\*.*
Buildfile: C:\android\test01\build.xml
-pre-clean:
clean:
[delete] Deleting directory C:\android\test01\bin
[delete] Deleting directory C:\android\test01\gen
BUILD SUCCESSFUL
Total time: 0 seconds
"Compile++ thumb : test01 <= hsp3code.cpp
jni/hsp3embed/hsp3code.cpp: In function 'char* code_getdebug_varname(int)':
jni/hsp3embed/hsp3code.cpp:2544: warning: deprecated conversion from string constant to 'char*'
"Compile++ thumb : test01 <= hsp3embed.cpp
"Compile++ thumb : test01 <= hsp3r.cpp
jni/hsp3embed/hsp3r.cpp: In member function 'int Hsp3r::Reset(int, int)':
jni/hsp3embed/hsp3r.cpp:75: warning: deprecated conversion from string constant to 'char*'
"Compile++ thumb : test01 <= hspvar_util.cpp
"Compile++ thumb : test01 <= misc.cpp
"Compile++ thumb : test01 <= hspsource.cpp
jni/hsp3embed/hspsource.cpp: In function 'void __HspEntry()':
jni/hsp3embed/hspsource.cpp:35: warning: deprecated conversion from string constant to 'char*'
SharedLibrary : libtest01.so
Install : libtest01.so => libs/armeabi/libtest01.so
Buildfile: C:\android\test01\build.xml
-set-mode-check:
-set-debug-files:
-set-debug-mode:
-debug-obfuscation-check:
-setup:
[echo] Creating output directories if needed...
[mkdir] Created dir: C:\android\test01\bin
[mkdir] Created dir: C:\android\test01\bin\res
[echo] Gathering info for test01...
[setup] Android SDK Tools Revision 19
[setup] Project Target: Android 2.3.3
[setup] API level: 10
[setup]
[setup] ------------------
[setup] Resolving library dependencies:
[setup] No library dependencies.
[setup]
[setup] ------------------
[setup] API<=15: Adding annotations.jar to the classpath.
[setup]
[setup] ------------------
-build-setup:
[mkdir] Created dir: C:\android\test01\gen
[mkdir] Created dir: C:\android\test01\bin\classes
-pre-build:
-code-gen:
[echo] ----------
[echo] Handling aidl files...
[aidl] No AIDL files to compile.
[echo] ----------
[echo] Handling RenderScript files...
[renderscript] No RenderScript files to compile.
[echo] ----------
[echo] Handling Resources...
[aapt] Generating resource IDs...
[echo] ----------
[echo] Handling BuildConfig class...
[buildconfig] Generating BuildConfig class.
-pre-compile:
-compile:
[javac] Compiling 3 source files to C:\android\test01\bin\classes
-post-compile:
-obfuscate:
-dex:
[dex] Converting compiled files and external libraries into C:\android\test01\bin\classes.dex...
-crunch:
[crunch] Crunching PNG Files in source dir: C:\android\test01\res
[crunch] To destination dir: C:\android\test01\bin\res
[crunch] Processing image to cache: C:\android\test01\res\drawable-hdpi\icon.png => C:\android\test01\bin\res\drawable-hdpi\icon.png
[crunch] (processed image to cache entry C:\android\test01\bin\res\drawable-hdpi\icon.png: 0% size of source)
[crunch] Processing image to cache: C:\android\test01\res\drawable-ldpi\icon.png => C:\android\test01\bin\res\drawable-ldpi\icon.png
[crunch] (processed image to cache entry C:\android\test01\bin\res\drawable-ldpi\icon.png: 0% size of source)
[crunch] Processing image to cache: C:\android\test01\res\drawable-mdpi\icon.png => C:\android\test01\bin\res\drawable-mdpi\icon.png
[crunch] (processed image to cache entry C:\android\test01\bin\res\drawable-mdpi\icon.png: 0% size of source)
[crunch] Crunched 3 PNG files to update cache
-package-resources:
[aapt] Creating full resource package...
-package:
[apkbuilder] Current build type is different than previous build: forced apkbuilder run.
[apkbuilder] Creating test01-debug-unaligned.apk and signing it with a debug key...
BUILD FAILED
C:\android\android-sdk-windows\tools\ant\build.xml:886: The following error occurred while executing this line:
C:\android\android-sdk-windows\tools\ant\build.xml:897: The following error occurred while executing this line:
C:\android\android-sdk-windows\tools\ant\build.xml:307: com.android.sdklib.build.ApkCreationException: Debug Certificate expired on 11/12/29 3:09
at com.android.sdklib.build.ApkBuilder.getDebugKey(ApkBuilder.java:283)
at com.android.sdklib.build.ApkBuilder.<init>(ApkBuilder.java:390)
at com.android.ant.ApkBuilderTask.execute(ApkBuilderTask.java:334)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:398)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68)
at com.android.ant.IfElseTask.execute(IfElseTask.java:124)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68)
at com.android.ant.IfElseTask.execute(IfElseTask.java:124)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:398)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:392)
at org.apache.tools.ant.Target.performTasks(Target.java:413)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
at org.apache.tools.ant.Project.executeTarget(Project.java:1368)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
at org.apache.tools.ant.Main.runBuild(Main.java:811)
at org.apache.tools.ant.Main.startAnt(Main.java:217)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
Total time: 3 seconds