When trying to build the application, the simulator says “[Build error #1] Error while building app. More information may be available in the Simulator console”.
In console this information:
17:25:08.229 Unpacking plugins
17:25:08.229 Collecting plugin assets
17:25:08.229 Collecting plugin resources
17:25:08.229 Collecting plugin metadata
17:25:08.229 Output written to (C:\Windows\Temp\Corona Labs\CLtmpa14288\template\app\build/intermediates/plugins_metadata.json)
17:25:08.229 Creating AndroidManifest.xml
17:25:08.229 permissionName: android.permission.INTERNET
17:25:08.229 Opening: C:\Windows\Temp\Corona Labs\CLtmpa14288\template\app\build/intermediates/corona_manifest_gen/strings.xml
17:25:08.229 Opening: C:\Windows\Temp\Corona Labs\CLtmpa14288\template\app\build/intermediates/corona_manifest_gen/CopyToApk.txt
17:25:08.229 Collecting native libraries
17:25:08.229 Collecting legacy jar libraries
17:25:08.229 WARNING:: Using flatDir should be avoided because it doesn’t support any meta-data formats.
17:25:08.229 Build properties not found for package Android SDK Platform 32
17:25:08.229 Build-tool 30.0.2 is missing AAPT at C:\WINDOWS\Temp\Corona Labs\sdk\build-tools\30.0.2\aapt.exe
17:25:08.229 File C:\Users\ .android\repositories.cfg could not be loaded.
17:25:08.229
17:25:08.229 FAILURE: Build failed with an exception.
17:25:08.229
17:25:08.229 * What went wrong:
17:25:08.229 Could not determine the dependencies of task ‘:App:bundleReleaseResources’.
17:25:08.229 > Failed to find target with hash string ‘android-32’ in: C:\WINDOWS\Temp\Corona Labs\sdk
17:25:08.229
17:25:08.229 * Try:
17:25:08.229 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.
17:25:08.229
17:25:08.229 * Get more help at https://help.gradle.org
17:25:08.229
17:25:08.229 BUILD FAILED in 9s
17:25:08.229 Picked up JAVA_TOOL_OPTIONS: -Duser.language=en
17:25:09.616 Android build failed (1) after 13 seconds
Solar2D Simulator 2022.3685 (2022.12.21)
Windows 10 Pro