Recent

Author Topic: release-keystore.bat fails to generate .keystore file  (Read 748 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: 2050
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: 2050
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!

 

TinyPortal © 2005-2018