Recent

Author Topic: release-keystore.bat fails to generate .keystore file  (Read 3588 times)

szlbz

  • New member
  • *
  • Posts: 9
release-keystore.bat fails to generate .keystore file
« on: January 04, 2022, 10:54:40 pm »
release-keystore.bat fails to generate .keystore file
lamw\android_wizard\AndroidWizard_intf.pas  "LC_ALL=C" in line 2219 delete, can generate .keystore file
Code: Pascal  [Select][+][-]
  1. strList.Add('LC_ALL=C keytool -genkey -v -keystore '+Lowercase(FSmallProjName)+'-release.keystore -alias '+apk_aliaskey+' -keyalg RSA -keysize 2048 -validity 10000 < '+FAndroidProjectName+DirectorySeparator+'keytool_input.txt');
  2.  
Change to:
Code: Pascal  [Select][+][-]
  1. strList.Add('keytool -genkey -v -keystore '+Lowercase(FSmallProjName)+'-release.keystore -alias '+apk_aliaskey+' -keyalg RSA -keysize 2048 -validity 10000 < '+FAndroidProjectName+DirectorySeparator+'keytool_input.txt');
  2.  
« Last Edit: January 04, 2022, 11:11:15 pm by szlbz »

jmpessoa

  • Hero Member
  • *****
  • Posts: 2111
Re: release-keystore.bat fails to generate .keystore file
« Reply #1 on: January 05, 2022, 02:38:03 am »
Hi, szlbz!

You are proposing to remove this part of the code?
Code: Pascal  [Select][+][-]
  1. LC_ALL=C
  2.  


This part was suggested by someone to handle idiom/language in command line interaction/response
...
« Last Edit: January 05, 2022, 02:40:55 am by jmpessoa »
Lamw: Lazarus Android Module Wizard
https://github.com/jmpessoa/lazandroidmodulewizard

szlbz

  • New member
  • *
  • Posts: 9
Re: release-keystore.bat fails to generate .keystore file
« Reply #2 on: January 05, 2022, 03:13:46 am »
I need to delete it to generate the .keystore file

jmpessoa

  • Hero Member
  • *****
  • Posts: 2111
Re: release-keystore.bat fails to generate .keystore file
« Reply #3 on: January 05, 2022, 07:17:26 pm »

Rollback done!


Thank you!
Lamw: Lazarus Android Module Wizard
https://github.com/jmpessoa/lazandroidmodulewizard

szlbz

  • New member
  • *
  • Posts: 9
Re: release-keystore.bat fails to generate .keystore file
« Reply #4 on: January 06, 2022, 12:05:51 pm »
Thank you!

guaracy

  • New Member
  • *
  • Posts: 14
Re: release-keystore.bat fails to generate .keystore file
« Reply #5 on: January 25, 2022, 06:00:10 am »
LC_ALL=C is for Linux only (i don't know about macOS)

release-keystore.sh not release-keystore.bat

So, please, don't remove LC_ALL=C from line 2434

« Last Edit: January 25, 2022, 06:50:48 am by guaracy »

jmpessoa

  • Hero Member
  • *****
  • Posts: 2111
Re: release-keystore.bat fails to generate .keystore file
« Reply #6 on: January 25, 2022, 07:50:00 am »
Code: Pascal  [Select][+][-]
  1. LC_ALL=C is for Linux only (i don't know about macOS)
  2.  
  3. release-keystore.sh not release-keystore.bat
  4.  
  5. So, please, don't remove LC_ALL=C from line 2434
  6.  

OK! I will fix it!

Thank you!

Edited: Done!!!
« Last Edit: January 25, 2022, 05:38:03 pm by jmpessoa »
Lamw: Lazarus Android Module Wizard
https://github.com/jmpessoa/lazandroidmodulewizard

 

TinyPortal © 2005-2018