Recent

Author Topic: LAMW Manager  (Read 20780 times)

Josh

  • Hero Member
  • *****
  • Posts: 1271
Re: LAMW Manager
« Reply #30 on: January 18, 2020, 02:13:56 am »
Hi

Thought I would try playing around with Android, and this windows util looks interesting.

However it seems to install everything to the C Drive.

Can this be changed as my C drive is a 250GB M.2 drive, and I wish to keep this for windows OS.

I have 1TB SSD that I wish to install it on.

It would be ideal if it created a 'sandboxed' install of everything in a Drive and Folder of My Choosing.

Thanks in advance.

ps. I started the Installer before I realized, so what folders does it create in C Drive; so I can remove them.
Found it created a folder with application in called chocolatey; which I have removed.

« Last Edit: January 18, 2020, 02:29:16 am by josh »
The best way to get accurate information on the forum is to post something wrong and wait for corrections.

DanielTimelord

  • Guest
Re: LAMW Manager
« Reply #31 on: January 18, 2020, 08:53:07 pm »
Hello,
I'm sorry, this functionality isn't not  yet available,try manual install (good luck) : https://github.com/jmpessoa/lazandroidmodulewizard/blob/master/LAMW_Getting_Started.txt.Maybe will be implemented in release future.
The command (run as admin) c:\lamw_manager\lamw_mananager.bat uninstall uninstall LAMW enviroment. (it's in the official LAMW Manager Docs)
Follow this steps:
One: get the uninstall.ps1.zip and unzip (as attchment)
Two: open powershell as admin:
three: run command: powershell.exe Set-ExecutionPolicy Bypass
four: go to unzipped folder. (sample cd: $env:homepath\Downloads)
five: run command  .\uninstall.ps1

Note: chocolatey is a package manager, part essential to this tool to work.
« Last Edit: January 18, 2020, 08:58:24 pm by DanielTimelord »

DanielTimelord

  • Guest
Re: LAMW Manager
« Reply #32 on: March 10, 2020, 01:27:51 pm »
LAMW Manager v0.3.4 (Linux Only) has been Released!

For information on new features and bug fixes read the Release Notes: https://github.com/DanielOliveiraSouza/LAMW4Linux-installer/blob/v0.3.4/lamw_manager/docs/release_notes.md#v034---march-10-2020


Warning: Users of v0.3.3 should migrate as soon as possible to version v0.3.4!

Notes:
Remember to read the docs:
README: https://github.com/DanielOliveiraSouza/LAMW4Linux-installer/blob/master/README.md
« Last Edit: March 10, 2020, 02:57:12 pm by DanielTimelord »

DanielTimelord

  • Guest
Re: LAMW Manager
« Reply #33 on: March 25, 2020, 07:36:53 am »
LAMW Manager v0.3.1 (Windows) has been Released!

For information on new features and bug fixes read the Release Notes:
https://github.com/DanielOliveiraSouza/LAMW4Windows-installer/blob/master/lamw_manager/docs/releases_notes.md#v031---march-25-2020

Notes:
Remember to read the docs:
README: https://github.com/DanielOliveiraSouza/LAMW4Windows-installer/blob/master/README.md
« Last Edit: March 26, 2020, 06:18:30 am by DanielTimelord »

DanielTimelord

  • Guest
Re: LAMW Manager
« Reply #34 on: May 23, 2020, 06:42:27 pm »
LAMW Manager v0.3.4 - R1 (to Linux) has has been released with important fixes.

  For information on new features and bug fixes read the Release Notes: https://github.com/DanielOliveiraSouza/LAMW4Linux-installer/blob/v0.3.4/lamw_manager/docs/release_notes.md#v034---r1---may-20-2020

Notes:
Remember to read the docs:
README: https://github.com/DanielOliveiraSouza/LAMW4Linux-installer/blob/master/README.md
« Last Edit: May 23, 2020, 09:12:34 pm by DanielTimelord »

kqha

  • New Member
  • *
  • Posts: 23
Re: LAMW Manager
« Reply #35 on: May 25, 2020, 08:47:18 am »
LAMW Manager
   version 0.3.0 

"A  installer  to  generate Lazarus IDE [and all equirements!] ready to develop for Android!"

(I) LAMW4Linux-installer

   A complete installer and manager of LAMW for Linux
      ref. https://github.com/DanielOliveiraSouza/LAMW4Linux-installer

   1) Download [and unzip]:
      https://github.com/DanielOliveiraSouza/LAMW4Linux-installer/archive/master.zip

   2) Install LAzarus + LAMW and all dependencies:

      Go to directory lamw_manager and run:
         ./lamw_manager
   
   3) Install LAzarus + LAMW and dependencies and Run Android  GUI SDK Manager

      Go to directory lamw_manager and run:      
         ./lamw_manager --sdkmanager

   4) Update LAMW framework from github   [warning: close the Lazarus IDE]
      Go to directory lamw_manager and run:
         ./lamw_manager --update_lamw


   Important Note:

      Always launcher  Lazarus IDE using the icon LAMW4Linux on Start Menu.


   For more info read "LAMW Manager v0.3.0 Manual"
        https://github.com/DanielOliveiraSouza/LAMW4Linux-installer/blob/master/lamw_manager/docs/man.md

