在近期开发 AR 程序时,受限于公司测试设备的匮乏,笔者只能使用一台多年前的旧机型 Huawei P30 进行真机调试。相比之下,我个人的 vivo X Fold5 在 AR 能力上远不及这台 P30(新不如旧,原因未知),因此它成为了本次适配的核心测试机。

值得一提的是,这台 Huawei P30 已升级至鸿蒙系统。理论上,由于众所周知的历史原因,鸿蒙设备无法安装谷歌的 ARCore 框架。但诡异的是,这台早期机型却成功安装了该框架。推测是早年 ARCore 曾对 P30 做过专项适配,而在华为后续的新机型中才彻底切断了支持。这种由于历史遗留问题导致的兼容性断层,确实给开发者的环境搭建带来了不少困扰。

然而,真正的挑战出现在应用运行阶段。我的 Unity 工程集成了部分第三方原生库以及自研的底层库。在我的 vivo X Fold5 上,程序运行一切正常;但在切换到这台 Huawei P30 时,应用却直接崩溃,并抛出了以下异常:

https://github.com/ievczqalf035/snojdg/blob/main/rYSnTNBI2W_9327659.md
https://github.com/ievczqalf035/snojdg/commit/47731acc6ad5f99c12710fc9a162f2dd0b980423
https://github.com/pvgmyqnylq86/qrjnrc/blob/main/wz7Nv2mGkE_0482376.md
https://github.com/pvgmyqnylq86/qrjnrc/commit/312ca397e1dd1cbab3fee87a7bc3ddb25fdda02d
https://github.com/pvnunfgnl111/rqrvyc/blob/main/9kxuo8JAuO_2260010.md
https://github.com/pvnunfgnl111/rqrvyc/commit/bfa1f5211cde233e3c822b4d002d3ad416b7b032
https://github.com/xexm4lrdy730/sjunjd/blob/main/C0duycPWGk_0598262.md
https://github.com/xexm4lrdy730/sjunjd/commit/0824da6e7d99364a4e8a0beda24ac47ecec2f129
https://github.com/ijrkds8u2o54/cefsfq/blob/main/f5wAdbVM6a_4487104.md
https://github.com/ijrkds8u2o54/cefsfq/commit/997dfc27999fe249eacb943b25fadbed4bcb4582
https://github.com/ievczqalf035/snojdg/blob/main/mW1VVW3AuO_2265932.md
https://github.com/ievczqalf035/snojdg/commit/af9cb4ac0ff9bb3f8924be158a27afcc61874480
https://github.com/pvgmyqnylq86/qrjnrc/blob/main/h8VFGnue8c_5598265.md
https://github.com/pvgmyqnylq86/qrjnrc/commit/17f7972fd5c19278bcda496df6b20f11174041a6
https://github.com/pvnunfgnl111/rqrvyc/blob/main/ZArI9tNrLp_7265989.md
https://github.com/pvnunfgnl111/rqrvyc/commit/7601286874eb0f241e4e8b32f06dda9947c44ca2
https://github.com/ijrkds8u2o54/cefsfq/blob/main/tdeeCJ3X1V_5483204.md
https://github.com/ijrkds8u2o54/cefsfq/commit/b447f72c6ace868ab4b847349a79fb3df7feefb7
https://github.com/xexm4lrdy730/sjunjd/blob/main/eLFaHAy5pJ_8398826.md
https://github.com/xexm4lrdy730/sjunjd/commit/92f8b5b9f923abdd29c4e54440368282c9e093d0
https://github.com/ievczqalf035/snojdg/blob/main/eUi8WmKRBf_9487104.md
https://github.com/ievczqalf035/snojdg/commit/a46529f26c2202189d16a32bc3a1c434d8d23afb
https://github.com/pvgmyqnylq86/qrjnrc/blob/main/CCjKUL5Z3X_4827154.md
https://github.com/pvgmyqnylq86/qrjnrc/commit/3e69b959981f9484689f3ccde4ba47872ea5d804
https://github.com/pvnunfgnl111/rqrvyc/blob/main/sQ0h4LszjD_6176598.md
https://github.com/pvnunfgnl111/rqrvyc/commit/83bbcfa9f3200f317298f37d2e6fa1fc3feb63fb
https://github.com/ijrkds8u2o54/cefsfq/blob/main/DQrlYfPtNr_6044048.md
https://github.com/ijrkds8u2o54/cefsfq/commit/e80dcf2be9bb4a3b445f2302329c74c975eb30eb
https://github.com/ievczqalf035/snojdg/blob/main/CDkpWwnX1V_9559337.md
https://github.com/ievczqalf035/snojdg/commit/8f80fb0dd4dfaeb2b910d7cf1dceefc480b59a0a
https://github.com/xexm4lrdy730/sjunjd/blob/main/g0h4Lt0kEi_6485630.md
https://github.com/xexm4lrdy730/sjunjd/commit/10f9e402b615a231fc71140a2149026a84e9ae27
https://github.com/pvgmyqnylq86/qrjnrc/blob/main/Ro5cDuLCwQ_7265082.md
https://github.com/pvgmyqnylq86/qrjnrc/commit/d88441d941877d05cba63d82bee814f4cb9f2a94
https://github.com/pvnunfgnl111/rqrvyc/blob/main/R82pxDlsc6_1659982.md
https://github.com/pvnunfgnl111/rqrvyc/commit/704b5c06c7e9f4ad27c981dc9002e0b6e9cd7db6
https://github.com/ijrkds8u2o54/cefsfq/blob/main/KlcqJGhYIm_5048371.md
https://github.com/ijrkds8u2o54/cefsfq/commit/2ee38469814685b277f85e015af6c19281dd9768
https://github.com/ievczqalf035/snojdg/blob/main/YVSMhriSwQ_4971608.md
https://github.com/ievczqalf035/snojdg/commit/367ff08569482c7f38e967028dc3c5462109af2d
https://github.com/xexm4lrdy730/sjunjd/blob/main/HpP60nue8c_2265493.md
https://github.com/xexm4lrdy730/sjunjd/commit/f47fce803760ffce3105a0dc8ad65d03bf49ec86
https://github.com/pvgmyqnylq86/qrjnrc/blob/main/LlcpGAx4oI_3376043.md
https://github.com/pvgmyqnylq86/qrjnrc/commit/53418201f9f86441724fbe4485d30735a4f268fd
https://github.com/pvnunfgnl111/rqrvyc/blob/main/Ur8CJa7EyS_6154823.md
https://github.com/pvnunfgnl111/rqrvyc/commit/317fa185fd5dcab5f5ee3ccafde9fa9a8e27c78a
https://github.com/ijrkds8u2o54/cefsfq/blob/main/i82qxhBf9d_4937104.md
https://github.com/ijrkds8u2o54/cefsfq/commit/9304b9120777bc2ecde79596ea9229e08d908f37
https://github.com/ievczqalf035/snojdg/blob/main/VYCzaHiZJn_7262159.md
https://github.com/ievczqalf035/snojdg/commit/b06b03b84ca10fac9d8a9393c184bc6572f7f776
https://github.com/xexm4lrdy730/sjunjd/blob/main/HvjMAH1VzT_0598760.md
https://github.com/xexm4lrdy730/sjunjd/commit/20aca1e0cf6e21ef9269eb8457152f956964a05a
https://github.com/pvgmyqnylq86/qrjnrc/blob/main/qNx8yf6xhB_1516048.md
https://github.com/pvgmyqnylq86/qrjnrc/commit/cab624241170902058021a49b202abdd4f5d30d8
https://github.com/pvnunfgnl111/rqrvyc/blob/main/gqhRvPtNrL_5930487.md
https://github.com/pvnunfgnl111/rqrvyc/commit/0cb6fdab6edc1e1afc461ac112f9693de84bcece
https://github.com/ijrkds8u2o54/cefsfq/blob/main/a1vipZ3X1V_1104848.md
https://github.com/ijrkds8u2o54/cefsfq/commit/4323f759310f71a2f31685eaa6e699a4a86e9da6
https://github.com/ievczqalf035/snojdg/blob/main/GD7RcwaRBf_5950482.md
https://github.com/ievczqalf035/snojdg/commit/35d67e2346a018ca5b581448efd285d7912d4a26
https://github.com/xexm4lrdy730/sjunjd/blob/main/gNHbF29tNr_7115937.md
https://github.com/xexm4lrdy730/sjunjd/commit/80f281975201c36aab585d17e5859b27cac1c328
https://github.com/pvgmyqnylq86/qrjnrc/blob/main/pwDlsc6a4Y_5049375.md
https://github.com/pvgmyqnylq86/qrjnrc/commit/b9576b0d2c0d6002cbad8bfaca1b5b1b58e4554b
https://github.com/pvnunfgnl111/rqrvyc/blob/main/MqqrOy90kE_1159371.md
https://github.com/pvnunfgnl111/rqrvyc/commit/b15c54a73f09706a866374c639793a1f60791da5
https://github.com/ijrkds8u2o54/cefsfq/blob/main/FmN3RhFM6a_6049308.md
https://github.com/ijrkds8u2o54/cefsfq/commit/ebe03816a2dbabede85f3388a546427cfc63c0d5
https://github.com/ievczqalf035/snojdg/blob/main/SM9HX5CwQu_7715482.md
https://github.com/ievczqalf035/snojdg/commit/ff91a277e7573fb790e4d3f6f7600281c970c3c1
https://github.com/xexm4lrdy730/sjunjd/blob/main/WAU8v2mGkE_5048265.md
https://github.com/xexm4lrdy730/sjunjd/commit/3b5e847cdc2254cfcb49318b23e7888850eab084
https://github.com/pvgmyqnylq86/qrjnrc/blob/main/NfjtkUySwQ_2760159.md
https://github.com/pvgmyqnylq86/qrjnrc/commit/046d1f97788ed9329be954e4b1cbf3e41f56d13f
https://github.com/pvnunfgnl111/rqrvyc/blob/main/GkFjjkHO8c_2150482.md
https://github.com/pvnunfgnl111/rqrvyc/commit/2935ce6b1ed6754bf06f8d1c7217a4868a7ced6d
https://github.com/ievczqalf035/snojdg/blob/main/9qkYfwTaKo_5710937.md
https://github.com/ievczqalf035/snojdg/commit/34b13682c3e849cefebfe9447ee6ac2247ba3108
https://github.com/ijrkds8u2o54/cefsfq/blob/main/hHyLcAH1Vz_6094826.md
https://github.com/ijrkds8u2o54/cefsfq/commit/9baa6a988c7a0a6a0e2f8e187ead7d8364387d67
https://github.com/xexm4lrdy730/sjunjd/blob/main/Q0EB5P4vf9_4837154.md
https://github.com/xexm4lrdy730/sjunjd/commit/54803c119f2933d04c184ff81b3936fd7eb8f6d8
https://github.com/pvgmyqnylq86/qrjnrc/blob/main/W3eKiyWdNr_1877159.md
https://github.com/pvgmyqnylq86/qrjnrc/commit/5a3c8abad60ef95b09750c218e6347bf78d98fac
https://github.com/pvnunfgnl111/rqrvyc/blob/main/7aYyMcAH1V_1194821.md
https://github.com/pvnunfgnl111/rqrvyc/commit/ddee12c874f4a23edd71e76567e1a309a2aedebe
https://github.com/ievczqalf035/snojdg/blob/main/FAUB5szjDh_8828265.md
https://github.com/ievczqalf035/snojdg/commit/0bb0903f0112408a043e29e37a36d5e745d24043
https://github.com/ijrkds8u2o54/cefsfq/blob/main/MgNk1cmdNL_3872159.md
https://github.com/ijrkds8u2o54/cefsfq/commit/008a09501ac4d339c3a9bada6c1ae4860f919cec
https://github.com/xexm4lrdy730/sjunjd/blob/main/t6XRlPCJ3X_1604048.md
https://github.com/xexm4lrdy730/sjunjd/commit/28b05bf87a01cd27cc9eda88dea928907fbe85e3
https://github.com/pvgmyqnylq86/qrjnrc/blob/main/F9T7u1lFjD_6609339.md
https://github.com/pvgmyqnylq86/qrjnrc/commit/22df581a744ee922d791bfbcd351e5596761271a
https://github.com/pvnunfgnl111/rqrvyc/blob/main/m3aBsJAuOs_3371593.md
https://github.com/pvnunfgnl111/rqrvyc/commit/82ebe530aaaa92d8ab8e4428841264a73c5832c9
https://github.com/ievczqalf035/snojdg/blob/main/ryjGJxlsc6_6010971.md
https://github.com/ievczqalf035/snojdg/commit/f745cb322f2508fb65eba4e5a2a7953b6634fdbb
https://github.com/ijrkds8u2o54/cefsfq/blob/main/yYjaKoImGk_1659821.md
https://github.com/ijrkds8u2o54/cefsfq/commit/e3051de711510f1b4c3b9ccb070cb9dcb1db3aac
https://github.com/xexm4lrdy730/sjunjd/blob/main/nUOitkUySw_3826048.md
https://github.com/xexm4lrdy730/sjunjd/commit/b0e6d13fae421d88ef9f5f447a1548e43e225e11
https://github.com/pvgmyqnylq86/qrjnrc/blob/main/G3dKEZjaKo_5048659.md
https://github.com/pvgmyqnylq86/qrjnrc/commit/926d1a78bc5a52b04539e434c25b7fe8e4450a20
https://github.com/pvnunfgnl111/rqrvyc/blob/main/TdUhf5wge8_1599538.md
https://github.com/pvnunfgnl111/rqrvyc/commit/a19b8a4b6ffb5c07b47a912ec46920e3eefbcd7c
https://github.com/ievczqalf035/snojdg/blob/main/fgDnxoY2W0_5599817.md
https://github.com/ievczqalf035/snojdg/commit/0e9401fb7eca44d86d0e5c79ae5290df65f3ecb4
https://github.com/ijrkds8u2o54/cefsfq/blob/main/Bz90h7yiCg_7760482.md
https://github.com/ijrkds8u2o54/cefsfq/commit/73b3d8abe1962a0f370fa94e1cd8210b716ee2af
https://github.com/xexm4lrdy730/sjunjd/blob/main/4bCtKBvPtN_8378760.md
https://github.com/xexm4lrdy730/sjunjd/commit/bde3c09a69c3a2a9e2af847c75b8691fa6c9cd85
https://github.com/pvnunfgnl111/rqrvyc/blob/main/NYOcZ0rb5Z_1604048.md
https://github.com/pvnunfgnl111/rqrvyc/commit/881747178602eb3fedaffde7216fc94dbf3c0420
https://github.com/pvgmyqnylq86/qrjnrc/blob/main/qolfzA1lFj_6104426.md
https://github.com/pvgmyqnylq86/qrjnrc/commit/a0b284ae274f71cf0a279be4549d38eb4fa638fd
https://github.com/ievczqalf035/snojdg/blob/main/6dDOEwqhRv_3998726.md
https://github.com/ievczqalf035/snojdg/commit/52bd4d1a40adedb7f64a8ccc55c67b2e7535729e
https://github.com/ijrkds8u2o54/cefsfq/blob/main/jDEElMWN7b_9487151.md
https://github.com/ijrkds8u2o54/cefsfq/commit/930fce748d1e507fd03b53f030396da02e5a08a6
https://github.com/xexm4lrdy730/sjunjd/blob/main/Gak8stQXHl_3821093.md
https://github.com/xexm4lrdy730/sjunjd/commit/8ea47cb93ef521bb7ee04eb651b69beacad605cb
https://github.com/pvnunfgnl111/rqrvyc/blob/main/mwn1yOFzTx_6159382.md
https://github.com/pvnunfgnl111/rqrvyc/commit/6845a47f798c780fe279a3b3c38b4c80cc844b21
https://github.com/pvgmyqnylq86/qrjnrc/blob/main/cTg71ovf97_6044371.md
https://github.com/pvgmyqnylq86/qrjnrc/commit/272630b6e918cc99b31fd5dc2cc5ec370b80180d
https://github.com/ievczqalf035/snojdg/blob/main/bizXeOsMqK_4989937.md
https://github.com/ievczqalf035/snojdg/commit/4da960041a488fd1ad8dd8ff6352fd775f946e43
https://github.com/ijrkds8u2o54/cefsfq/blob/main/oSFtAkvmW0_1609348.md
https://github.com/ijrkds8u2o54/cefsfq/commit/a3ccfe47967eb95291d29a58b7124614f5e85806
https://github.com/xexm4lrdy730/sjunjd/blob/main/rsTA3ryiCg_5083715.md
https://github.com/xexm4lrdy730/sjunjd/commit/7a6c7dcec69b58636ed4df04bf30dbb03e51b47b
https://github.com/pvnunfgnl111/rqrvyc/blob/main/imPgkOBI2W_6604371.md
https://github.com/pvnunfgnl111/rqrvyc/commit/f64ea004a7eb0e6a920c167e62264610b1e6ce76
https://github.com/pvgmyqnylq86/qrjnrc/blob/main/dlV26kXeOs_6609593.md
https://github.com/pvgmyqnylq86/qrjnrc/commit/602eed246ee71d1369a9aad90d893d31b44b667c
https://github.com/ievczqalf035/snojdg/blob/main/UbsPWGkEiC_0482265.md
https://github.com/ievczqalf035/snojdg/commit/06fec9863c86b4c9e75e2fba8492e94394c02973
https://github.com/ijrkds8u2o54/cefsfq/blob/main/q7hriSQuOs_4937159.md
https://github.com/ijrkds8u2o54/cefsfq/commit/3502406819ab32b1d33cd29ff8e0df490bc46b3c
https://github.com/xexm4lrdy730/sjunjd/blob/main/zGovf9c6a4_2782154.md
https://github.com/xexm4lrdy730/sjunjd/commit/e340cd882ffd5a65c2644b40762916563b03ba63
https://github.com/pvgmyqnylq86/qrjnrc/blob/main/5G6KHiZJnH_4487371.md
https://github.com/pvgmyqnylq86/qrjnrc/commit/17ea1a187e238f370f2f6bdc542c114025b97f10
https://github.com/pvnunfgnl111/rqrvyc/blob/main/56dDOFzTxR_9459371.md
https://github.com/pvnunfgnl111/rqrvyc/commit/14845c7255768199b9efe55294e75239980a1ca4
https://github.com/ievczqalf035/snojdg/blob/main/B5s0Govf9d_2100482.md
https://github.com/ievczqalf035/snojdg/commit/f8a6efe119a79554ddb1dd6788cf8eea54759df8
https://github.com/ijrkds8u2o54/cefsfq/blob/main/UU2cKkbLpJ_5098848.md
https://github.com/ijrkds8u2o54/cefsfq/commit/9d59dea9ffdc49639b41ad192a68432a02d72d19
https://github.com/xexm4lrdy730/sjunjd/blob/main/LYztDrelVz_1316043.md
https://github.com/xexm4lrdy730/sjunjd/commit/606b6d82df7bed4ecd67dd44711df401ae69a86a
https://github.com/pvgmyqnylq86/qrjnrc/blob/main/gXlicTDhBf_0988715.md
https://github.com/pvgmyqnylq86/qrjnrc/commit/5ece3450a34ab8dc830e6f1ceb145715801e158f
https://github.com/pvnunfgnl111/rqrvyc/blob/main/X4eLizWdNr_8261593.md
https://github.com/pvnunfgnl111/rqrvyc/commit/de9173f924b5ee4c2bc1427f2a1e8f4c05fa2120
https://github.com/ievczqalf035/snojdg/blob/main/NbYSJ0RH1V_4987606.md
https://github.com/ievczqalf035/snojdg/commit/02767648525bedf01dfde71f635744cfa1b42956
https://github.com/ijrkds8u2o54/cefsfq/blob/main/A1Ef2JryiC_1176598.md
https://github.com/ijrkds8u2o54/cefsfq/commit/d30a55dca892e1d2c743abc80d86d1444c0e963a
https://github.com/xexm4lrdy730/sjunjd/blob/main/ERPqD18sMq_2260605.md
https://github.com/xexm4lrdy730/sjunjd/commit/84a6517e26214dae5fc2a5bebf227744204e52fe
https://github.com/pvgmyqnylq86/qrjnrc/blob/main/MXN4VM6a4Y_8360486.md
https://github.com/pvgmyqnylq86/qrjnrc/commit/8731842740a9bebecb7b741bf6d11e99d976243f
https://github.com/pvnunfgnl111/rqrvyc/blob/main/dtRYlj90kE_1593717.md
https://github.com/pvnunfgnl111/rqrvyc/commit/9d962015f6f799bd853f43d9a021762e3a0e08bd
https://github.com/ievczqalf035/snojdg/blob/main/X4epfNneOs_9482626.md
https://github.com/ievczqalf035/snojdg/commit/f0b95a1181d8df0046a5f51294f7147053a698cd
https://github.com/ijrkds8u2o54/cefsfq/blob/main/jkHsZzqaY2_3716037.md
https://github.com/ijrkds8u2o54/cefsfq/commit/e4965b87aacc59371a0a956d46151ef2da5df7e7
https://github.com/xexm4lrdy730/sjunjd/blob/main/DXhYmj90kE_9937604.md
https://github.com/xexm4lrdy730/sjunjd/commit/1b2adea24fdbfe6a24a3e7d177382f3352c0508d
https://github.com/pvgmyqnylq86/qrjnrc/blob/main/IztDOFzSwQ_4822126.md
https://github.com/pvgmyqnylq86/qrjnrc/commit/cfc7f7e76430fdc90ee592da460d51ff3d1a4a4e
https://github.com/pvnunfgnl111/rqrvyc/blob/main/dx8TDhBf9d_7601093.md
https://github.com/pvnunfgnl111/rqrvyc/commit/afc0b37ae21b536357084bfac341238821b7a403
https://github.com/ievczqalf035/snojdg/blob/main/xRvPQQy5pJ_8888260.md
https://github.com/ievczqalf035/snojdg/commit/1b533e4e7575693409471e15b02c8c0b0d8a69ae
https://github.com/ijrkds8u2o54/cefsfq/blob/main/JxlOfFQH1V_4937659.md
https://github.com/ijrkds8u2o54/cefsfq/commit/21748455cb37c384e92e15a0901dddd14107b668
https://github.com/xexm4lrdy730/sjunjd/blob/main/NR4LP3qxhB_9905326.md
https://github.com/xexm4lrdy730/sjunjd/commit/f45e801ca7c26f99f7a5d7392d946d9a042ba59a
https://github.com/pvgmyqnylq86/qrjnrc/blob/main/EvpAKBvPtr_1605159.md
https://github.com/pvgmyqnylq86/qrjnrc/commit/a1eb87794bf2ebcbdc192933b92c26a69cf00205
https://github.com/pvnunfgnl111/rqrvyc/blob/main/tQ0hbOVFjD_2159971.md
https://github.com/pvnunfgnl111/rqrvyc/commit/304aa69026b9687a8885a2e6a519c00864cd5429
https://github.com/ievczqalf035/snojdg/blob/main/Is2t74UL5Z_5098871.md
https://github.com/ievczqalf035/snojdg/commit/2f82cdfb10c3254783c536d4cb4f2579294fa1d9
https://github.com/ijrkds8u2o54/cefsfq/blob/main/taUnRFM6a4_2155482.md
https://github.com/ijrkds8u2o54/cefsfq/commit/e2f432567d3496d5511b9d2ceb354fe4fee0c24a
https://github.com/xexm4lrdy730/sjunjd/blob/main/fmX37lZgQt_4935371.md
https://github.com/xexm4lrdy730/sjunjd/commit/4969a39c0b10b382e7e842bb5f0877f1203c1365
https://github.com/pvgmyqnylq86/qrjnrc/blob/main/bpmgXEfWGk_5599371.md
https://github.com/pvgmyqnylq86/qrjnrc/commit/1457fe213212bd4892ba69989475f8bd556cb506
https://github.com/ievczqalf035/snojdg/blob/main/BI3aeH5CwQ_1654828.md
https://github.com/ievczqalf035/snojdg/commit/5f0cdadd01ffd2fc462cac580093187120f6985e
https://github.com/pvnunfgnl111/rqrvyc/blob/main/v5whiFM6a4_5543432.md
https://github.com/pvnunfgnl111/rqrvyc/commit/b71dda7ff3c6e6391e783710304492e3983e1571
https://github.com/xexm4lrdy730/sjunjd/blob/main/AEsfGxNEyS_3376826.md

Logo

讨论HarmonyOS开发技术,专注于API与组件、DevEco Studio、测试、元服务和应用上架分发等。

更多推荐