简体   繁体   English

抽屉未识别布局

[英]Drawer not identifying layout

I have been trying to make a game, an online text-based PVE multiplayer game, but the app won't compile and I cannot figure out why.我一直在尝试制作一款游戏,一款基于文本的在线 PVE 多人游戏,但该应用无法编译,我不知道为什么。 It keeps saying it cannot identify the layout.它一直说它无法识别布局。

I am using Sketchware, I always do to get a majority of what I need done, then clean it up in Android Studio.我正在使用 Sketchware,我总是做我需要完成的大部分工作,然后在 Android Studio 中清理它。 If you need more information, I will give what I can.如果你需要更多信息,我会尽我所能。

[/storage/emulated/0/.sketchware/mysc/603/app/main/res/layout/game.xml:42:
 error: Error: No resource found that matches the given name (at
 'layout' with value '@layout/_drawer_game').,]

/storage/emulated/0/.sketchware/mysc/601/app/src/ main/res/layout/main.xml:44: error: Error: No resource found that matches the given name (at 'layout' with value '@layout/_drawer_main')., ] Same problem here. /storage/emulated/0/.sketchware/mysc/601/app/src/main/res/layout/main.xml:44:错误:错误:找不到与给定名称匹配的资源(在“布局”,值为“ @layout/_drawer_main')., ] 同样的问题。 Solution: Copy your "Savefile" (.Sketchware) to your sd Card or whatever, rename it and uninstall Sketchware.Clear all of the apps remaining data (for example with SD Maid) and reinstall an old version of Sketchware解决方案:将您的“保存文件”(.Sketchware)复制到您的 SD 卡或其他任何地方,重命名并卸载 Sketchware。清除所有应用程序剩余数据(例如使用 SD Maid)并重新安装旧版本的 Sketchware

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM