Android packaging - BUILD FAILED - 4.18.2

Hello people

Upgraded to 4.18.2 from 4.15.3 which packaged fine. Followed all the instructions given with the Getting started tutorial (Setting Up Unreal Engine Projects for Android Development | Unreal Engine 5.1 Documentation). Installed the Standard version of CodeWorksforAndroid-1R6-windows. The packaging process starts and runs but at the end it gives the error:
UATHelper: Packaging (Android (ETC1)): BUILD FAILED[link text][1]

The previous log indicated that android SDK level was set to android-15 so i changed it to android-23 as it required but i still get the same BUILD FAILED error.

Please help im a relative novice