| This thread was migrated from an old forum. It may contain information that are no longer valid. For further assistance, please post a new question or open a support ticket from the Customer Support portal. |
Please see the below attached log file and help me to fix that error which i am getting while building the build for android.
Hi
The root cause of the issue in macOS Catalina is, Apple has officially discontinued the support for 32-bit apps resulting in the build failure. When we are building for a 32-bit binary, compileDebugRenderscript for image related APIs uses 32 bit it is failing.
Below are the documentation links pondering on the same,
https://www.theverge.com/2019/10/12/20908567/apple-macos-catalina-breaking-apps-32-bit-support-how-to-prepare-avoid-update
https://stackoverflow.com/questions/58373019/renderscript-broken-on-macos-catalina-10-15
As an alternative, you may use Windows OS or Any Mac OS lesser than Catalina in Parallels to generate a 32-bit Android binary. Please refer the link below,
https://www.theverge.com/2019/10/12/20908567/apple-macos-catalina-breaking-apps-32-bit-support-how-to-prepare-avoid-update
OR Make use of below-mentioned workaround(for Catalina),
In project settings -> native->android--> Gradle Entries--> build.gradle suffix entries.
Add the below snippet,
android { defaultConfig { renderscriptSupportModeEnabled false} }
Please refer,
https://support.hcl-software.com/csm?id=kb_article&sysparm_article=KB0083360
Thank you,
hi, im facing the same issue. But using the snippet is not working for me. The renderscriptSupportModeEnabled still execute.