Mac Error Create Android Project - “Errors running builder 'Android Resource Manager' on project”
2015-06-02 12:04
591 查看
http://stackoverflow.com/questions/18096315/mac-error-create-android-project-errors-running-builder-android-resource-man
在mac笔记本上运行android eclipse报标题的错误,然后在stackoverflow上找到了答案
I followed following article and it solved the problem by adding a line to the Eclipse.ini
To resolve the issue, do the following:
ps:在查看Android项目,layout的预览界面时
eclipse报这个:Parsing Data for android-21 failed Unsupported major.minor version 51.0
我本地还是用的jdk1.6, 这个api-21,需要1.7Later
最后我是使用上面这种修改Eclipse.app里面的包内容的配置信息解决的,问题就出在jdk7.0版本上面……
在mac笔记本上运行android eclipse报标题的错误,然后在stackoverflow上找到了答案
18down votefavorite 5 | I spent the whole day just trying to create a simple Android Application Project on my Mac (10.7.5). When pressing "Finish" in the project wizard, I got the following error message:Errors occurred during the build. Errors running builder 'Android Resource Manager' on project 'MyFirstApp'. java.lang.NullPointerException A project with empty directories was created, but no files were generated except for a file called "proguard-project.txt", which just contained comments. I literally just downloaded the ADT Bundle onto my Mac. I've already had a look at here and tried all the suggestions there, like removing the ".metadata" folder and trying to change the Android "Project Build Target". I've also tried using Eclipse Juno and Kepler - same problem. I've reinstalled Eclipse and recreated workspaces many many times. So I'm pretty stuck...it's not working out of the box. Any help would be most appreciated. |
Sounds like Eclipse doesn't see SDK Android folder. Did you configured your Eclipse? – Maxim ShoustinAug 7 '13 at 6:42 | |||
I didn't think I need to? ADT Bundle comes with the SDK installed. I had a look at the "Eclipse/Preferences/Android", and it seems to be pointing to the "SDK" directory that came with the bundle "adt-bundle-mac-x86_64-20130729" – iht Aug 7 '13 at 6:49 | |||
Lots of people solved this issue as described at this link: stackoverflow.com/questions/14455018/… – superpuccio Oct 2 '13 at 8:55 | |||
Were you able to solve this problem? I have same issue and I can't find any reason why this is happening. – Sourabh86 May 13 '14 at 14:02 |
18down vote | I got same error on my windows machine. When I compared project file system with other working project I found that project.properties was missing, So I Created a txt file and renamed it to "project.properties" then got this message on my console. "Project has no project.properties file! Edit the project properties to set one" Then I went through project menu project->properties->android->choose & set the "project build target". then build it.now everything was smooth. We just setup a valid project.properites file for that project. |
3down vote | This is the the solution I've used to solve that problem which gave me enough troubles. Make sure that you've installed already the following libraries Android Support Library, Android Support Repository and Google Repository by checking in the Extra folder by openning the Android SDK Manager in eclipse. Create an Android Sample Project then choose the appcompact_v7 library. Close the project you've just created, restart Eclipse and create now a new Android Application project. Hope that it will help you ! |
To resolve the issue, do the following:
1. Go to your eclipse directory and find "Eclipse.app" file. Just to be on safe side, back up this file somewhere (Just the Eclipse.app file). 2. Right-Click on "Eclipse.app" file, and select "Show Package Contents" 3. Once inside package, go to Contents-->MacOS, and open "eclipse.ini" 4. Just before the "-vmargs", add the following: -vm /System/Library/Frameworks/JavaVM.framework/Versions/1.6/Commands/java 5. Run eclipse again, and you should be able to create the project without any problems.
ps:在查看Android项目,layout的预览界面时
eclipse报这个:Parsing Data for android-21 failed Unsupported major.minor version 51.0
我本地还是用的jdk1.6, 这个api-21,需要1.7Later
最后我是使用上面这种修改Eclipse.app里面的包内容的配置信息解决的,问题就出在jdk7.0版本上面……
相关文章推荐
- 什么是Mac OS X?跟Linux有什么区别
- mac下安装mysql(转载)
- mysql 修改编码 Linux/Mac/Unix/通用(杜绝修改后无法启动的情况!)
- Linux vs Mac:Linux 比 Mac 好的 7 个原因
- 苹果mac OS X上安装metasploit
- Validation of viewstate MAC failed.的解决方法
- Mac平台中编译安装Lua运行环境及Hello Lua实例
- vbs Windows系统改变或修改网卡的MAC地址的脚本与软件第1/2页
- MAC官方菜单纯CSS实现灰色会换色
- Mac环境下php操作mysql数据库的方法分享
- PHP中获取内网用户MAC地址(WINDOWS/linux)的实现代码
- 在MAC OS X上安装MYSQL
- Shell脚本获取本地网卡IP、mac地址、子网掩码、dns IP、外网IP
- MAC系统中添加MYSQL开机启动的方法
- MAC 系统如何使用 Sublime Text 2 直接编译运行 java 代码
- mac下安装nginx和php
- linux中mac地址绑定方法
- Mac下使用Eclipse编译C/C++文件出现 launch failed, binary not found 解决方案
- C#获取局域网MAC地址的简单实例
- Mac系统下使用brew搭建PHP(LNMP/LAMP)开发环境