Loading [MathJax]/jax/output/CommonHTML/config.js
首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
社区首页 >问答首页 >Android ICS构建失败,出现错误41

Android ICS构建失败,出现错误41
EN

Stack Overflow用户
提问于 2011-12-23 16:35:22
回答 1查看 4K关注 0票数 1

我尝试在Ubuntu 10.04 LTS上构建Android ICS。一切都很好,直到ubuntu为Java安装了下一个更新。

此后,构建将失败,并显示错误41:

代码语言:javascript
运行
AI代码解释
复制
    out/target/common/obj/JAVA_LIBRARIES/android_stubs_current_intermediates/src/java/util/PropertyPermission.java:2: java.util.PropertyPermission is not abstract and does not override abstract method hashCode() in java.security.Permission
public final class PropertyPermission
             ^
out/target/common/obj/JAVA_LIBRARIES/android_stubs_current_intermediates/src/java/util/logging/LoggingPermission.java:2: java.util.logging.LoggingPermission is not abstract and does not override abstract method hashCode() in java.security.Permission
public final class LoggingPermission
             ^
out/target/common/obj/JAVA_LIBRARIES/android_stubs_current_intermediates/src/javax/net/ssl/SSLPermission.java:2: javax.net.ssl.SSLPermission is not abstract and does not override abstract method hashCode() in java.security.Permission
public final class SSLPermission
             ^
out/target/common/obj/JAVA_LIBRARIES/android_stubs_current_intermediates/src/javax/security/auth/AuthPermission.java:2: javax.security.auth.AuthPermission is not abstract and does not override abstract method hashCode() in java.security.Permission
public final class AuthPermission
             ^
out/target/common/obj/JAVA_LIBRARIES/android_stubs_current_intermediates/src/javax/security/auth/PrivateCredentialPermission.java:2: javax.security.auth.PrivateCredentialPermission is not abstract and does not override abstract method hashCode() in java.security.Permission
public final class PrivateCredentialPermission
             ^
out/target/common/obj/JAVA_LIBRARIES/android_stubs_current_intermediates/src/org/apache/http/impl/conn/tsccm/BasicPoolEntryRef.java:5: warning: [unchecked] unchecked conversion
found   : java.lang.ref.ReferenceQueue
required: java.lang.ref.ReferenceQueue<? super org.apache.http.impl.conn.tsccm.BasicPoolEntry>
public  BasicPoolEntryRef(org.apache.http.impl.conn.tsccm.BasicPoolEntry entry, java.lang.ref.ReferenceQueue<java.lang.Object> queue) { super(null,(java.lang.ref.ReferenceQueue)null); throw new RuntimeException("Stub!"); }
                                                                                                                                                   ^
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
111 errors
6 warnings
make: *** [out/target/common/obj/JAVA_LIBRARIES/android_stubs_current_intermediates/classes.jar] Error 41

我在net上搜索,但只找到了这条提示:http://kimoto.tistory.com/26和邮件列表中的一些问题(未回答)。

不幸的是,这对我没有帮助。我的JAVA_HOME指向/usr/lib/jvm/java-6-sun,它是指向jdk1.6.0_30的符号链接。所以看起来我现在使用的是最新版本的Java。

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2011-12-27 12:38:11

好吧,解决方案是使用open-jdk而不是jdk。这对我很有帮助。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/8618426

