您的位置:首页 > 其它

有关详细信息, 请使用 -Xlint:unchecked 重新编译。

2016-10-09 11:38 399 查看
warning: Ignoring InnerClasses attribute for an anonymous inner class
(org.apache.commons.httpclient.HttpMethodBase$1) that doesn't come with an
associated EnclosingMethod attribute. This class was probably produced by a
compiler that did not target the modern .class file format. The recommended
solution is to recompile the class from source, using an up-to-date compiler
and without specifying any "-target" type options. The consequence of ignoring
this warning is that reflective operations on this class will incorrectly
indicate that it is *not* an inner class.
 
注:有关详细信息,
请使用 -Xlint:unchecked重新编译。
 
Error:Execution failed for task ':transformClassesWithDexForDebug'.
> com.android.build.api.transform.TransformException: com.android.ide.common.process.ProcessException: java.util.concurrent.ExecutionException: com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException:
Process 'command 'C:\Program Files\Java\jdk1.7.0_75\bin\java.exe'' finished with non-zero exit value 2
 
跟同事合作一个项目,他上传了一些东西,我更新后,就报了以上错误。关键的错误信息是'command 'C:\Program Files\Java\jdk1.7.0_75\bin\java.exe'' finished with non-zero exit value 2  意思是有资源重复了。估计是更新的时候某个资源文件重复了。
 
http://stackoverflow.com/questions/30938101/android-studio-error-command-c-program-files-java-jdk1-7-0-75-bin-java-exe
在这里找到了答案,android.support.v4.app有重复,删除掉一个就行了。

如对您有帮助,顶一下,给个评论呗,哈哈。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