Recent

Author Topic: [HowTo] Android Development Environment on Linux (FPCUPdeluxe + LAMW)  (Read 19425 times)

MarkMLl

  • Hero Member
  • *****
  • Posts: 2869
Re: [HowTo] Android Development Environment on Linux (FPCUPdeluxe + LAMW)
« Reply #45 on: June 06, 2020, 01:08:13 pm »
I recommend you a Samsung phone, even the cheap ones are good. I have one with only 16gb of disk space (Samsung j5 prime, 2016 model) and I can install everything, except big games, but everything else works. With one of 32gb of space will be enough for everything else.

A friend sent me a Chinese large-screen 'phone a few months ago, and I ended up doing repeated Android reinstalls. I'm not saying that the 'phone is particularly good or bad, but the experience highlighted the necessity of (a) selecting a 'phone for which firmware images are available and (b) making sure that the processor can always be put into a "coldstart" mode where it will accept a new firmware image (none of this "locked for your own protection" lark) and that a suitable upload program for your chosen PC OS is available.

In this particular case the Phone was a King PPTV PP6000, the chip was Mediatek which has a low-level USB upload protocol baked in, and an uploader was available which ran on Linux provided that ModemManager was disabled.

MarkMLl
Turbo Pascal v1 on CCP/M-86, multitasking with LAN and graphics in 128Kb.
Pet hate: people who boast about the size and sophistication of their computer.
GitHub repositories: https://github.com/MarkMLl?tab=repositories

WayneSherman

  • Full Member
  • ***
  • Posts: 111
Re: [HowTo] Android Development Environment on Linux (FPCUPdeluxe + LAMW)
« Reply #46 on: June 05, 2021, 07:07:58 am »
Updated installation procedure to 2021-Jun-04 ver 1.4
(see first post)

Changes:
Code: Text  [Select][+][-]
  1. Simplified folder structure so everything is self-contained in one folder. ($HOME/android)
  2. Using one-button LAMW install from FPCUPdeluxe. (works great, thanks DonAlfredo!)
  3. Removed old work-arounds which are no longer required.
  4. Add a new work-around for LAMW with NDK r22 and higher.
  5. Tested on newer OS (Xubuntu 20.04 64-bit)
  6. Using OpenJDK 11 (previously was using ver 8)
  7. All dev tools and utilities have been updated to more recent versions.
  8. No longer need FPC/Lazarus trunk, so using stable builds of both.
  9. Logout is no longer needed to set environment variables.
  10. Added optional script to setup environment for command line work.
« Last Edit: June 05, 2021, 02:53:25 pm by WayneSherman »

WayneSherman

  • Full Member
  • ***
  • Posts: 111
Re: [HowTo] Android Development Environment on Linux (FPCUPdeluxe + LAMW)
« Reply #47 on: June 05, 2021, 04:39:07 pm »
Updated installation procedure to 2021-Jun-05 ver 1.5
(see first post)

Changes:
Code: Text  [Select][+][-]
  1. Removed work-around for LAMW when using NDK revision >= 22.
  2. This has been fixed in the latest LAMW git code.
  3. (Work around was incorrect anyway since the API level was needed by LAMW, not the NDK revision)
  4.  

jmpessoa

  • Hero Member
  • *****
  • Posts: 1891
Re: [HowTo] Android Development Environment on Linux (FPCUPdeluxe + LAMW)
« Reply #48 on: June 05, 2021, 05:51:47 pm »

Uptaded LAMW github!

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

 

TinyPortal © 2005-2018