SHARE
TWEET

Untitled

a guest Aug 20th, 2019 106 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. love2d .ApkCreationException: Unable to get debug signature key
  2.  
  3.  
  4. keytool -keygen -v -keystore debug.keystore -alias androiddebugkey -storepass android
  5. keytool -genkey -alias tomcat -keyalg RSA -keystore /path/to/keystore/stash.jks
  6. keytool -genkey -alias androiddebugkey -keystore debug.keystore -storepass android
  7.  
  8.  
  9. Illegal option:  -keygen
  10.  
  11. Почему то на новом чистом компьютере поломался конвертер .love->.apk - Startgamedev
  12. Мало того на форуме почему то удалили мой пост как правило
  13. подписать приложение дебаг ключём и как подписать приложени
  14. как ни пиши все равно всегда не работает для Google-play  
  15.  
  16. в результате я даже для себя дебаг версию собрать не могу
  17. Моежт кто нибудь помочь с этим проклятым
  18. keytool -keygen
  19. Никаких Антов, НДК,СДК и прочих ненужных вещей НИКОГДА не ставил
  20. всегда всё без них компилировалось аж 3 года.
  21. Просьба Дендроид-Студию не советовать - нет денег столько трафика качать.
  22. Мне нужно ТУПО чтобы Startgamedev заработал
  23. А если ещё научить его компилировать 64битные версии приложений вообще будет прекрасно.
  24.  
  25. user@PC3:~/Work/R-M2K/m2k-Andr$ make-apk.sh
  26. make-apk.sh: команда не найдена
  27. user@PC3:~/Work/R-M2K/m2k-Andr$ sh make-apk.sh
  28. rm: невозможно удалить 'game.apk': Нет такого файла или каталога
  29. Buildfile: /home/user/Work/R-M2K/m2k-Andr/tools/love-android-sdl2/build.xml
  30.  
  31. -set-mode-check:
  32.  
  33. -set-debug-files:
  34.  
  35. -check-env:
  36.  [checkenv] Android SDK Tools Revision 24.3.4
  37.  [checkenv] Installed at /home/user/Work/R-M2K/m2k-Andr/tools/android-linux
  38.  
  39. -setup:
  40.      [echo] Project Name: love_android_sdl2
  41.   [gettype] Project Type: Application
  42.  
  43. -set-debug-mode:
  44.  
  45. -debug-obfuscation-check:
  46.  
  47. -pre-build:
  48.  
  49. -build-setup:
  50. [getbuildtools] Using latest Build Tools: 19.1.0
  51.      [echo] Resolving Build Target for love_android_sdl2...
  52. [gettarget] Project Target:   Android 4.4.2
  53. [gettarget] API level:        19
  54.      [echo] ----------
  55.      [echo] Creating output directories if needed...
  56.     [mkdir] Created dir: /home/user/Work/R-M2K/m2k-Andr/tools/love-android-sdl2/bin
  57.     [mkdir] Created dir: /home/user/Work/R-M2K/m2k-Andr/tools/love-android-sdl2/bin/res
  58.     [mkdir] Created dir: /home/user/Work/R-M2K/m2k-Andr/tools/love-android-sdl2/bin/rsObj
  59.     [mkdir] Created dir: /home/user/Work/R-M2K/m2k-Andr/tools/love-android-sdl2/bin/rsLibs
  60.     [mkdir] Created dir: /home/user/Work/R-M2K/m2k-Andr/tools/love-android-sdl2/gen
  61.     [mkdir] Created dir: /home/user/Work/R-M2K/m2k-Andr/tools/love-android-sdl2/bin/classes
  62.     [mkdir] Created dir: /home/user/Work/R-M2K/m2k-Andr/tools/love-android-sdl2/bin/dexedLibs
  63.      [echo] ----------
  64.      [echo] Resolving Dependencies for love_android_sdl2...
  65. [dependency] Library dependencies:
  66. [dependency] No Libraries
  67. [dependency]
  68. [dependency] ------------------
  69.      [echo] ----------
  70.      [echo] Building Libraries with 'debug'...
  71.    [subant] No sub-builds to iterate on
  72.  
  73. -code-gen:
  74. [mergemanifest] Merging AndroidManifest files into one.
  75. [mergemanifest] Manifest merger disabled. Using project manifest only.
  76.      [echo] Handling aidl files...
  77.      [aidl] No AIDL files to compile.
  78.      [echo] ----------
  79.      [echo] Handling RenderScript files...
  80.      [echo] ----------
  81.      [echo] Handling Resources...
  82.      [aapt] Generating resource IDs...
  83.      [echo] ----------
  84.      [echo] Handling BuildConfig class...
  85. [buildconfig] Generating BuildConfig class.
  86.  
  87. -pre-compile:
  88.  
  89. -compile:
  90.     [javac] Compiling 7 source files to /home/user/Work/R-M2K/m2k-Andr/tools/love-android-sdl2/bin/classes
  91.     [javac] warning: [options] source value 1.5 is obsolete and will be removed in a future release
  92.     [javac] warning: [options] target value 1.5 is obsolete and will be removed in a future release
  93.     [javac] warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.
  94.     [javac] Note: /home/user/Work/R-M2K/m2k-Andr/tools/love-android-sdl2/src/org/libsdl/app/SDLActivity.java uses or overrides a deprecated API.
  95.     [javac] Note: Recompile with -Xlint:deprecation for details.
  96.     [javac] 3 warnings
  97.  
  98. -post-compile:
  99.  
  100. -obfuscate:
  101.  
  102. -dex:
  103.       [dex] input: /home/user/Work/R-M2K/m2k-Andr/tools/love-android-sdl2/bin/classes
  104.       [dex] Converting compiled files and external libraries into /home/user/Work/R-M2K/m2k-Andr/tools/love-android-sdl2/bin/classes.dex...
  105.  
  106. -crunch:
  107.    [crunch] Crunching PNG Files in source dir: /home/user/Work/R-M2K/m2k-Andr/tools/love-android-sdl2/res
  108.    [crunch] To destination dir: /home/user/Work/R-M2K/m2k-Andr/tools/love-android-sdl2/bin/res
  109.    [crunch] Processing image to cache: /home/user/Work/R-M2K/m2k-Andr/tools/love-android-sdl2/res/drawable-xxhdpi/ic_launcher.png => /home/user/Work/R-M2K/m2k-Andr/tools/love-android-sdl2/bin/res/drawable-xxhdpi/ic_launcher.png
  110.    [crunch]   (processed image to cache entry /home/user/Work/R-M2K/m2k-Andr/tools/love-android-sdl2/bin/res/drawable-xxhdpi/ic_launcher.png: 40% size of source)
  111.    [crunch] Crunched 1 PNG files to update cache
  112.  
  113. -package-resources:
  114.      [aapt] Creating full resource package...
  115.  
  116. -package:
  117. [apkbuilder] Current build type is different than previous build: forced apkbuilder run.
  118. [apkbuilder] Creating love_android_sdl2-debug-unaligned.apk and signing it with a debug key...
  119. [apkbuilder] Exception in thread "main" java.lang.ExceptionInInitializerError
  120. [apkbuilder]    at java.text.RBTableBuilder.build(RBTableBuilder.java:107)
  121. [apkbuilder]    at java.text.RBCollationTables.<init>(RBCollationTables.java:83)
  122. [apkbuilder]    at java.text.RuleBasedCollator.<init>(RuleBasedCollator.java:300)
  123. [apkbuilder]    at java.text.RuleBasedCollator.<init>(RuleBasedCollator.java:281)
  124. [apkbuilder]    at sun.util.locale.provider.CollatorProviderImpl.getInstance(CollatorProviderImpl.java:106)
  125. [apkbuilder]    at java.text.Collator.getInstance(Collator.java:242)
  126. [apkbuilder]    at java.text.Collator.getInstance(Collator.java:224)
  127. [apkbuilder]    at sun.security.tools.keytool.Main.<clinit>(Main.java:323)
  128. [apkbuilder] Caused by: java.lang.RuntimeException: could not locate data
  129. [apkbuilder]    at sun.text.normalizer.NormalizerImpl.<clinit>(NormalizerImpl.java:60)
  130. [apkbuilder]    ... 8 more
  131.  
  132. BUILD FAILED
  133. /home/user/Work/R-M2K/m2k-Andr/tools/android-linux/tools/ant/build.xml:958: The following error occurred while executing this line:
  134. /home/user/Work/R-M2K/m2k-Andr/tools/android-linux/tools/ant/build.xml:969: The following error occurred while executing this line:
  135. /home/user/Work/R-M2K/m2k-Andr/tools/android-linux/tools/ant/build.xml:312: com.android.sdklib.build.ApkCreationException: Unable to get debug signature key
  136.     at com.android.sdklib.build.ApkBuilder.getDebugKey(ApkBuilder.java:279)
  137.     at com.android.sdklib.build.ApkBuilder.<init>(ApkBuilder.java:392)
  138.     at com.android.ant.ApkBuilderTask.execute(ApkBuilderTask.java:334)
  139.     at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:293)
  140.     at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
  141.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  142.     at java.lang.reflect.Method.invoke(Method.java:497)
  143.     at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
  144.     at org.apache.tools.ant.Task.perform(Task.java:348)
  145.     at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68)
  146.     at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:293)
  147.     at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
  148.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  149.     at java.lang.reflect.Method.invoke(Method.java:497)
  150.     at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
  151.     at org.apache.tools.ant.Task.perform(Task.java:348)
  152.     at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:396)
  153.     at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:293)
  154.     at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
  155.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  156.     at java.lang.reflect.Method.invoke(Method.java:497)
  157.     at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
  158.     at org.apache.tools.ant.Task.perform(Task.java:348)
  159.     at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68)
  160.     at com.android.ant.IfElseTask.execute(IfElseTask.java:124)
  161.     at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:293)
  162.     at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
  163.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  164.     at java.lang.reflect.Method.invoke(Method.java:497)
  165.     at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
  166.     at org.apache.tools.ant.Task.perform(Task.java:348)
  167.     at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68)
  168.     at com.android.ant.IfElseTask.execute(IfElseTask.java:124)
  169.     at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:293)
  170.     at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
  171.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  172.     at java.lang.reflect.Method.invoke(Method.java:497)
  173.     at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
  174.     at org.apache.tools.ant.Task.perform(Task.java:348)
  175.     at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68)
  176.     at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:293)
  177.     at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
  178.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  179.     at java.lang.reflect.Method.invoke(Method.java:497)
  180.     at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
  181.     at org.apache.tools.ant.Task.perform(Task.java:348)
  182.     at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:396)
  183.     at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:293)
  184.     at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
  185.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  186.     at java.lang.reflect.Method.invoke(Method.java:497)
  187.     at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
  188.     at org.apache.tools.ant.Task.perform(Task.java:348)
  189.     at org.apache.tools.ant.Target.execute(Target.java:435)
  190.     at org.apache.tools.ant.Target.performTasks(Target.java:456)
  191.     at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1405)
  192.     at org.apache.tools.ant.Project.executeTarget(Project.java:1376)
  193.     at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
  194.     at org.apache.tools.ant.Project.executeTargets(Project.java:1260)
  195.     at org.apache.tools.ant.Main.runBuild(Main.java:853)
  196.     at org.apache.tools.ant.Main.startAnt(Main.java:235)
  197.     at org.apache.tools.ant.launch.Launcher.run(Launcher.java:285)
  198.     at org.apache.tools.ant.launch.Launcher.main(Launcher.java:112)
  199.  
  200. Total time: 9 seconds
  201. cp: не удалось выполнить stat для 'bin/love_android_sdl2-debug.apk': Нет такого файла или каталога
  202. user@PC3:~/Work/R-M2K/m2k-Andr$
  203. user@PC3:~/Work/R-M2K/m2k-Andr$
  204. user@PC3:~/Work/R-M2K/m2k-Andr$ keytool -keygen -v -keystore debug.keystore -alias androiddebugkey -storepass android
  205. Illegal option:  -keygen
  206. Key and Certificate Management Tool
  207.  
  208. Commands:
  209.  
  210.  -certreq            Generates a certificate request
  211.  -changealias        Changes an entry's alias
  212.  -delete             Deletes an entry
  213.  -exportcert         Exports certificate
  214.  -genkeypair         Generates a key pair
  215.  -genseckey          Generates a secret key
  216.  -gencert            Generates certificate from a certificate request
  217.  -importcert         Imports a certificate or a certificate chain
  218.  -importpass         Imports a password
  219.  -importkeystore     Imports one or all entries from another keystore
  220.  -keypasswd          Changes the key password of an entry
  221.  -list               Lists entries in a keystore
  222.  -printcert          Prints the content of a certificate
  223.  -printcertreq       Prints the content of a certificate request
  224.  -printcrl           Prints the content of a CRL file
  225.  -storepasswd        Changes the store password of a keystore
  226.  
  227. Use "keytool -command_name -help" for usage of command_name.
  228. Use the -conf <url> option to specify a pre-configured options file.
  229. user@PC3:~/Work/R-M2K/m2k-Andr$ keytool -genkey -alias -v -keystore debug.keystore -alias androiddebugkey -storepass android
  230. What is your first and last name?
  231.   [Unknown]:  Al
  232. What is the name of your organizational unit?
  233.   [Unknown]:  rasoft
  234. What is the name of your organization?
  235.   [Unknown]:  rasoft
  236. What is the name of your City or Locality?
  237.   [Unknown]:  Chgg
  238. What is the name of your State or Province?
  239.   [Unknown]:  0
  240. What is the two-letter country code for this unit?
  241.   [Unknown]:  00
  242. Is CN=Al, OU=rasoft, O=rasoft, L=Chgg, ST=0, C=00 correct?
  243.   [no]:  yes
  244.  
  245.  
  246. Warning:
  247. The -alias option is specified multiple times. All except the last one will be ignored.
  248. user@PC3:~/Work/R-M2K/m2k-Andr$ sh make-apk.sh
  249. rm: невозможно удалить 'game.apk': Нет такого файла или каталога
  250. Buildfile: /home/user/Work/R-M2K/m2k-Andr/tools/love-android-sdl2/build.xml
  251.  
  252. -set-mode-check:
  253.  
  254. -set-debug-files:
  255.  
  256. -check-env:
  257.  [checkenv] Android SDK Tools Revision 24.3.4
  258.  [checkenv] Installed at /home/user/Work/R-M2K/m2k-Andr/tools/android-linux
  259.  
  260. -setup:
  261.      [echo] Project Name: love_android_sdl2
  262.   [gettype] Project Type: Application
  263.  
  264. -set-debug-mode:
  265.  
  266. -debug-obfuscation-check:
  267.  
  268. -pre-build:
  269.  
  270. -build-setup:
  271. [getbuildtools] Using latest Build Tools: 19.1.0
  272.      [echo] Resolving Build Target for love_android_sdl2...
  273. [gettarget] Project Target:   Android 4.4.2
  274. [gettarget] API level:        19
  275.      [echo] ----------
  276.      [echo] Creating output directories if needed...
  277.     [mkdir] Created dir: /home/user/Work/R-M2K/m2k-Andr/tools/love-android-sdl2/bin
  278.     [mkdir] Created dir: /home/user/Work/R-M2K/m2k-Andr/tools/love-android-sdl2/bin/res
  279.     [mkdir] Created dir: /home/user/Work/R-M2K/m2k-Andr/tools/love-android-sdl2/bin/rsObj
  280.     [mkdir] Created dir: /home/user/Work/R-M2K/m2k-Andr/tools/love-android-sdl2/bin/rsLibs
  281.     [mkdir] Created dir: /home/user/Work/R-M2K/m2k-Andr/tools/love-android-sdl2/gen
  282.     [mkdir] Created dir: /home/user/Work/R-M2K/m2k-Andr/tools/love-android-sdl2/bin/classes
  283.     [mkdir] Created dir: /home/user/Work/R-M2K/m2k-Andr/tools/love-android-sdl2/bin/dexedLibs
  284.      [echo] ----------
  285.      [echo] Resolving Dependencies for love_android_sdl2...
  286. [dependency] Library dependencies:
  287. [dependency] No Libraries
  288. [dependency]
  289. [dependency] ------------------
  290.      [echo] ----------
  291.      [echo] Building Libraries with 'debug'...
  292.    [subant] No sub-builds to iterate on
  293.  
  294. -code-gen:
  295. [mergemanifest] Merging AndroidManifest files into one.
  296. [mergemanifest] Manifest merger disabled. Using project manifest only.
  297.      [echo] Handling aidl files...
  298.      [aidl] No AIDL files to compile.
  299.      [echo] ----------
  300.      [echo] Handling RenderScript files...
  301.      [echo] ----------
  302.      [echo] Handling Resources...
  303.      [aapt] Generating resource IDs...
  304.      [echo] ----------
  305.      [echo] Handling BuildConfig class...
  306. [buildconfig] Generating BuildConfig class.
  307.  
  308. -pre-compile:
  309.  
  310. -compile:
  311.     [javac] Compiling 7 source files to /home/user/Work/R-M2K/m2k-Andr/tools/love-android-sdl2/bin/classes
  312.     [javac] warning: [options] source value 1.5 is obsolete and will be removed in a future release
  313.     [javac] warning: [options] target value 1.5 is obsolete and will be removed in a future release
  314.     [javac] warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.
  315.     [javac] Note: /home/user/Work/R-M2K/m2k-Andr/tools/love-android-sdl2/src/org/libsdl/app/SDLActivity.java uses or overrides a deprecated API.
  316.     [javac] Note: Recompile with -Xlint:deprecation for details.
  317.     [javac] 3 warnings
  318.  
  319. -post-compile:
  320.  
  321. -obfuscate:
  322.  
  323. -dex:
  324.       [dex] input: /home/user/Work/R-M2K/m2k-Andr/tools/love-android-sdl2/bin/classes
  325.       [dex] Converting compiled files and external libraries into /home/user/Work/R-M2K/m2k-Andr/tools/love-android-sdl2/bin/classes.dex...
  326.  
  327. -crunch:
  328.    [crunch] Crunching PNG Files in source dir: /home/user/Work/R-M2K/m2k-Andr/tools/love-android-sdl2/res
  329.    [crunch] To destination dir: /home/user/Work/R-M2K/m2k-Andr/tools/love-android-sdl2/bin/res
  330.    [crunch] Processing image to cache: /home/user/Work/R-M2K/m2k-Andr/tools/love-android-sdl2/res/drawable-xxhdpi/ic_launcher.png => /home/user/Work/R-M2K/m2k-Andr/tools/love-android-sdl2/bin/res/drawable-xxhdpi/ic_launcher.png
  331.    [crunch]   (processed image to cache entry /home/user/Work/R-M2K/m2k-Andr/tools/love-android-sdl2/bin/res/drawable-xxhdpi/ic_launcher.png: 40% size of source)
  332.    [crunch] Crunched 1 PNG files to update cache
  333.  
  334. -package-resources:
  335.      [aapt] Creating full resource package...
  336.  
  337. -package:
  338. [apkbuilder] Current build type is different than previous build: forced apkbuilder run.
  339. [apkbuilder] Creating love_android_sdl2-debug-unaligned.apk and signing it with a debug key...
  340. [apkbuilder] Exception in thread "main" java.lang.ExceptionInInitializerError
  341. [apkbuilder]    at java.text.RBTableBuilder.build(RBTableBuilder.java:107)
  342. [apkbuilder]    at java.text.RBCollationTables.<init>(RBCollationTables.java:83)
  343. [apkbuilder]    at java.text.RuleBasedCollator.<init>(RuleBasedCollator.java:300)
  344. [apkbuilder]    at java.text.RuleBasedCollator.<init>(RuleBasedCollator.java:281)
  345. [apkbuilder]    at sun.util.locale.provider.CollatorProviderImpl.getInstance(CollatorProviderImpl.java:106)
  346. [apkbuilder]    at java.text.Collator.getInstance(Collator.java:242)
  347. [apkbuilder]    at java.text.Collator.getInstance(Collator.java:224)
  348. [apkbuilder]    at sun.security.tools.keytool.Main.<clinit>(Main.java:323)
  349. [apkbuilder] Caused by: java.lang.RuntimeException: could not locate data
  350. [apkbuilder]    at sun.text.normalizer.NormalizerImpl.<clinit>(NormalizerImpl.java:60)
  351. [apkbuilder]    ... 8 more
  352.  
  353. BUILD FAILED
  354. /home/user/Work/R-M2K/m2k-Andr/tools/android-linux/tools/ant/build.xml:958: The following error occurred while executing this line:
  355. /home/user/Work/R-M2K/m2k-Andr/tools/android-linux/tools/ant/build.xml:969: The following error occurred while executing this line:
  356. /home/user/Work/R-M2K/m2k-Andr/tools/android-linux/tools/ant/build.xml:312: com.android.sdklib.build.ApkCreationException: Unable to get debug signature key
  357.     at com.android.sdklib.build.ApkBuilder.getDebugKey(ApkBuilder.java:279)
  358.     at com.android.sdklib.build.ApkBuilder.<init>(ApkBuilder.java:392)
  359.     at com.android.ant.ApkBuilderTask.execute(ApkBuilderTask.java:334)
  360.     at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:293)
  361.     at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
  362.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  363.     at java.lang.reflect.Method.invoke(Method.java:497)
  364.     at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
  365.     at org.apache.tools.ant.Task.perform(Task.java:348)
  366.     at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68)
  367.     at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:293)
  368.     at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
  369.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  370.     at java.lang.reflect.Method.invoke(Method.java:497)
  371.     at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
  372.     at org.apache.tools.ant.Task.perform(Task.java:348)
  373.     at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:396)
  374.     at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:293)
  375.     at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
  376.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  377.     at java.lang.reflect.Method.invoke(Method.java:497)
  378.     at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
  379.     at org.apache.tools.ant.Task.perform(Task.java:348)
  380.     at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68)
  381.     at com.android.ant.IfElseTask.execute(IfElseTask.java:124)
  382.     at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:293)
  383.     at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
  384.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  385.     at java.lang.reflect.Method.invoke(Method.java:497)
  386.     at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
  387.     at org.apache.tools.ant.Task.perform(Task.java:348)
  388.     at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68)
  389.     at com.android.ant.IfElseTask.execute(IfElseTask.java:124)
  390.     at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:293)
  391.     at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
  392.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  393.     at java.lang.reflect.Method.invoke(Method.java:497)
  394.     at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
  395.     at org.apache.tools.ant.Task.perform(Task.java:348)
  396.     at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68)
  397.     at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:293)
  398.     at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
  399.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  400.     at java.lang.reflect.Method.invoke(Method.java:497)
  401.     at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
  402.     at org.apache.tools.ant.Task.perform(Task.java:348)
  403.     at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:396)
  404.     at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:293)
  405.     at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
  406.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  407.     at java.lang.reflect.Method.invoke(Method.java:497)
  408.     at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
  409.     at org.apache.tools.ant.Task.perform(Task.java:348)
  410.     at org.apache.tools.ant.Target.execute(Target.java:435)
  411.     at org.apache.tools.ant.Target.performTasks(Target.java:456)
  412.     at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1405)
  413.     at org.apache.tools.ant.Project.executeTarget(Project.java:1376)
  414.     at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
  415.     at org.apache.tools.ant.Project.executeTargets(Project.java:1260)
  416.     at org.apache.tools.ant.Main.runBuild(Main.java:853)
  417.     at org.apache.tools.ant.Main.startAnt(Main.java:235)
  418.     at org.apache.tools.ant.launch.Launcher.run(Launcher.java:285)
  419.     at org.apache.tools.ant.launch.Launcher.main(Launcher.java:112)
  420.  
  421. Total time: 9 seconds
  422. cp: не удалось выполнить stat для 'bin/love_android_sdl2-debug.apk': Нет такого файла или каталога
  423. user@PC3:~/Work/R-M2K/m2k-Andr$
  424. user@PC3:~/Work/R-M2K/m2k-Andr$ keytool -genkey -alias tomcat -keyalg RSA -keystore /path/to/keystore/stash.jks
  425.  
  426. Enter keystore password:  
  427. Keystore password is too short - must be at least 6 characters
  428. Enter keystore password:  
  429. Re-enter new password:
  430. What is your first and last name?
  431.   [Unknown]:  Al
  432. What is the name of your organizational unit?
  433.   [Unknown]:  Rasoft
  434. What is the name of your organization?
  435.   [Unknown]:  Rasoft
  436. What is the name of your City or Locality?
  437.   [Unknown]:  0
  438. What is the name of your State or Province?
  439.   [Unknown]:  0
  440. What is the two-letter country code for this unit?
  441.   [Unknown]:  00
  442. Is CN=Al, OU=Rasoft, O=Rasoft, L=0, ST=0, C=00 correct?
  443.   [no]:  yes
  444.  
  445. keytool error: java.io.FileNotFoundException: /path/to/keystore/stash.jks (Нет такого файла или каталога)
  446. user@PC3:~/Work/R-M2K/m2k-Andr$ keytool -genkey -alias tomcat -keyalg RSA -keystore debug.keystore
  447. Enter keystore password:  
  448. 0keytool error: java.io.IOException: keystore password was incorrect
  449. user@PC3:~/Work/R-M2K/m2k-Andr$ keytool -genkey -alias tomcat -keyalg RSA -keystore debug.keystore
  450. Enter keystore password:  
  451. keytool error: java.io.IOException: keystore password was incorrect
  452. user@PC3:~/Work/R-M2K/m2k-Andr$ keytool -genkey -alias tomcat -keyalg RSA -keystore debug.keystore
  453. Enter keystore password:  
  454. Keystore password is too short - must be at least 6 characters
  455. Enter keystore password:  
  456. keytool error: java.io.IOException: keystore password was incorrect
  457. user@PC3:~/Work/R-M2K/m2k-Andr$ keytool -genkey -alias androiddebugkey -keystore debug.keystore -storepass android
  458. keytool error: java.lang.Exception: Key pair not generated, alias <androiddebugkey> already exists
  459. user@PC3:~/Work/R-M2K/m2k-Andr$ keytool -genkey -alias androiddebugkey -keystore debug.keystore -storepass android
  460. keytool error: java.lang.Exception: Key pair not generated, alias <androiddebugkey> already exists
  461. user@PC3:~/Work/R-M2K/m2k-Andr$
  462. user@PC3:~/Work/R-M2K/m2k-Andr$ keytool -genkey -alias androiddebugkey -keystore debug.keystore -storepass android
  463. What is your first and last name?
  464.   [Unknown]:  0
  465. What is the name of your organizational unit?
  466.   [Unknown]:  0
  467. What is the name of your organization?
  468.   [Unknown]:  0
  469. What is the name of your City or Locality?
  470.   [Unknown]:  0
  471. What is the name of your State or Province?
  472.   [Unknown]:  0
  473. What is the two-letter country code for this unit?
  474.   [Unknown]:  0
  475. Is CN=0, OU=0, O=0, L=0, ST=0, C=0 correct?
  476.   [no]:  ye
  477. What is your first and last name?
  478.   [0]:  0
  479. What is the name of your organizational unit?
  480.   [0]:  0
  481. What is the name of your organization?
  482.   [0]:  0
  483. What is the name of your City or Locality?
  484.   [0]:  0
  485. What is the name of your State or Province?
  486.   [0]:  0
  487. What is the two-letter country code for this unit?
  488.   [0]:  0
  489. Is CN=0, OU=0, O=0, L=0, ST=0, C=0 correct?
  490.   [no]:  yes
  491.  
  492. user@PC3:~/Work/R-M2K/m2k-Andr$ sh make-apk.sh
  493. rm: невозможно удалить 'game.apk': Нет такого файла или каталога
  494. Buildfile: /home/user/Work/R-M2K/m2k-Andr/tools/love-android-sdl2/build.xml
  495.  
  496. -set-mode-check:
  497.  
  498. -set-debug-files:
  499.  
  500. -check-env:
  501.  [checkenv] Android SDK Tools Revision 24.3.4
  502.  [checkenv] Installed at /home/user/Work/R-M2K/m2k-Andr/tools/android-linux
  503.  
  504. -setup:
  505.      [echo] Project Name: love_android_sdl2
  506.   [gettype] Project Type: Application
  507.  
  508. -set-debug-mode:
  509.  
  510. -debug-obfuscation-check:
  511.  
  512. -pre-build:
  513.  
  514. -build-setup:
  515. [getbuildtools] Using latest Build Tools: 19.1.0
  516.      [echo] Resolving Build Target for love_android_sdl2...
  517. [gettarget] Project Target:   Android 4.4.2
  518. [gettarget] API level:        19
  519.      [echo] ----------
  520.      [echo] Creating output directories if needed...
  521.     [mkdir] Created dir: /home/user/Work/R-M2K/m2k-Andr/tools/love-android-sdl2/bin
  522.     [mkdir] Created dir: /home/user/Work/R-M2K/m2k-Andr/tools/love-android-sdl2/bin/res
  523.     [mkdir] Created dir: /home/user/Work/R-M2K/m2k-Andr/tools/love-android-sdl2/bin/rsObj
  524.     [mkdir] Created dir: /home/user/Work/R-M2K/m2k-Andr/tools/love-android-sdl2/bin/rsLibs
  525.     [mkdir] Created dir: /home/user/Work/R-M2K/m2k-Andr/tools/love-android-sdl2/gen
  526.     [mkdir] Created dir: /home/user/Work/R-M2K/m2k-Andr/tools/love-android-sdl2/bin/classes
  527.     [mkdir] Created dir: /home/user/Work/R-M2K/m2k-Andr/tools/love-android-sdl2/bin/dexedLibs
  528.      [echo] ----------
  529.      [echo] Resolving Dependencies for love_android_sdl2...
  530. [dependency] Library dependencies:
  531. [dependency] No Libraries
  532. [dependency]
  533. [dependency] ------------------
  534.      [echo] ----------
  535.      [echo] Building Libraries with 'debug'...
  536.    [subant] No sub-builds to iterate on
  537.  
  538. -code-gen:
  539. [mergemanifest] Merging AndroidManifest files into one.
  540. [mergemanifest] Manifest merger disabled. Using project manifest only.
  541.      [echo] Handling aidl files...
  542.      [aidl] No AIDL files to compile.
  543.      [echo] ----------
  544.      [echo] Handling RenderScript files...
  545.      [echo] ----------
  546.      [echo] Handling Resources...
  547.      [aapt] Generating resource IDs...
  548.      [echo] ----------
  549.      [echo] Handling BuildConfig class...
  550. [buildconfig] Generating BuildConfig class.
  551.  
  552. -pre-compile:
  553.  
  554. -compile:
  555.     [javac] Compiling 7 source files to /home/user/Work/R-M2K/m2k-Andr/tools/love-android-sdl2/bin/classes
  556.     [javac] warning: [options] source value 1.5 is obsolete and will be removed in a future release
  557.     [javac] warning: [options] target value 1.5 is obsolete and will be removed in a future release
  558.     [javac] warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.
  559.     [javac] Note: /home/user/Work/R-M2K/m2k-Andr/tools/love-android-sdl2/src/org/libsdl/app/SDLActivity.java uses or overrides a deprecated API.
  560.     [javac] Note: Recompile with -Xlint:deprecation for details.
  561.     [javac] 3 warnings
  562.  
  563. -post-compile:
  564.  
  565. -obfuscate:
  566.  
  567. -dex:
  568.       [dex] input: /home/user/Work/R-M2K/m2k-Andr/tools/love-android-sdl2/bin/classes
  569.       [dex] Converting compiled files and external libraries into /home/user/Work/R-M2K/m2k-Andr/tools/love-android-sdl2/bin/classes.dex...
  570.  
  571. -crunch:
  572.    [crunch] Crunching PNG Files in source dir: /home/user/Work/R-M2K/m2k-Andr/tools/love-android-sdl2/res
  573.    [crunch] To destination dir: /home/user/Work/R-M2K/m2k-Andr/tools/love-android-sdl2/bin/res
  574.    [crunch] Processing image to cache: /home/user/Work/R-M2K/m2k-Andr/tools/love-android-sdl2/res/drawable-xxhdpi/ic_launcher.png => /home/user/Work/R-M2K/m2k-Andr/tools/love-android-sdl2/bin/res/drawable-xxhdpi/ic_launcher.png
  575.    [crunch]   (processed image to cache entry /home/user/Work/R-M2K/m2k-Andr/tools/love-android-sdl2/bin/res/drawable-xxhdpi/ic_launcher.png: 40% size of source)
  576.    [crunch] Crunched 1 PNG files to update cache
  577.  
  578. -package-resources:
  579.      [aapt] Creating full resource package...
  580.  
  581. -package:
  582. [apkbuilder] Current build type is different than previous build: forced apkbuilder run.
  583. [apkbuilder] Creating love_android_sdl2-debug-unaligned.apk and signing it with a debug key...
  584. [apkbuilder] Exception in thread "main" java.lang.ExceptionInInitializerError
  585. [apkbuilder]    at java.text.RBTableBuilder.build(RBTableBuilder.java:107)
  586. [apkbuilder]    at java.text.RBCollationTables.<init>(RBCollationTables.java:83)
  587. [apkbuilder]    at java.text.RuleBasedCollator.<init>(RuleBasedCollator.java:300)
  588. [apkbuilder]    at java.text.RuleBasedCollator.<init>(RuleBasedCollator.java:281)
  589. [apkbuilder]    at sun.util.locale.provider.CollatorProviderImpl.getInstance(CollatorProviderImpl.java:106)
  590. [apkbuilder]    at java.text.Collator.getInstance(Collator.java:242)
  591. [apkbuilder]    at java.text.Collator.getInstance(Collator.java:224)
  592. [apkbuilder]    at sun.security.tools.keytool.Main.<clinit>(Main.java:323)
  593. [apkbuilder] Caused by: java.lang.RuntimeException: could not locate data
  594. [apkbuilder]    at sun.text.normalizer.NormalizerImpl.<clinit>(NormalizerImpl.java:60)
  595. [apkbuilder]    ... 8 more
  596.  
  597. BUILD FAILED
  598. /home/user/Work/R-M2K/m2k-Andr/tools/android-linux/tools/ant/build.xml:958: The following error occurred while executing this line:
  599. /home/user/Work/R-M2K/m2k-Andr/tools/android-linux/tools/ant/build.xml:969: The following error occurred while executing this line:
  600. /home/user/Work/R-M2K/m2k-Andr/tools/android-linux/tools/ant/build.xml:312: com.android.sdklib.build.ApkCreationException: Unable to get debug signature key
  601.     at com.android.sdklib.build.ApkBuilder.getDebugKey(ApkBuilder.java:279)
  602.     at com.android.sdklib.build.ApkBuilder.<init>(ApkBuilder.java:392)
  603.     at com.android.ant.ApkBuilderTask.execute(ApkBuilderTask.java:334)
  604.     at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:293)
  605.     at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
  606.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  607.     at java.lang.reflect.Method.invoke(Method.java:497)
  608.     at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
  609.     at org.apache.tools.ant.Task.perform(Task.java:348)
  610.     at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68)
  611.     at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:293)
  612.     at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
  613.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  614.     at java.lang.reflect.Method.invoke(Method.java:497)
  615.     at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
  616.     at org.apache.tools.ant.Task.perform(Task.java:348)
  617.     at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:396)
  618.     at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:293)
  619.     at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
  620.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  621.     at java.lang.reflect.Method.invoke(Method.java:497)
  622.     at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
  623.     at org.apache.tools.ant.Task.perform(Task.java:348)
  624.     at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68)
  625.     at com.android.ant.IfElseTask.execute(IfElseTask.java:124)
  626.     at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:293)
  627.     at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
  628.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  629.     at java.lang.reflect.Method.invoke(Method.java:497)
  630.     at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
  631.     at org.apache.tools.ant.Task.perform(Task.java:348)
  632.     at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68)
  633.     at com.android.ant.IfElseTask.execute(IfElseTask.java:124)
  634.     at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:293)
  635.     at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
  636.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  637.     at java.lang.reflect.Method.invoke(Method.java:497)
  638.     at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
  639.     at org.apache.tools.ant.Task.perform(Task.java:348)
  640.     at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68)
  641.     at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:293)
  642.     at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
  643.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  644.     at java.lang.reflect.Method.invoke(Method.java:497)
  645.     at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
  646.     at org.apache.tools.ant.Task.perform(Task.java:348)
  647.     at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:396)
  648.     at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:293)
  649.     at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
  650.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  651.     at java.lang.reflect.Method.invoke(Method.java:497)
  652.     at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
  653.     at org.apache.tools.ant.Task.perform(Task.java:348)
  654.     at org.apache.tools.ant.Target.execute(Target.java:435)
  655.     at org.apache.tools.ant.Target.performTasks(Target.java:456)
  656.     at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1405)
  657.     at org.apache.tools.ant.Project.executeTarget(Project.java:1376)
  658.     at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
  659.     at org.apache.tools.ant.Project.executeTargets(Project.java:1260)
  660.     at org.apache.tools.ant.Main.runBuild(Main.java:853)
  661.     at org.apache.tools.ant.Main.startAnt(Main.java:235)
  662.     at org.apache.tools.ant.launch.Launcher.run(Launcher.java:285)
  663.     at org.apache.tools.ant.launch.Launcher.main(Launcher.java:112)
  664.  
  665. Total time: 13 seconds
  666. cp: не удалось выполнить stat для 'bin/love_android_sdl2-debug.apk': Нет такого файла или каталога
  667. user@PC3:~/Work/R-M2K/m2k-Andr$
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top