Ubuntu 12.04 64位 -- eclipse新建android项目没有R文件
来源:互联网 发布:如何删除ubuntu双系统 编辑:程序博客网 时间:2024/05/21 09:28
【遇到的问题】 Ubuntu 12.04 64位 -- eclipse新建android项目没有R文件 。
【问题描述】 clean 没有用。
用低版本的API 没有用
手动build没有用。
控制台报错:../android-sdk-linux/platform-tools/adb:error while loading shared libraries:
【解决办法1】
“ Interesting, it looks like the assembler program needs libz on the host system.
This problem is occurring because the Android SDK is compiled for a 32-bit GNU/Linux system, and your Ubuntu system is a 64-bit GNU/Linux system. The solution should be easy (since Ubuntu fully supports running 32-bit programs on a 64-bit OS)--just install the 32-bit versions of the libraries it needs.
The simplest and easiest way to do this is to install the 32-bit versions of all the most commonly used libraries, by installing the ia32-libs package. You can do this in the Software Center or in the Terminal with:
sudo apt-get updatesudo apt-get install ia32-libs
Originally ia32-libs
was provided because Ubuntu, in its default configuration, didn't support installing 32-bit Ubuntu packages on a 64-bit system. Now that this is fully supported by default, theia32-libs
package just causes the same 32-bit packages to be installed on your 64-bit system that would be installed on a minimal 32-bit system. (So for anyone who is worried this might not work now that multarch
is supported by default: it still works.)
- Ubuntu 12.04 64位 -- eclipse新建android项目没有R文件
- Ubuntu 12.04 64位 -- eclipse 没有R文件
- 64位Ubuntu,Eclipse新建Android project后缺失R文件的原因分析及解决办法
- 64位Ubuntu,Eclipse新建Android project后缺失R文件的原因分析及解决办法
- Eclipse中新建android项目中没有R.java文件以及找不到getActionBar()
- 解决新建android项目没有R.java文件
- 新建android项目时没有R.class文件方法解决
- 新建的Android项目没有生成R.java文件
- 新建的android项目,没有自动生成R.java 文件
- MyEclipse新建 Android 项目时没有R文件
- ubuntu 64位系统创建android 项目找不到R文件
- Android开发之Eclipse新建项目没有文件问题
- ubuntu eclipse 解决android新建项目出现appcompat_v7报错和R文件无法生成的问题(windows同)
- eclipse新建项目后R文件出错
- 解决新建的Android项目gen目录下没有R.java文件--Android开发经验
- 解决新建的Android项目gen目录下没有R.java文件--Android开发经验
- android新建项目时gen目录下的R文件没有自动的生成
- Android Studio新建项目找不到R文件
- Android 移动动画- TranslateAnimation
- 根据程序集名称初始化程序集Assembly 根据类FullName和Assembly Name初始化类对象
- bootimg解压和压缩破解
- 用类的友元函数完成运算符的重载
- mac mysql编译
- Ubuntu 12.04 64位 -- eclipse新建android项目没有R文件
- Gitblit的安装配置及访问
- 第八周任务-项目一(任务三)
- DOS命令大全
- MYSQL的空间查询
- Android 比例动画- ScaleAnimation
- 用the_widget()函数直接调用小工具
- 用人工智能工具轻松解决爱因斯坦智力题
- The connection to adb is down, and a severe error has occured.adb server is out of date ADB server d