1. Download our Official Android App: Forums for Android!

Apps Help! Deleted android project but have the apk file

Discussion in 'Android Development' started by idevand, May 3, 2011.

  1. idevand

    idevand Lurker
    Thread Starter
    Rank:
    None
    Points:
    5
    Posts:
    4
    Joined:
    May 3, 2011

    May 3, 2011
    4
    0
    5
    I was working on an android app and wanted to test it on my friend's phone so I extracted it in somehow to an .apk file so he could install it, and then deleted the whole project by accident from my computer, but i still got the .apk file (4shared saved me)
    is there any way to get it back to eclipse to continue developing?

    I also have it installed in my AVD when I used to run it for debug it was installed before because I have debugged it alot of times, it works perfectly when I launch the AVD, if that could get it too in somehow?
     

    Advertisement

  2. JordiDroid

    JordiDroid Member
    Rank:
    None
    Points:
    36
    Posts:
    38
    Joined:
    Apr 20, 2011

    Apr 20, 2011
    38
    2
    36
    Software Engineer
    Netherlands
    The apk file is a zip file, rename it to zip and then extract it. Then you have your .class file. With some java decompiler you should be able to get some code back. I don't know if a java decompiler can recover some of the Android api's, but you'll be able to recover some parts i think.
     
  3. idevand

    idevand Lurker
    Thread Starter
    Rank:
    None
    Points:
    5
    Posts:
    4
    Joined:
    May 3, 2011

    May 3, 2011
    4
    0
    5

Share This Page

Loading...