(II) LAMW4Windows-installer

   A complete installer and manager of LAMW for Windows
      ref https://github.com/DanielOliveiraSouza/LAMW4Windows-installer

   1) Download "lamw_manager_setup.exe" here:

      https://raw.githubusercontent.com/DanielTimelord/Laz4LAMW-win-installer/master/lamw_manager/lamw_manager_setup.exe

      [Optional]
      https://github.com/DanielOliveiraSouza/LAMW4Windows-installer/archive/master.zip

   2) Install Laz4Android + LAMW and all dependencies:
   
          Double-click "lamw_manager_setup.exe"

          [Optional]
          Go to folder C:\lamw_manager
          Right-click "lamw_manager.bat" and "Run as administrator"

   3) Update LAMW from github [warning: close the Lazarus IDE]
       
      Go to folder C:\lamw_manager
          Right-click "lamw_manager.bat" and "Run as administrator"

   Important Note:
      Always launcher  Lazarus IDE using the icon LAMW4Windows on Start Menu.


Congratulations!!

   You are now a Lazarus for Android developer!
      Building Android application with LAMW is RAD!

Have fun!

I don't know where I did wrong, but running preinstall.bat in lamw_manager always fail in msys2 install. It just run to 4-5% progress and failed. I don't think it's a network connectivity issue since my connection runs just fine, I even try to download and install msys2 manually into C:\tools\msys2 but apparently msys2 setup must be processed through lamw_manager script(s) because manual msys2 installation is not recognized even though I install it into c:\tools\msys2

One thing that you should mention though, that "C:\tools" folder will be deleted during install/reinstall. I peek somewhere in your script that it completely deleted that folder. You should at least make it a warning in readme or popup message. "C:\tools" folder IMO is a pretty generic name, and for my case I used same folder before to put all my portable apps, and I lost them all because of it. You can also modify the script to purge only the folder that supposed to be created by lamw_manager instead of purging entire C:\tools

DanielTimelord

  • Guest
Re: LAMW Manager
« Reply #36 on: May 25, 2020, 09:59:31 pm »
So sorry!
Error: delete C:\tools has been fixed!
LAMW Manager uses  chocolatey package manager  that
install in c:\tools\msys32 or c:\ tools\msys64.

In next release, this method of install has been descontinued and the msys2 will be installed in lamw_manager folder!

amartitegui

  • Jr. Member
  • **
  • Posts: 84
Re: LAMW Manager
« Reply #37 on: June 13, 2020, 01:12:20 pm »
Hi, I just tried LAMW manager. In Windows.
Install fails when (in cmd) gets to :
start compiling package utils-fpcm for target i386-win32
It stays foreverr at that point.
See copy of the point where it stays "forever" or at least more than 90 minutes:
Start compiling package utils for target i386-win32.
       Compiling BuildUnit_utils.pp
       Compiling usubst.pp
       Compiling ptopu.pp
       Compiling ptop.pp
       Linking bin\i386-win32\ptop.exe
       Compiling ppdep.pp
       Linking bin\i386-win32\ppdep.exe
       Compiling rstconv.pp
       Linking bin\i386-win32\rstconv.exe
       Compiling data2inc.pp
       Linking bin\i386-win32\data2inc.exe
       Compiling delp.pp
       Linking bin\i386-win32\delp.exe
       Compiling bin2obj.pp
       Linking bin\i386-win32\bin2obj.exe
       Compiling mkinsadd.pp
       Linking bin\i386-win32\mkinsadd.exe
       Compiling postw32.pp
       Linking bin\i386-win32\postw32.exe
       Compiling rmcvsdir.pp
       Linking bin\i386-win32\rmcvsdir.exe
       Compiling fpcsubst.pp
       Linking bin\i386-win32\fpcsubst.exe
[  5%] Compiled package utils
[ 10%] Skipped package utils-dxegen which has been disabled for target i386-win32
Start compiling package utils-fpcm for target i386-win32.

                                                                                                                     
Any suggestions?
Thanks, and good job.                                                               

DanielTimelord

  • Guest
