* * *

Author Topic: LazToAPK on windows 10  (Read 1241 times)

nasa

  • New member
  • *
  • Posts: 20
LazToAPK on windows 10
« on: June 22, 2017, 04:23:09 pm »
Someone installed laztoapk on Windows 10 ?

I could not get it running

it can not find android ndk, android sdk and even java JDK.

i have changed the paths with no sucess

thanks

Handoko

  • Hero Member
  • *****
  • Posts: 1772
  • My goal: build my own game engine using Lazarus
Re: LazToAPK on windows 10
« Reply #1 on: June 22, 2017, 06:33:56 pm »
If I remember correctly, when installing laztoapk, you will be asked to down load ndk, sdk and jdk. Did you skip them?

Handoko

  • Hero Member
  • *****
  • Posts: 1772
  • My goal: build my own game engine using Lazarus
Re: LazToAPK on windows 10
« Reply #2 on: June 22, 2017, 06:41:54 pm »
Oh, I was wrong. That is laz4android. If you're a beginner try laz4android, it is easier. Or try LAMW.

To make LazToApk works, you have to follow the instruction "Lazarus and Android.pdf":
https://sourceforge.net/projects/laztoapk/files

To learn more about Lazarus Android programming:
http://forum.lazarus.freepascal.org/index.php/topic,33487.msg217112.html#msg217112
« Last Edit: June 22, 2017, 06:58:43 pm by Handoko »

nasa

  • New member
  • *
  • Posts: 20
Re: LazToAPK on windows 10
« Reply #3 on: June 27, 2017, 02:15:00 pm »
Ok i could make it run on Windows 10 following the Lazarus and Android.pdf

It Builds the Project, create the Keys, builds the APK and install on device

But when i try to run the app on device it pops the message "Application has stopped"

My Device: Samsung Galaxy S5
Android: 6.0.1
LaztoApk: 0.9.0.37
NDK-Plataform: 4.1.2 (API 16)
SDK Build-tool: 26.0.0
JDK: 1.8.9.131

Thanks

Handoko

  • Hero Member
  • *****
  • Posts: 1772
  • My goal: build my own game engine using Lazarus
Re: LazToAPK on windows 10
« Reply #4 on: June 27, 2017, 02:30:09 pm »
LazToApk and Laz4Android have issue with Android 5 and above. It has been discussed here, you can try to search the threads if you want to know more. If I remember correctly the problem was the CustomDrawn package (which used by LazToApk and Laz4Android) has compatibility issue with Android.

You can try LAMW, it is actively developed and the developer is very nice and helpful.

 

Recent

Get Lazarus at SourceForge.net. Fast, secure and Free Open Source software downloads Open Hub project report for Lazarus