Recent

Author Topic: It feels like a big leaky boat. Question 1  (Read 4925 times)

gary

  • New Member
  • *
  • Posts: 28
Re: It feels like a big leaky boat. Question 1
« Reply #15 on: December 22, 2024, 07:47:33 am »
Good netiquette requires asking 1 question at a time.
You have encouraged him to make a bunch of threads which look like they have same name. It’s very confusing and looks like spam.  :o
I posted that because he had _already_ posted 7 questions in a row.  You would know that if you had read his apology after I pointed out it was not good etiquette.

While on the subject of etiquette, it is also good etiquette to read the posts, it prevents posting incorrect comments such as yours.  Contrary to what you stated, I _discouraged_ him from asking multiple related questions in a row in separate threads.

I apologize for the trouble I've caused everyone, so please let's get back to the question itself.

440bx

  • Hero Member
  • *****
  • Posts: 5068
Re: It feels like a big leaky boat. Question 1
« Reply #16 on: December 22, 2024, 08:13:43 am »
I apologize for the trouble I've caused everyone, so please let's get back to the question itself.
You already apologized and, for most people, including myself one heartfelt apology is sufficient.

Joanna, oth, seems to have a well developed talent to create a problem where there isn't one. 

Anyway, hopefully this will be the end of that in this thread.
(FPC v3.0.4 and Lazarus 1.8.2) or (FPC v3.2.2 and Lazarus v3.2) on Windows 7 SP1 64bit.

gary

  • New Member
  • *
  • Posts: 28
Re: It feels like a big leaky boat. Question 1
« Reply #17 on: December 22, 2024, 09:42:48 am »
I found that the GetPrebuiltDirectory UpdateBuildModes InitProject method in the lamw project fixes the paths in it, and when I write the lamw project, the paths are wrong, which leads to a series of problems.

Because the path I fill in doesn't match the fixed address, and the fixed address doesn't have a file in it!

I'm trying to understand the developer's thinking, I don't know why he did this, if you are worried about the version is not controllable, you can make a hint in a conspicuous place.

BTW, I'm a newbie, I may be wrong, I'm happy for people to correct me!


c4p

  • Full Member
  • ***
  • Posts: 172
Re: It feels like a big leaky boat. Question 1
« Reply #18 on: December 22, 2024, 04:48:34 pm »
Hi Gary, I would try and keep to the recommended build spec for LAMW, I would recommend for anyone coming to LAMW for the first time to install it using LAMW Manager first, then do some coding on Android, and once you're familiar with the setup, then go and rebuild it with your own spec/versions, bearing in mind that some versions may not work correctly outside of the recommended spec and may cause your output to fail without more work being required (see recommended specs in the LAMW link below).

LAMW: https://github.com/jmpessoa/lazandroidmodulewizard

LAMWManager for Windows: https://github.com/dosza/LAMWManager-win
LAMWManager for Linux: https://github.com/dosza/LAMWManager-linux

I'm not saying what you've posted is wrong, as there could very well be a bug, I would just try to build LAMW using the recommended build spec first, then come back if the issue can be replicated with the recommended spec, I'm not sure what you're trying to do without the IDE, as it's tricky to generate an Android app without the IDE/GUI unless you're only doing a command line/terminal based app.

Jmpessoa has done some amazing work with LAMW but has not had much time recently to devote to LAMW due to work pressures, and if someone can flag/report any issues and fix them, they're welcome to post the corrected code on this forum, so your input with any issues are welcome.
Lazarus 2.0.12 r64642/FPC 3.2.0 LAMW v0.8.6.4 on Windows 10+Linux Mint 21.2, projects mainly built using AppCompat and Gradle.

Joanna from IRC

  • Hero Member
  • *****
  • Posts: 1343
Re: It feels like a big leaky boat. Question 1
« Reply #19 on: December 23, 2024, 12:16:42 am »
Good netiquette requires asking 1 question at a time.
You have encouraged him to make a bunch of threads which look like they have same name. It’s very confusing and looks like spam.  :o
I posted that because he had _already_ posted 7 questions in a row.  You would know that if you had read his apology after I pointed out it was not good etiquette.

While on the subject of etiquette, it is also good etiquette to read the posts, it prevents posting incorrect comments such as yours.  Contrary to what you stated, I _discouraged_ him from asking multiple related questions in a row in separate threads.
Ah but you were correcting him here and not on the other threads. As I said confusing  %)
✨ 🙋🏻‍♀️ More Pascal enthusiasts are needed on IRC .. https://libera.chat/guides/ IRC.LIBERA.CHAT  Ports [6667 plaintext ] or [6697 secure] channel #fpc  #pascal Please private Message me if you have any questions or need assistance. 💁🏻‍♀️

gary

  • New Member
  • *
  • Posts: 28
Re: It feels like a big leaky boat. Question 1
« Reply #20 on: December 23, 2024, 06:41:42 pm »
Hi Gary, I would try and keep to the recommended build spec for LAMW, I would recommend for anyone coming to LAMW for the first time to install it using LAMW Manager first, then do some coding on Android, and once you're familiar with the setup, then go and rebuild it with your own spec/versions, bearing in mind that some versions may not work correctly outside of the recommended spec and may cause your output to fail without more work being required (see recommended specs in the LAMW link below).

LAMW: https://github.com/jmpessoa/lazandroidmodulewizard

LAMWManager for Windows: https://github.com/dosza/LAMWManager-win
LAMWManager for Linux: https://github.com/dosza/LAMWManager-linux

I'm not saying what you've posted is wrong, as there could very well be a bug, I would just try to build LAMW using the recommended build spec first, then come back if the issue can be replicated with the recommended spec, I'm not sure what you're trying to do without the IDE, as it's tricky to generate an Android app without the IDE/GUI unless you're only doing a command line/terminal based app.

Jmpessoa has done some amazing work with LAMW but has not had much time recently to devote to LAMW due to work pressures, and if someone can flag/report any issues and fix them, they're welcome to post the corrected code on this forum, so your input with any issues are welcome.

First of all, thank you! And then thanks again to Jmpessoa for all the work. But I'm almost sure it's a version issue, I'm using a higher version of the SDK NDK other than Jmpessoa's recommendation, and the lamw code is not very friendly to newer versions, even the directory is not correct, so there's a series of should be.

So far compiling with the recommended way and version has not been a problem, but signing has been a problem again.Build Release Signed Apk prompt Unable to open file “D:\android-applAppLAMWProject5\gradle-local.... Actually the signing key was not generated, I solved it manually.

It seems that the set Path path of the gradle-local-apksigner.bat file is not correct. I don't think this is reliable either

 

TinyPortal © 2005-2018