简体   繁体   English

Eclipse不在ADT中创建默认项目和主布局

[英]Eclipse is not creating default project and main layout in ADT

The issue is that upon creating a new project in Eclipse with the ADT plugin it will not display any document in the source folder, also there is a Warning displayed 问题是,在带有ADT插件的Eclipse中创建新项目后,它将不会在源文件夹中显示任何文档,还会显示警告

WARNING: unable to write jarlist cache file C:\\Users\\Giovani\\Documents\\Online Documents\\Android App Development\\Workspace\\appcompat_v7\\bin\\jarlist.cache. 警告:无法写入jarlist缓存文件C:\\ Users \\ Giovani \\ Documents \\ Online Documents \\ Android App Development \\ Workspace \\ appcompat_v7 \\ bin \\ jarlist.cache。

I am using for minimum required sdk API 8: Android 2.2 (Froyo), for the target and compile i have API 21: Android 4.X (L Preview), for the other dialogs i am using the defaults parameters, also i am creating a Blank Activity. 我使用的是最低要求的sdk API 8:Android 2.2(Froyo),用于目标和编译,我使用了API 21:Android 4.X(L Preview),用于其他对话框,我使用的是默认参数,我也在创建空白活动。 When the file is created there is two folders that span, the project folder and a folder called appcompat_v7. 创建文件后,将跨越两个文件夹,即项目文件夹和一个名为appcompat_v7的文件夹。 I am using Windows 7, 64 bit, i have installed all of the packeges that i could in my SDK manager, and using the lates version of ADT, 23.0.4.1468518. 我使用的是Windows 7(64位),我已经安装了我可以在SDK管理器中使用的所有软件包,并使用了ADT的最新版本23.0.4.1468518。 Another problem that i have notice is that the AVD is not allowing me to create a new device when accesed from eclipse. 我注意到的另一个问题是,当从Eclipse访问时,AVD不允许我创建新设备。 I found post with similar problems but non of the solutions displayed worked for me, some of those are: 我发现帖子中存在类似的问题,但没有显示的解决方案对我有用,其中一些是:

Adt doesn't create default hello world but command line does Adt不会创建默认的hello world,但命令行会创建

appcompat_v7: Error retrieving parent for item: No resource found that matches the given name appcompat_v7:检索项目的父项时出错:未找到与给定名称匹配的资源

New Android Application Project - layout file and activity class are not created by ADT 新的Android应用程序项目-布局文件和活动类不是由ADT创建的

I am a beginner in the field of android development, i will appreciate immensely your help. 我是android开发领域的初学者,非常感谢您的帮助。

I would first try and resolve the warning. 我将首先尝试解决该警告。 Make sure the path to 确保到达的路径

C:\\Users\\Giovani\\Documents\\Online Documents\\Android App Development\\Workspace\\appcompat_v7\\bin\\jarlist.cache C:\\ Users \\ Giovani \\ Documents \\ Online Documents \\ Android App Development \\ Workspace \\ appcompat_v7 \\ bin \\ jarlist.cache

exists and you have permission to write to the file and directory. 存在,并且您有权写入文件和目录。

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

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