samedi 14 novembre 2015 à 23:54
Bonjour à tous,
J'ai des problèmes pour faire mon build en mode publication release.
Je l'avais fait pour d'autres jeux et je ne peux plus les exporter non plus... je n'ai rien touché à mon configuration, j'ai bien créé mon keystore je ne vois vraiment pas ce que je peux faire de plus...
Je poste mon message d'erreur car je ne comprends pas ...
Buildfile: C:\Users\DARKLO~1\AppData\Local\Temp\AndD1C2.tmp\build.xml
-set-mode-check:
-set-release-mode:
-release-obfuscation-check:
[echo] proguard.config is ${proguard.config}
-pre-build:
-check-env:
[checkenv] Android SDK Tools Revision 22.6.3
[checkenv] Installed at T:\Appz\adt-bundle-windows-x86_64-20140321\sdk
-setup:
[echo] Project Name: RuntimeAndroid
[gettype] Project Type: Application
-build-setup:
[getbuildtools] Using latest Build Tools: 19.1.0
[echo] Resolving Build Target for RuntimeAndroid...
[gettarget] Project Target: Android 4.4.2
[gettarget] API level: 19
[gettarget] WARNING: Attribute minSdkVersion in AndroidManifest.xml (21) is higher than the project target API level (19)
[echo] ----------
[echo] Creating output directories if needed...
[mkdir] Created dir: C:\Users\DARKLO~1\AppData\Local\Temp\AndD1C2.tmp\bin
[mkdir] Created dir: C:\Users\DARKLO~1\AppData\Local\Temp\AndD1C2.tmp\bin\res
[mkdir] Created dir: C:\Users\DARKLO~1\AppData\Local\Temp\AndD1C2.tmp\bin\rsObj
[mkdir] Created dir: C:\Users\DARKLO~1\AppData\Local\Temp\AndD1C2.tmp\bin\rsLibs
[mkdir] Created dir: C:\Users\DARKLO~1\AppData\Local\Temp\AndD1C2.tmp\gen
[mkdir] Created dir: C:\Users\DARKLO~1\AppData\Local\Temp\AndD1C2.tmp\bin\classes
[mkdir] Created dir: C:\Users\DARKLO~1\AppData\Local\Temp\AndD1C2.tmp\bin\dexedLibs
[echo] ----------
[echo] Resolving Dependencies for RuntimeAndroid...
[dependency] Library dependencies:
[dependency] No Libraries
[dependency]
[dependency] ------------------
[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 453 source files to C:\Users\DARKLO~1\AppData\Local\Temp\AndD1C2.tmp\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:\Users\DARKLO~1\AppData\Local\Temp\AndD1C2.tmp\src\Runtime\MMFRuntime.java:1645: warning: non-varargs call of varargs method with inexact argument type for last parameter;
[javac] Method m = c.getDeclaredMethod("disconnect", null);
[javac] ^
[javac] cast to Class<?> for a varargs call
[javac] cast to Class<?>[] for a non-varargs call and to suppress this warning
[javac] C:\Users\DARKLO~1\AppData\Local\Temp\AndD1C2.tmp\src\Runtime\MMFRuntime.java:1646: warning: non-varargs call of varargs method with inexact argument type for last parameter;
[javac] Object o = m.invoke(null, null);
[javac] ^
[javac] cast to Object for a varargs call
[javac] cast to Object[] for a non-varargs call and to suppress this warning
[javac] C:\Users\DARKLO~1\AppData\Local\Temp\AndD1C2.tmp\src\Runtime\MMFRuntime.java:1660: warning: non-varargs call of varargs method with inexact argument type for last parameter;
[javac] Method m = c.getDeclaredMethod("connect", null);
[javac] ^
[javac] cast to Class<?> for a varargs call
[javac] cast to Class<?>[] for a non-varargs call and to suppress this warning
[javac] C:\Users\DARKLO~1\AppData\Local\Temp\AndD1C2.tmp\src\Runtime\MMFRuntime.java:1661: warning: non-varargs call of varargs method with inexact argument type for last parameter;
[javac] Object o = m.invoke(null, null);
[javac] ^
[javac] cast to Object for a varargs call
[javac] cast to Object[] for a non-varargs call and to suppress this warning
[javac] C:\Users\DARKLO~1\AppData\Local\Temp\AndD1C2.tmp\src\Runtime\MMFRuntime.java:1675: warning: non-varargs call of varargs method with inexact argument type for last parameter;
[javac] Method m = c.getDeclaredMethod("isConnected", null);
[javac] ^
[javac] cast to Class<?> for a varargs call
[javac] cast to Class<?>[] for a non-varargs call and to suppress this warning
[javac] C:\Users\DARKLO~1\AppData\Local\Temp\AndD1C2.tmp\src\Runtime\MMFRuntime.java:1676: warning: non-varargs call of varargs method with inexact argument type for last parameter;
[javac] Object o = m.invoke(null, null);
[javac] ^
[javac] cast to Object for a varargs call
[javac] cast to Object[] for a non-varargs call and to suppress this warning
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] 9 warnings
-post-compile:
-obfuscate:
-dex:
[dex] input: C:\Users\DARKLO~1\AppData\Local\Temp\AndD1C2.tmp\bin\classes
[dex] input: C:\Users\DARKLO~1\AppData\Local\Temp\AndD1C2.tmp\libs\zip_file.jar
[dex] input: C:\Users\DARKLO~1\AppData\Local\Temp\AndD1C2.tmp\libs\downloader_library.jar
[dex] input: C:\Users\DARKLO~1\AppData\Local\Temp\AndD1C2.tmp\libs\notification.jar
[dex] input: C:\Users\DARKLO~1\AppData\Local\Temp\AndD1C2.tmp\libs\android-support-v4.jar
[dex] input: C:\Users\DARKLO~1\AppData\Local\Temp\AndD1C2.tmp\libs\gamecontroller.jar
[dex] input: C:\Users\DARKLO~1\AppData\Local\Temp\AndD1C2.tmp\libs\ouya-sdk.jar
[dex] input: C:\Users\DARKLO~1\AppData\Local\Temp\AndD1C2.tmp\libs\library.jar
[dex] Pre-Dexing C:\Users\DARKLO~1\AppData\Local\Temp\AndD1C2.tmp\libs\zip_file.jar -> zip_file-d72846fb0d16d48dfcc67f3df326256e.jar
[dex] Pre-Dexing C:\Users\DARKLO~1\AppData\Local\Temp\AndD1C2.tmp\libs\downloader_library.jar -> downloader_library-7510d5c79fd521e24471d1ff3ec33e30.jar
[dex] Pre-Dexing C:\Users\DARKLO~1\AppData\Local\Temp\AndD1C2.tmp\libs\notification.jar -> notification-1722164167a07f85a01150c11c0228c1.jar
[dex] Pre-Dexing C:\Users\DARKLO~1\AppData\Local\Temp\AndD1C2.tmp\libs\android-support-v4.jar -> android-support-v4-5fe5b0c3299c7360b848dd643c3d2263.jar
[dex] Pre-Dexing C:\Users\DARKLO~1\AppData\Local\Temp\AndD1C2.tmp\libs\gamecontroller.jar -> gamecontroller-20355ad8ceeb9f3dec9bad3020358988.jar
[dex] Pre-Dexing C:\Users\DARKLO~1\AppData\Local\Temp\AndD1C2.tmp\libs\ouya-sdk.jar -> ouya-sdk-93e9b8fa85583e6a6d33afaf5f70d36e.jar
[dex] Pre-Dexing C:\Users\DARKLO~1\AppData\Local\Temp\AndD1C2.tmp\libs\library.jar -> library-9d3b874a02febefe2077a71a76f68bd9.jar
[dex] Converting compiled files and external libraries into C:\Users\DARKLO~1\AppData\Local\Temp\AndD1C2.tmp\bin\classes.dex...
[dx] Merged dex A (549 defs/800.2KiB) with dex B (4 defs/15.8KiB). Result is 553 defs/1029.8KiB. Took 0.3s
[dx] Merged dex A (553 defs/1029.8KiB) with dex B (54 defs/91.4KiB). Result is 607 defs/1479.3KiB. Took 0.3s
[dx] Result compacted from 2089.6KiB to 898.5KiB to save 1191.1KiB
[dx] Merged dex A (607 defs/1479.3KiB) with dex B (3 defs/5.1KiB). Result is 610 defs/898.5KiB. Took 0.2s
[dx] Merged dex A (610 defs/898.5KiB) with dex B (628 defs/645.8KiB). Result is 1238 defs/1922.8KiB. Took 0.2s
[dx] Merged dex A (1238 defs/1922.8KiB) with dex B (3 defs/4.1KiB). Result is 1241 defs/2533.8KiB. Took 0.1s
[dx] Result compacted from 3758.7KiB to 1650.4KiB to save 2108.3KiB
[dx] Merged dex A (1241 defs/2533.8KiB) with dex B (123 defs/139.3KiB). Result is 1364 defs/1650.4KiB. Took 1.1s
[dx] Merged dex A (1364 defs/1650.4KiB) with dex B (25 defs/37.8KiB). Result is 1389 defs/2106.7KiB. Took 0.1s
-crunch:
[crunch] Crunching PNG Files in source dir: C:\Users\DARKLO~1\AppData\Local\Temp\AndD1C2.tmp\res
[crunch] To destination dir: C:\Users\DARKLO~1\AppData\Local\Temp\AndD1C2.tmp\bin\res
[crunch] Processing image to cache: C:\Users\DARKLO~1\AppData\Local\Temp\AndD1C2.tmp\res\drawable-hdpi\launcher.png => C:\Users\DARKLO~1\AppData\Local\Temp\AndD1C2.tmp\bin\res\drawable-hdpi\launcher.png
[crunch] (processed image to cache entry C:\Users\DARKLO~1\AppData\Local\Temp\AndD1C2.tmp\bin\res\drawable-hdpi\launcher.png: 70% size of source)
[crunch] Processing image to cache: C:\Users\DARKLO~1\AppData\Local\Temp\AndD1C2.tmp\res\drawable-ldpi\launcher.png => C:\Users\DARKLO~1\AppData\Local\Temp\AndD1C2.tmp\bin\res\drawable-ldpi\launcher.png
[crunch] (processed image to cache entry C:\Users\DARKLO~1\AppData\Local\Temp\AndD1C2.tmp\bin\res\drawable-ldpi\launcher.png: 0% size of source)
[crunch] Processing image to cache: C:\Users\DARKLO~1\AppData\Local\Temp\AndD1C2.tmp\res\drawable-mdpi\launcher.png => C:\Users\DARKLO~1\AppData\Local\Temp\AndD1C2.tmp\bin\res\drawable-mdpi\launcher.png
[crunch] (processed image to cache entry C:\Users\DARKLO~1\AppData\Local\Temp\AndD1C2.tmp\bin\res\drawable-mdpi\launcher.png: 0% size of source)
[crunch] Processing image to cache: C:\Users\DARKLO~1\AppData\Local\Temp\AndD1C2.tmp\res\drawable-xhdpi\launcher.png => C:\Users\DARKLO~1\AppData\Local\Temp\AndD1C2.tmp\bin\res\drawable-xhdpi\launcher.png
[crunch] (processed image to cache entry C:\Users\DARKLO~1\AppData\Local\Temp\AndD1C2.tmp\bin\res\drawable-xhdpi\launcher.png: 92% size of source)
[crunch] Processing image to cache: C:\Users\DARKLO~1\AppData\Local\Temp\AndD1C2.tmp\res\drawable-xxhdpi\launcher.png => C:\Users\DARKLO~1\AppData\Local\Temp\AndD1C2.tmp\bin\res\drawable-xxhdpi\launcher.png
[crunch] (processed image to cache entry C:\Users\DARKLO~1\AppData\Local\Temp\AndD1C2.tmp\bin\res\drawable-xxhdpi\launcher.png: 77% size of source)
[crunch] Processing image to cache: C:\Users\DARKLO~1\AppData\Local\Temp\AndD1C2.tmp\res\drawable\icon_menu.png => C:\Users\DARKLO~1\AppData\Local\Temp\AndD1C2.tmp\bin\res\drawable\icon_menu.png
[crunch] (processed image to cache entry C:\Users\DARKLO~1\AppData\Local\Temp\AndD1C2.tmp\bin\res\drawable\icon_menu.png: 0% size of source)
[crunch] Processing image to cache: C:\Users\DARKLO~1\AppData\Local\Temp\AndD1C2.tmp\res\drawable\menu.png => C:\Users\DARKLO~1\AppData\Local\Temp\AndD1C2.tmp\bin\res\drawable\menu.png
[crunch] (processed image to cache entry C:\Users\DARKLO~1\AppData\Local\Temp\AndD1C2.tmp\bin\res\drawable\menu.png: 0% size of source)
[crunch] Crunched 7 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 RuntimeAndroid-release-unsigned.apk for release...
-post-package:
-release-prompt-for-password:
-release-nosign:
-release-sign:
[echo] Signing final apk...
BUILD FAILED
T:\Appz\adt-bundle-windows-x86_64-20140321\sdk\tools\ant\build.xml:1139: The following error occurred while executing this line:
T:\Appz\adt-bundle-windows-x86_64-20140321\sdk\tools\ant\build.xml:1151: Signing key IsometricCheckers not found
Total time: 55 seconds