Recent

Author Topic: [SOLVED] LAMW Android Virtual Device (AVD)  (Read 10300 times)

jmpessoa

  • Hero Member
  • *****
  • Posts: 2301
Re: [NOT Solved] LAMW Android Virtual Device (AVD)
« Reply #15 on: October 06, 2020, 08:36:27 pm »

Quote
I presume it is looking for the ADB executable in ~/LAMW/sdk/platform-tools.

Yes!

Just use "cd" until there e try find the missing "adb"  [executable]
Lamw: Lazarus Android Module Wizard
https://github.com/jmpessoa/lazandroidmodulewizard

iru

  • Sr. Member
  • ****
  • Posts: 321
Re: [NOT Solved] LAMW Android Virtual Device (AVD)
« Reply #16 on: October 07, 2020, 10:52:00 am »
Sorry to keep raising this issue but I am struggling with the problem.

You state 'Just use cd....'.

How and where????

I have been looking through the LAMW code and I can basically understand the process for 'Run> LAMW Build android APK & Run' but am stuck on the Gradle/java/HTML side if things. I also don't want to recompile the code and IDE to debug.

What I do not understand is why when the correct SDK path /home/iru/LAMW/sdk is specified the ADB is not executed,
when a bad SDK path say /home/iru/LAMW/sdkxxx is used the ADB is executed but then fails after multiple daemons.
Strange logic....

Help, ian

jmpessoa

  • Hero Member
  • *****
  • Posts: 2301
Re: [NOT Solved] LAMW Android Virtual Device (AVD)
« Reply #17 on: October 07, 2020, 07:36:33 pm »


Use some command line to reach the folder

 ~/LAMW/sdk/platform-tools

and verify if you have ADB installed.
Lamw: Lazarus Android Module Wizard
https://github.com/jmpessoa/lazandroidmodulewizard

iru

  • Sr. Member
  • ****
  • Posts: 321
Re: [Solved] LAMW Android Virtual Device (AVD)
« Reply #18 on: October 08, 2020, 06:31:47 am »
Solved.....

The problem is me! MY logic was wrong....

When I click on Run>[LAMW] Build Android APK and Run there is a brief flash of a form/terminal session and then the 'Android emulators' form popped up. No sign of any .apk file or anything. I was expecting something to be loaded onto an emulator/phone.

Read a lot, looked at log files, chased around the file structure,  and there was the apk. I simply did not understand the build/compile process.

Thanks, Ian. 

 

TinyPortal © 2005-2018