2014-02-21 53 views
-1

我反編譯了一個apk,但是我在得到的項目中遇到了2000多個錯誤。我認爲這是由於混淆。任何人都可以請指導我如何去混淆這個項目或以其他方式獲得無錯源代碼?如何deobfuscation的android項目

如下面的反編譯的類我在休息Missing_BLOCK_LABEL

public String FunTargetBetData(String s) 
{ 
    String s1 = ""; 
    URL = ipList.SetUrlPath(); 
    if (URL == "" || s == "") 
    { 
     break MISSING_BLOCK_LABEL_134; 
    } 
    SoapPrimitive soapprimitive; 
    try 
    { 
     SoapObject soapobject = new SoapObject("http://tempuri.org/", "FTargetBetDataProcess"); 
     soapobject.addProperty("indatastr", Encrypt(s, encryptKey)); 
     SoapSerializationEnvelope soapserializationenvelope = new SoapSerializationEnvelope(110); 
     soapserializationenvelope.dotNet = true; 
     soapserializationenvelope.setOutputSoapObject(soapobject); 
     soapserializationenvelope.encodingStyle = "http://schemas.xmlsoap.org/soap/encoding/"; 
     (new HttpTransportSE(URL, TimeOut)).call("http://tempuri.org/AndIService1/FTargetBetDataProcess", soapserializationenvelope); 
     soapprimitive = (SoapPrimitive)soapserializationenvelope.getResponse(); 
    } 
    catch (SocketTimeoutException sockettimeoutexception) 
    { 
     sockettimeoutexception.printStackTrace(); 
     Log.d("FunTargetBetData SocketTimeoutException", sockettimeoutexception.toString()); 
     return ""; 
    } 
    catch (Exception exception) 
    { 
     exception.printStackTrace(); 
     Log.d("FunTargetBetData Error", exception.toString()); 
     return ""; 
    } 
    if (soapprimitive == null) 
    { 
     break MISSING_BLOCK_LABEL_134; 
    } 
    s1 = soapprimitive.toString(); 
    s1.trim(); 
    return s1; 
} 

回答

2

得到錯誤反混淆,你需要的是,儘管混淆產生的mapping.txt文件。所以,只有在生成映射文件後才能執行此操作。

+0

謝謝Bishwash先生,但我沒有mapping.txt文件。有沒有其他方法? –

+0

據我所知,如果沒有mapping.txt,你無法解除混淆。 –