don't android xml,New Android Studio projects don't show in “Android” structure view and XML files c...

Platform: Mac OS 10.15.5, AS Version: Android Studio 4.0, build AI-193.6911.18.40.6514223 from JB Toolbox, Gradle version for projects: Gradle-6.1.1-all

I think this started after this one time where Gradle was running to build for like 15 minutes I thought "This is taking too long and restarted Android Studio (First stopping Gradle)."

I deleted the project since it proved unsuccessful (It was testing Intel Multi-OS Engine) and I went to start a new project.

For some reason all new projects now cannot display the "Android" Structure view (This also brings no run configurations so I can't build the app either) and XML files for the UI cannot be edited, first saying in Design view "Design Editor is unavailable until next Gradle sync" and then after syncing again, it just says "Failed to initialize editor." Restarting the IDE and computer did nothing, I thought this was a problem with Gradle so I deleted ~/.gradle, but still no results.

Mind you existing projects still work. I'm gonna try to reinstall Android Studio tomorrow, but it's not a great time since I'm also starting a group project with others using it tomorrow. What could be the cause of this?

(Can't post an image b/c of reputation)

# Answer 1

4d350fd91e33782268f371d7edaa8a76.png

Ok yeah just reinstalled and now it works again. I knew that somehow the templates got corrupted or lost some files.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值