使用 stm32cubeMX 生成 keilMDK 工程编译有 21 个错误,尝试多种方式没有解决,求问

compiling system_stm32g4xx.c...
Error: C9555E: Failed to check out a license.
The license file could not be found. Check that ARMLMD_LICENSE_FILE is set correctly.
ARMLMD_LICENSE_FILE is not set. You must set this to the path to your license.
Information about this error is available at: http://ds.arm.com/support/lic87/m1
General licensing information is available at: http://ds.arm.com/support/licensing/
If you need further help, provide this complete error report to your supplier or license.support@arm.com.
- ARMLMD_LICENSE_FILE: unset
- LM_LICENSE_FILE: unset
- ARM_TOOL_VARIANT: unset
- ARM_PRODUCT_PATH: unset
- Product location: F:\keil_MDK application\ARM\ARMCC\ARMCC\sw\mappings
- Toolchain location: F:\keil_MDK application\ARM\ARMCC\ARMCC\Bin
- Selected tool variant: product
- Checkout feature: compiler5
- Feature version: 5.0202006
- Flex error code: -1
Product: ARM Compiler 5.06
Component: ARM Compiler 5.06 update 7 (build 960)
Tool: ArmCC [4d365d]
"HAL_LED_project\HAL_LED_project.axf" - 21 Error(s), 0 Warning(s).
Target not created.
Build Time Elapsed: 00:00:01
已解决👌
根据:最新keil5没有ARM CompilerV5或者安装编译器5.06后编译license报错