RenderScript broken on macOS Catalina (10.15)

后端 未结 2 1891
攒了一身酷
攒了一身酷 2021-01-02 03:11

I\'ve updated to MacOS Catalina. This morning while I was working on my Android project, it suddenly started giving the following exception: \"ERROR: Cause: error=86, Bad CP

2条回答
  •  挽巷
    挽巷 (楼主)
    2021-01-02 03:43

    To anyone having the same issue, this is a bug. When using renderscript, the linker uses the 32 bit file. Multiple bugs have been logged. If you want to keep track, you can follow what is happening over here: https://issuetracker.google.com/issues/142590626

    Holding thumbs that they fix it soon!

    UPDATE: They have fixed it in the latest buildtools version 29.0.3. You also need to update to Android Studio 3.6 to use it.

    BONUS: For anyone else trying to update to AndroidX AS WELL - Renderscript might break on Android6. There is a workaround (as far as I can tell) where you set renderscriptSupportModeEnabled to false - but it doesnt fix it for ALL devices (eg. Xiomi Redmi go - Android 8.1 - then breaks for me).

提交回复
热议问题