Ok, so with a bit of trial and error on Android Studio for Windows I have got to the point it will build the Apk successfully.
In case it assists others here are the steps I took (not all may be necessary):
Under Tools | SDK Manager select Android Pie API level 28
Also check under Tools | SDK Manager | SDK Tools that Android SDK Build - Tools and Android SDK Platform - Tools are selected.
Under gradle scripts create a gradle.properties file with the following:
android.useAndroidX=true
android.enableJetifier=false
This step removed the AndroidX build dependency requirement error.
However, doing so then creates build dependency errors on pre-AndroidX libraries.
Under Settings | Required Plugins select Android APK Support and Android Support.
The normal Build process should then complete without any errors.
regards
Derek