androidwidget.pas(36,44) Error: unit not found: CustApp lazarus / 67-Windows ---------------------------------------------------------------------- madmax · 2025-03-07 10:52 Hi, I first got the error "androidwidget.pas(36,44) Error: unit not found: CustApp" when trying my first Android project with codepython/LAMW.... After doing quite a bit of online research of forums, I then discovered that a modification to the fpc.cnf file possibly omitted an entry which I show below: # searchpath for units and other system dependent things -Fuc:\codetyphon/fpc/fpc64/bin/x86_64-win64/ -Fuc:\codetyphon/fpc/fpc64/bin/x86_64-win64/*      <<<-----------This is the line I added -Fuc:\codetyphon/fpc/fpc64/bin/$FPCTARGET/ -Fuc:\codetyphon/fpc/fpc64/units/$FPCTARGET/ -Fuc:\codetyphon/fpc/fpc64/units/$FPCTARGET/* -Fuc:\codetyphon/fpc/fpc64/units/$FPCTARGET/rtl Now the unit is found when trying to compile, but immediately crashes with error: "Access violation. Press OK to ignore and risk data corruption. Press Abort to kill the program. I am really a development tool user and not a tool developer at all, so I am walking in the dark without a torch. Any help or pointers will be greatly appreciated. Thank you kindly, JB