我想在跳過錯誤的同時jar類文件。 原因是我有一個sdk jar文件,我反編譯和類有很多錯誤,但sdk仍然有效。 我想用日誌註釋編輯反編譯的類文件,以便我可以看到哪些函數正在被調用,然後jar類文件(跳過錯誤)。當我在jar文件中添加錯誤時,它會打開(eclipse> export jar),但是當類文件出現錯誤時,下面是在我的jar文件中寫入的類文件中的消息。我可以在跳過錯誤的同時打開一個類文件嗎?
步驟罐子文件: 創建的Java項目(Java SE 1.6)把類在src包, 出口項目爲jar文件
請讓我知道,如果它是possile
<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
'.jar'只是一個包含文件名的'.zip'。但是,您可能需要包含一些庫才能運行該應用程序。 –
@CommuSoft您好,試圖解壓縮一個jar sdk文件和壓縮解壓縮的內容,並將擴展名改爲.jar,並將sdk文件放入我的libs項目中,但文件中的類不會被識別。 ? –
你可以把你想要的東西放在JAR中 - 源文件,類文件,圖像,購物清單等。與可編譯的東西無關。區分JAR和ZIP的唯一方法是JAR可能(或不可能)具有JAR清單。 –