我可以在跳过错误的同时包装类文件吗?

时间:2014-03-27 01:50:31

标签: java eclipse jar

我想在跳过错误的同时jar类文件。 原因是我有一个sdk jar文件我反编译并且类有很多错误,但sdk仍然有效。 我想用日志注释编辑反编译的类文件,以便我可以看到正在调用哪些函数,然后jar类文件(跳过错误)。

目前当我把一个文件包含错误时,它就是jars(eclipse>导出jar),但是当类文件出错时,下面是我在jar文件中写入的消息。

jar文件的步骤: 创建了一个java项目(Java SE 1.6)将类放在src包中, 将项目导出为jar文件

如果有可能请告诉我

<Unresolved compilation problems: The import android cannot be resolved The import android cannot be resolved The import sg cannot be resolved The import sg cannot be resolved The import sg cannot be resolved Context cannot be resolved to a type Connector cannot be resolved to a type Context cannot be resolved to a type Context cannot be resolved to a type Log cannot be resolved Connector cannot be resolved to a type Connector cannot be resolved to a type Connector cannot be resolved to a type CardType cannot be resolved to a variable Domain cannot be resolved to a variable Connector cannot be resolved to a type Connector cannot be resolved to a type Connector cannot be resolved to a type Connector cannot be resolved to a type Connector cannot be resolved to a type Connector cannot be resolved to a type Connector cannot be resolved to a type Log cannot be resolved Connector cannot be resolved to a type Connector cannot be resolved to a type Log cannot be resolved Connector cannot be resolved to a type Connector cannot be resolved to a type Log cannot be resolved Connector cannot be resolved to a type Connector cannot be resolved to a type Log cannot be resolved Log cannot be resolved Connector cannot be resolved to a type Connector cannot be resolved to a type Log cannot be resolved

1 个答案:

答案 0 :(得分:0)

JAR文件由编译代码组成(主要是)。如何组装jar而不编译.java到.class?如果您有错误,必须先解决。