Recent

Author Topic: [SOLVED] Error creating LAMW project  (Read 144 times)

capslock

  • New Member
  • *
  • Posts: 12
[SOLVED] Error creating LAMW project
« on: October 12, 2019, 09:25:59 pm »
I just fresh installed lazarus + lamw following this tutorial:

https://forum.lazarus.freepascal.org/index.php/topic,40750.0.html

I tried to create a new project under LAMW selecting File | New... | Project | LAMW [GUI] Android Module, no change defaults, just clicked OK, got the following message :

Code: Text  [Select]
  1. Unable to open file "/home/[my user]/fpcupdeluxe/ccr/lamw/android_wizard/smartdesigner/java/values-v14/styles.xml

Under "/home/[myuser]/fpcupdeluxe/ccr/lamw/android_wizard" folder, "smartdesigner" folder does not exists:

Code: Bash  [Select]
  1. myuser@android-development:~/fpcupdeluxe/ccr/lamw/android_wizard$ ls -l
  2. total 924
  3. -rw-r--r-- 1 myuser myuser  24717 Oct  8 09:40 androidthemes.pas
  4. -rw-r--r-- 1 myuser myuser 165300 Oct  8 09:40 androidwizard_intf.pas
  5. -rw-r--r-- 1 myuser myuser   7414 Oct  8 09:40 formpathmissing.lfm
  6. -rw-r--r-- 1 myuser myuser   1134 Oct  8 09:40 formpathmissing.pas
  7. -rw-r--r-- 1 myuser myuser   4741 Oct  8 09:40 imgcache.pas
  8. -rw-r--r-- 1 myuser myuser  10484 Oct  8 09:40 jimagelisteditdlg.lfm
  9. -rw-r--r-- 1 myuser myuser  11843 Oct  8 09:40 jimagelisteditdlg.pas
  10. -rw-r--r-- 1 myuser myuser 132812 Oct  8 09:40 lamwdesigner.pas
  11. -rw-r--r-- 1 myuser myuser  10870 Oct  8 09:40 lamwsettings.pas
  12. -rw-r--r-- 1 myuser myuser    138 Oct  8 09:40 lazandroidwizardmodule.lfm
  13. -rw-r--r-- 1 myuser myuser   3713 Oct  8 09:40 lazandroidwizardpack.lpk
  14. -rw-r--r-- 1 myuser myuser    654 Oct  8 09:40 lazandroidwizardpack.pas
  15. drwxr-xr-x 3 myuser myuser   4096 Oct 10 01:33 lib
  16. -rw-r--r-- 1 myuser myuser   8723 Oct  8 09:40 ninepatchpng.pas
  17. -rw-r--r-- 1 myuser myuser 126274 Oct  8 09:40 smartdesigner.pas
  18. -rw-r--r-- 1 myuser myuser 132706 Oct  8 09:40 uformandroidproject.lfm
  19. -rw-r--r-- 1 myuser myuser  30340 Oct  8 09:40 uformandroidproject.pas
  20. -rw-r--r-- 1 myuser myuser   6963 Oct  8 09:40 uformosystem.lfm
  21. -rw-r--r-- 1 myuser myuser   2671 Oct  8 09:40 uformosystem.pas
  22. -rw-r--r-- 1 myuser myuser   8724 Oct  8 09:40 uformsizeselect.lfm
  23. -rw-r--r-- 1 myuser myuser   7530 Oct  8 09:40 uformsizeselect.pas
  24. -rw-r--r-- 1 myuser myuser 106996 Oct  8 09:40 uformworkspace.lfm
  25. -rw-r--r-- 1 myuser myuser  51347 Oct  8 09:40 uformworkspace.pas
  26. -rw-r--r-- 1 myuser myuser  14897 Oct  8 09:40 ujavaparser.pas
  27. -rw-r--r-- 1 myuser myuser  12396 Oct  8 09:40 uregisterform.lfm
  28. -rw-r--r-- 1 myuser myuser   1380 Oct  8 09:40 uregisterform.pas
  29.  

What solve this?

Thanks,

Gustavo
« Last Edit: October 12, 2019, 11:47:13 pm by capslock »

jmpessoa

  • Hero Member
  • *****
  • Posts: 1457
Re: Error creating LAMW project
« Reply #1 on: October 12, 2019, 09:32:11 pm »

You can try get LAMW from here:

https://github.com/jmpessoa/lazandroidmodulewizard    [clone or download]
Lamw: Lazarus Android Module Wizard
https://github.com/jmpessoa/lazandroidmodulewizard

capslock

  • New Member
  • *
  • Posts: 12
Re: Error creating LAMW project
« Reply #2 on: October 12, 2019, 11:46:43 pm »
Good!

Getting LAMW from https://github.com/jmpessoa/lazandroidmodulewizard worked like a charm! Of course, I removed LAMW from fpcupdeluxe before, and install a new one from git.

Thanks jmpessoa