简体   繁体   English

渲染问题Android Studio 0.8.2

[英]Rendering Problems Android Studio 0.8.2

I updated Android Studio to 0.8.2 and at first I had Gradle problems and Rendering Problems. 我将Android Studio更新为0.8.2,起初我遇到了Gradle问题和渲染问题。 My Rendering Problem was that I didn't select a render target. 我的渲染问题是我没有选择渲染目标。 After fixing this problem I got another Rendering problem. 修复此问题后,我遇到了另一个渲染问题。

Rendering Problems File C:\\Users\\User\\AppData\\Local\\Android\\android-studio2\\sdk\\platforms\\android-19\\data\\layoutlib.jar doesnt exist (Details). 渲染问题文件C:\\ Users \\ User \\ AppData \\ Local \\ Android \\ android-studio2 \\ sdk \\ platforms \\ android-19 \\ data \\ layoutlib.jar不存在(详细信息)。

I've searched so much on the internet and I even downloaded the layoutlib.jar file but it didn't solve my problem. 我在互联网上搜索了这么多,我甚至下载了layoutlib.jar文件,但它没有解决我的问题。 I really need help because I wanna concentrate on my work. 我真的需要帮助,因为我想专注于我的工作。

THANK YOU IN ADVANCE 先感谢您

Had the same problem. 有同样的问题。 What worked for me is deleting the SDK Platform for the specific API (19 in this case) using Android SDK manager. 对我有用的是使用Android SDK管理器删除特定API的SDK平台(本例中为19)。 If you open SDK manager and expand the different Platforms packages like Android 5.0.1(API 21) and so on, you'll see the respective SDK Platform underneath. 如果您打开SDK管理器并展开不同的平台软件包(如Android 5.0.1(API 21)等),您将在下面看到相应的SDK平台。 Select the one you're having trouble with and delete it. 选择您遇到问题并删除它。 Then reinstall it. 然后重新安装它。

Try to update SDK. 尝试更新SDK。

Tools -> Android -> SDK Manager, when the manager is opened packages which have updates will be checked, you just click "Install packages". 工具 - > Android - > SDK Manager,当管理器打开时,将检查有更新的包,只需单击“安装包”即可。

Delete all items in andoid 21 and install again. 删除andoid 21中的所有项目并重新安装。 Your problem will be solved. 你的问题将得到解决。 Thanks.. 谢谢..

Just uninstall and reinstall 只需卸载并重新安装即可

specific android APK 具体的android APK

with android here it android-19 用android在这里它android-19

Tools -> Android -> SDK Manager 工具 - > Android - > SDK Manager

1.uncheck the specific android APK android check box the apply (wait if need to unistall) 1.uncheck 具体的android APK android复选框apply(等待,如果需要unistall)

  1. recheck the same specific android APK android apk and then click on Apply 重新检查相同的特定android APK安卓apk,然后单击应用

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

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