Recent

Author Topic: Ant.Properties can't be found  (Read 1013 times)

Pkandet

  • Newbie
  • Posts: 4
Ant.Properties can't be found
« on: May 25, 2022, 09:33:07 am »
Hi
I'm new and have just installed Laz4Android, but get the message when I 'test' new project - "Unable to open '<Path>:\ ant.properties' <Path> is the path to my compiled program. And It stops here  :'(
Is there anyone who can help?  :D
« Last Edit: May 25, 2022, 09:35:58 am by Pkandet »

Thaddy

  • Hero Member
  • *****
  • Posts: 14205
  • Probably until I exterminate Putin.
Re: Ant.Properties can't be found
« Reply #1 on: May 25, 2022, 10:53:44 am »
Did you install a proper Android <version> toolkit and made sure the paths are correctly set up?
I had the same issue some moons ago, but as usual, I relied on my own superiority over reading documentation.... %) :-[
The wiki entry is a bit old, but still correct.
« Last Edit: May 25, 2022, 10:55:26 am by Thaddy »
Specialize a type, not a var.

ADiV

  • Jr. Member
  • **
  • Posts: 90
    • ADiV Software
Re: Ant.Properties can't be found
« Reply #2 on: May 25, 2022, 11:24:26 am »
Just create the file "ant.properties"

I have uploaded an update to fix the bug, when jmpessoa syncronizes it it will be available and will not appear again.

Pkandet

  • Newbie
  • Posts: 4
Re: Ant.Properties can't be found
« Reply #3 on: May 25, 2022, 12:21:55 pm »
Hi again  :D
I know what you mean about 'my own superiority', But I have followed the instructions for use from LAMW: Lazarus Android Module Wizard and both changed the environment path on this PC and the paths under tools and under FPC cross Android, tried both armV7 + soft and aarch64 with success, I have run Lamw Manager?
What type is ant.properties saved in .js, .xml or? I can not find an example on the net as I can see, you can write a link to one?

Thanks in advance
palle  :D

ADiV

  • Jr. Member
  • **
  • Posts: 90
    • ADiV Software
Re: Ant.Properties can't be found
« Reply #4 on: May 25, 2022, 04:08:44 pm »
Hello, attached I send you a sample.

jmpessoa

  • Hero Member
  • *****
  • Posts: 2297
Re: Ant.Properties can't be found
« Reply #5 on: May 26, 2022, 12:13:15 am »
Quote
when jmpessoa syncronizes it it will be available and will not appear again.

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

Pkandet

  • Newbie
  • Posts: 4
Re: Ant.Properties can't be found
« Reply #6 on: May 26, 2022, 09:04:45 am »
Thank you very much
I've run into other problems, but I'm trying to solve them, otherwise I'll be back for sure  :-[
I'll probably let you know if I solve them in a positive way and what I did  :D
Thanks again

 

TinyPortal © 2005-2018