HMC Location plugin Android build failed at MABS 10.
My app and HMC Location Sample app both cannot build the Android version.
Error: Command failed with exit code 1: gradle -p source/platforms/android wrapper --gradle-version 8.5
1: Task failed with an exception.-----------* Where:Script 'source/platforms/android/cordova-plugin-hms-location/HMSLocationSample-build-extras.gradle' line: 45* What went wrong:A problem occurred configuring project ':app'.> Failed to apply plugin 'com.huawei.agconnect'. > API 'android.registerTransform' is removed. For more information, see https://developer.android.com/studio/releases/gradle-plugin-api-updates#transform-api.
To determine what is calling android.registerTransform, use -Pandroid.debug.obsoleteApi=true on the command line to display more information.* Try:> Run with --stacktrace option to get the stack trace.> Run with --info or --debug option to get more log output.> Run with --scan to get full insights.> Get more help at https://help.gradle.org.
==============================================================================
2: Task failed with an exception.-----------* Where:Script 'source/platforms/android/cordova-plugin-hms-location/HMSLocationSample-build-extras.gradle' line: 45* What went wrong:Failed to query the value of property 'buildFlowServiceProperty'.
> Could not isolate value org.jetbrains.kotlin.gradle.plugin.statistics.BuildFlowService$Parameters_Decorated@2ccb0919 of type BuildFlowService.Parameters > A problem occurred configuring project ':app'. > Failed to apply plugin 'com.huawei.agconnect'. > API 'android.registerTransform' is removed.
For more information, see https://developer.android.com/studio/releases/gradle-plugin-api-updates#transform-api.
To determine what is calling android.registerTransform, use -Pandroid.debug.obsoleteApi=true on the command line to display more information.
* Try:> Run with --stacktrace option to get the stack trace.> Run with --info or --debug option to get more log output.> Run with --scan to get full insights.> Get more help at https://help.gradle.org.