复制
相关文章
ics启动失败 教您win7ics启动失败怎么办
ico是什么呢?有些时候我们会需要把自己的电脑当成无线热点WiFi来使用,然而这时我们就必须得要开启这个服务了,但要是在开启的过程中提示ICS启动失败该怎么解决呢?下面开始给大家介绍Windows7系
牛肉面
2021/01/26
2.3K0
android 减少图片出现oom错误
在做Android图片程序的时候,由于图片比较多,很有很的机会出现OOM的机会,根据网上的资料做了些总结,期待能够减少OOM出现的机会。 1.使用底层的方法来替代使用java层的方法 尽量不要使用setImageBitmap或setImageResource或BitmapFactory.decodeResource来设置一张大图。   因为这些函数在完成decode后,最终都是通过java层的createBitmap来完成的,需要消耗更多内存。 因此,改用先通过BitmapFactory.de
xiangzhihong
2018/01/30
9050
Android studio 出现文件错误或者错乱
Android studio经常用着用着,出现Java显示乱码,xml显示Java,各种文件显示不全,或者build.gradle 显示成java的文件等
包子388321
2020/06/16
1.6K0
CODESYS WebVisu产品出现严重漏洞,影响100多款ICS系统
根据外媒 Securitweek 报道,Istury IOT 的朱文哲(音)发现 3S-Smart Software Solutions 的 CODESYS WebVisu 产品所使用的 Web 服务器组件存在基于堆栈的缓冲区溢出漏洞,远程攻击者可以利用此漏洞触发拒绝服务(DoS),某些情况下还能在 Web 服务器上执行任意代码。 CODESYS WebVisu 的作用是让用户在 Web 浏览器中查看可编程逻辑控制器(PLC)的人机交互界面(HMI)。CODESYS 官网消息称:施耐德电气、WAGO、日立、
FB客服
2018/02/07
1.1K0
CODESYS WebVisu产品出现严重漏洞,影响100多款ICS系统
出现500错误
早上闲来无事,在cpanel后台转悠,看到了hotlink保护,想想是不是设置一下防盗链呢,这个博客开始到现在也没有几张有价值的图片,其实防盗链没所谓的,凑凑热闹设置一下,以前用过cpanel后台的免费空间,设置过hotlink,所以就没在意,设置完关掉了。
空空裤兜
2023/03/03
1.7K0
LeetCode41|数组中数组出现的次数
请写程序找出这两个只出现一次的数字。要求时间复杂度是O(n),空间复杂度是O(1)。
码农王同学
2020/08/25
8790
LeetCode41|数组中数组出现的次数
Maven 构建错误
在pom.xml文件中的 <project> 节中添加阿里的环境仓库: <repositories> <repository> <id>alimaven</id> <url>https://maven.aliyun.com/repository/public</url> </repository> </repositories> <pluginRepositories> <pluginReposi
彼岸舞
2020/09/30
7630
Xamarin Forms 构建 WPF 版项目失败提示 XamlC error XFC0000 错误
在 Xamarin Forms 从 4.7 到 4.8.0.1560 版本,在 Xamarin Forms 构建 WPF 版项目也许会提示 XamlC error XFC0000 : Cannot resolve type “Application” 构建失败
林德熙
2022/08/12
1.9K0
Xamarin Forms 构建 WPF 版项目失败提示 XamlC error XFC0000 错误
mysql连接失败HikariPool错误
1. mysql连接失败HikariPool错误 1.1. 异常 com.zaxxer.hikari.pool.HikariPool : HikariPool-1 - Exception during pool initialization. 1.2. 解决 引起程序无法启动的问题是 com.zaxxer.hikari.pool.HikariPool 没能成功被 Spring 创建,原因是你的时区配置的有歧义,你需要在 jdbc url 后加上 &serverTimezone=Asia/Shanghai 这
老梁
2019/09/10
10.2K0
android之layout_toLeftOf和layout_toRightOf出现的错误
错误是这样的,布局文件如下,总是在SeekBar里面的这一句android:layout_toLeftOf=”@id/voice_max”报错,差点气得我吐血,明明没有错误的.
全栈程序员站长
2022/07/20
6750
tp6如果出现连接失败或者403错误的话,(请在phpstudy中这样做)
等php think run运行完后,就好了. 运行链接: localhost:8000/index.php/模块/控制器/方法(我这是多应用下。并且没有去掉index.php的情况下)
贵哥的编程之路
2022/05/24
6450
tp6如果出现连接失败或者403错误的话,(请在phpstudy中这样做)
android打包引用第三方jar出现的错误
今天终于完成了近一个月的App开发工作,对程序进行混淆导出签名apk包时,却出现了如下的错误: Proguard returned with error code 1. See console Note: there were 4 duplicate class definitions. Warning: library class android.content.res.XmlResourceParser extends or implements program class org.xmlpull.v1
xiangzhihong
2018/01/30
8700
出现“内部错误,无法显示”
This page contains the following errors: error on line 2 at column 6: XML declaration allowed only at the start of the document Below is a rendering of the page up to the first error. 提示信息是头部有错误,我登录后台查看我修改过的页面,然后找到home.php我看了十几分钟没有发现那里有错误~~ 莫非头部不能有空格? 去掉试试
苦咖啡
2018/05/07
3.4K0
ubuntu更新源出现错误
有的小伙伴出现了残留源错误,有的人说重装,有的人说改sourcelist,这些方法诚然好使,但都是高射炮打蚊子:小题大作。 现在来说解决方法: 先选右下九个点
全栈程序员站长
2022/08/27
1.4K0
ubuntu更新源出现错误
ics-to-json
昨天提到可以订阅ics,那能不能将ics转json呢?可以试试这个ics-to-json
阿超
2022/10/28
2310
nodejs 跨域出现错误
Failed to load http://115.159.52.223:3000/user/admin-userLogin: The value of the 'Access-Control-Allow-Origin' header in the response must not be the wildcard '*' when the request's credentials mode is 'include'. Origin 'http://192.168.16.220:8000' is therefore not allowed access. The credentials mode of requests initiated by the XMLHttpRequest is controlled by the withCredentials attribute.
拿我格子衫来
2022/01/24
1K0
nodejs 跨域出现错误
出现Uncaught ReferenceError: $ is not defined错误
今天在写ajax请求的时候,出现了Uncaught ReferenceError: $ is not defined报错;$未定义是为什么呢?
meihuasheng
2021/03/16
4.1K0
宽带连接_出现上网错误
错误代码651意思为 您的调制解调器(或其它连接设备)报告了一个错误。既未找到指定的端口。 解决办法: 1、远程访问记事簿文件和当前的“网络和拨号连接”配置可能不一致如果更改了通讯设备(例如:串行口或调制解调器),请确保重新配置“网络和拨号连接”。如果错误仍然存在,请删除并重新创建“网络和拨号连接”. 2、win7 错误代码651,路由能上,拨号上不了 试一下:打开 \windows\system32\logfiles\wmi,双击打开wmi再打开里面的RtBackup 会提示你需要管理员权限 继续 重启,
赵腰静
2018/03/09
3.9K1
点击加载更多

相似问题

Android构建失败,出现重复类错误

110

Android构建失败,出现以下错误

23

AOSP ICS构建错误

12

Android Studio错误失败:构建失败并出现异常

123

Android Build使用NDK、CMake、LLDB构建ics-openvpn失败

1144
添加站长 进交流群

领取专属 10元无门槛券

AI混元助手 在线答疑

扫码加入开发者社群
关注 腾讯云开发者公众号

洞察 腾讯核心技术

剖析业界实践案例

扫码关注腾讯云开发者公众号
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档