Re: LAMW Manager
« Reply #38 on: July 19, 2020, 06:42:03 pm »
This error is not related to LAMW Manager, but to the windows command prompt. The "Quick Edition" mode pauses the screen to copy the content to the clipboard.
Press enter and the process will continue ...
Disable "quick edition" in the cmd / powershell settings.
Read more in:
https://stackoverflow.com/questions/13599822/command-prompt-gets-stuck-and-continues-on-enter-key-press

DanielTimelord

  • Guest
Re: LAMW Manager
« Reply #39 on: July 19, 2020, 06:45:46 pm »
LAMW Manager - Linux v0.3.5 Released

LAMW Manager v0.3.5 (to Linux) has has been released with important fixes for FPC and Lazarus.
  For information on new features and bug fixes read the Release Notes https://github.com/DanielOliveiraSouza/LAMW4Linux-installer/blob/master/lamw_manager/docs/release_notes.md

Notes:
Remember the official LAMW Manager (to Linux) documentation is only on https://github.com/danieloliveirasouza/lamw4linux-installer

README: https://github.com/DanielOliveiraSouza/LAMW4Linux-installer/blob/master/README.md
Manual:https://github.com/DanielOliveiraSouza/LAMW4Linux-installer/blob/master/lamw_manager/docs/man.md

« Last Edit: July 24, 2020, 07:33:32 am by DanielTimelord »

mdalacu

  • Full Member
  • ***
  • Posts: 233
    • dmSimpleApps
Re: LAMW Manager
« Reply #40 on: July 19, 2020, 11:49:31 pm »
I have installed in Ubuntu Mate 20.04 and it is working great!!!
First time creating a test project pascal for Android. Fun! I need to see how layout works in app.. :-[
Thanks!

jmpessoa

  • Hero Member
  • *****
  • Posts: 2297
Re: LAMW Manager
« Reply #41 on: July 20, 2020, 01:27:18 am »

from LAMW "docs":

Quote
[FAQ 2]: [Thanks to Ahmad Bohloolbandi (a.k.a. @developing) ]

#Question: How do we can design a layout that shown same in real device?

[Answer]: You should use the component properties:

      "Anchor",
      "PosRelativeToParent",
      "PosRelativeToAnchor",
      "LayoutParamHeight",
      "LayoutParamWhidth"
         
Example:

1-Put a "jTextView" component on your AndroidModule form:

   Set "PosRelativeToParent"
      "rpCenterHorizontal" [True]
      "rpTop" [True]

2-Put a "jButton" component on AndroidModule form:

   Set "Anchor" to "jTextView" (Because you should set position relative with "jTextView")
   set "PosRelativeToAnchor"
      "raBelow" [True]

3-Put a "jEditText" component on form:

   Set "Anchor" to "jButton".
   Set "PosRelativeToAnchor"
      "raBelow" [True]

NOTE:    Anchor setting is most important section of this design,
   because your component position depends on this property.
   And for change width and/or height of each components you should
   change/configure "LayoutParamWhidth" and/or "LayoutParamHeight".
Lamw: Lazarus Android Module Wizard
https://github.com/jmpessoa/lazandroidmodulewizard

DanielTimelord

  • Guest
Re: LAMW Manager
« Reply #42 on: August 08, 2020, 06:19:42 pm »
LAMW Manager - Linux v0.3.5 -R1 Released

LAMW Manager v0.3.5 R1 (to Linux) has has been released with important fixes.
  For information on new features and bug fixes read the Release Notes https://github.com/DanielOliveiraSouza/LAMW4Linux-installer/blob/master/lamw_manager/docs/release_notes.md#v035--r1--august-6-2020

Users should update the tool as soon as possible!

Notes:
Remember the official LAMW Manager (to Linux) documentation is only on https://github.com/danieloliveirasouza/lamw4linux-installer

README: https://github.com/DanielOliveiraSouza/LAMW4Linux-installer/blob/master/README.md
Manual:https://github.com/DanielOliveiraSouza/LAMW4Linux-installer/blob/master/lamw_manager/docs/man.md
« Last Edit: August 08, 2020, 06:25:47 pm by DanielTimelord »

DanielTimelord

  • Guest
Re: LAMW Manager.
« Reply #43 on: August 08, 2020, 06:24:00 pm »
LAMW Manager v0.3.1 Fixes 06/08/2020 (Windows) has been Released! with important fixes!

For information on new features and bug fixes read the Release Notes:
https://github.com/DanielOliveiraSouza/LAMW4Windows-installer/blob/master/lamw_manager/docs/releases_notes.md#v031-fixes---august-6-2020

Users should update the tool as soon as possible!

Notes:
Remember to read the docs:
README: https://github.com/DanielOliveiraSouza/LAMW4Windows-installer/blob/master/README.md
« Last Edit: August 08, 2020, 06:26:22 pm by DanielTimelord »

 

TinyPortal © 2005-2018