honeynet / apkinspector

APKinspector is a powerful GUI tool for analysts to analyze the Android applications.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Smali Tab Does Not Display Smali Files [moved]

ryanwsmith opened this issue · comments

This is Issue 5 moved from a Google Code project.
Added by 2012-01-10T03:05:05.000Z by gigab...@gmail.com.
Please review that bug for more context and additional comments, but update this bug.

Original labels: Type-Defect, Priority-Medium

Original description

<b>What steps will reproduce the problem?</b>
1. Open apkinspector
2. Click on File -> New
3. Choose sample apk file
4. After progress display finished, click on Methods tab.
5. Navigate to Method and click Smali tab

<b>What is the expected output? What do you see instead?</b>
Smali code for method should be displayed. 
No output is displayed in Smali tab  when clicking through methods.

<b>What version of the product are you using? On what operating system?</b>
Beta from Aug 29, 2011. 
BackTrack 5 release (Based on Ubuntu 10.04 LTS, Linux kernel 2.6.38)


<b>Please provide any additional information below.</b>

A .java file extension is being concatenated to the className instead of .smali in APKtool.py. 

APKtool.py (line 46):

        className = className[1:-1] + &quot;.java&quot;

Change to:

        className = className[1:-1] + &quot;.smali&quot;