Android studio preview不显示,api version in editor is null android studio

本文介绍了一种常见问题的解决方案,即在使用Android Studio进行布局代码编写时,遇到预览界面不显示的情况。作者推测可能是由于多个窗口导致的同步问题,并分享了一个简单有效的解决方法:点击同步按钮,等待同步完成即可恢复正常预览。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

api version in editor is null

device in editor is null

今天Android Studio又不知道怎么着,写布局代码的时候右边的Preview不显示,也没弄什么其他的

api version in editor is null

也不确定出现这种情况的原因,我开了五六个窗口,可能studio同步上有问题。

解决办法:

在这里插入图片描述
点击红框中的同步按钮等待同步完成就好了。颇费

生成开始于 10:54... 1>------ 已启动生成: 项目: ActDemo, 配置: Development_Editor x64 ------ 1>Using bundled DotNet SDK version: 8.0.300 1>Running UnrealBuildTool: dotnet "..\..\Engine\Binaries\DotNET\UnrealBuildTool\UnrealBuildTool.dll" ActDemoEditor Win64 Development -Project="C:\Users\v_staoyang\Documents\GitHub\ActDemo\ActDemo.uproject" -WaitMutex -FromMsBuild -architecture=x64 1>Log file: C:\Users\v_staoyang\AppData\Local\UnrealBuildTool\Log.txt 1>Using 'git status' to determine working set for adaptive non-unity build (C:\Users\v_staoyang\Documents\GitHub\ActDemo). 1>Creating makefile for ActDemoEditor (no existing makefile) 1>Available x64 toolchains (1): 1> * C:\Program Files\Microsoft Visual Studio\2022\Preview\VC\Tools\MSVC\14.44.35207 1> (Family=14.44.35207, FamilyRank=1, Version=14.44.35207, Is64Bit=True, ReleaseChannel=Preview, Architecture=x64) 1>Visual Studio 2022 compiler version 14.44.35207 is not a preferred version. Please use the latest preferred version 14.38.33130 1>Total execution time: 1.69 seconds 1>Expecting to find a type to be declared in a module rules named 'VisualStudioTools' in 'UE5Rules, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'. This type must derive from the 'ModuleRules' type defined by UnrealBuildTool. 1>C:\Program Files\Microsoft Visual Studio\2022\Preview\MSBuild\Microsoft\VC\v170\Microsoft.MakeFile.Targets(44,5): error MSB3073: 命令“"C:\Program Files\Epic Games\UE_5.5\Engine\Build\BatchFiles\Build.bat" ActDemoEditor Win64 Development -Project="C:\Users\v_staoyang\Documents\GitHub\ActDemo\ActDemo.uproject" -WaitMutex -FromMsBuild -architecture=x64”已退出,代码为 8。 1>已完成生成项目“ActDemo.vcxproj”的操作 - 失败。 ========== 生成: 0 成功,1 失败,0 最新,0 已跳过 ========== ========== 生成 于 10:54 完成,耗时 02.311 秒 ==========
最新发布
05-28
评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值