[SOLVED] App crash on Samsung Tab3 but work on Sony lazarus / 43-Android ---------------------------------------------------------------------- Adie · 2018-11-15 13:44 Hi, Im new to android programming so bear with me.  I finally got the Lazarus sample compiled to APK via LAMW after trying various options on the net here https://sourceforge.net/projects/laztoapk/files/ This one finally got the sample running on the Xperia with Android 8. My app need to run on a Samsung Tab3.  Android 4.4 but keep crashing with [AppCustomDialogDemo2 has stopped] message. I did download SDK Android-19 and changed the setting under [Project options] [LAMW.... to 19 but still no luck. Would appreciate if someone can tell me the API and other setting. thanks Adie ** edit ** Library 28 was above 19 in the lib search path ** end ** ---------------------------------------------------------------------- jmpessoa · 2018-11-16 22:06 A good choice for compatibilities issues:  [for android 4.0 until 8.1] 1) NDK API <= 22  2) MinSDk API = 14 3) Target API = 26   [required by "google play" store] ---------------------------------------------------------------------- CC · 2018-11-29 15:54 jmpessoa, What would be your suggestion  to include Android 9? ---------------------------------------------------------------------- Adie · 2018-11-29 19:07 I decided to stick to B4X at the moment.  It is easy but powerful so I can develop with my limited knowledge.  See my other post somewhere. Adie ---------------------------------------------------------------------- jmpessoa · 2018-11-29 21:23 QuoteWhat would be your suggestion  to include Android 9? A good choice for compatibilities issues:  [for android 4.0  until  9.0.x] 1) NDK API <= 22   [keep here, otherwise  4.x will break!] 2) MinSDk API = 14   [keep here, otherwise  4.x will break!] 3) Target API = 26   is the min required by "google play" store,     but you can go forward to API 28 (Android 9)! ---------------------------------------------------------------------- CC · 2018-11-30 00:15 Thank you! I may have red somewhere that only MinSDK API = 15 is suitable  for API 28. ---------------------------------------------------------------------- jmpessoa · 2018-11-30 04:57 QuoteI may have red somewhere that only MinSDK API = 15 is suitable  for API 28... Please, test it! and confirm here! Thank you! ---------------------------------------------------------------------- CC · 2018-11-30 10:46 OK