Unity安卓原生交互android.content.res.Resources$NotFoundException: String resource问题

原生加载UnityActivatey的时候logcat人有如下错误提示:

android.content.res.Resources$NotFoundException: String resource ID #0x0

解决方法:
把Unity导出AS工程中的
/XXX(工程名)/src/main/res/values/strings.xml文件的

<string name="game_view_content_description"></string>

拷贝在原生路径下即可 .

发布了31 篇原创文章 · 获赞 14 · 访问量 4万+

猜你喜欢

转载自blog.csdn.net/s15100007883/article/details/103414879