DroidForums.net is the original Verizon Android Forum! Registered Users do not see these ads. Please Register - It's Free!
Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: Question on decompiling APKS

  1. Senior Droid
    camaro1173's Avatar
    Member #
    81914
    Join Date
    Jun 2010
    Location
    Danvers Mas.
    Posts
    240
    Liked
    2 times
    Phone
    Verizon Motorola DROID
    #1

    Question on decompiling APKS

    Hi all looking for some info on decompiling apks with apk manager. I have no problem decompiling any apks like framework apk, browser apk or the phone apk. My problem comes when I go to decompile any systemUI apks or settings apks I always end up with the same massage from apk manager saying

    "An Error Occured, Please Check The Log (option 21)"
    Press any key to continue . . . "

    Dose anyone have any idea why this is happening, I can post the log if needed?
    I am newish at this, I can sit here and read the log all day but I am going to be honest with you I have no idea what it means.

    Any help is welcome Thanks.
    Retired Droid 1
    At the moment a stock Bionic
    Soon to be a rooted Bionic

    Rooted Bionic Running Pacman Rom
  2.  
     
     
     
  3. Guest
    JayR_'s Avatar
    Member #
    87466
    Join Date
    Jul 2010
    Posts
    1,110
    Liked
    16 times
    Phone
    D1...what else?
    DroidForums.net Theme Developer
    #2
    what error does the log say? and what app(s) in particular?
  4. Android For Life
    Mbk's Avatar
    Member #
    65152
    Join Date
    May 2010
    Posts
    4,170
    Liked
    48 times
    Phone
    Enter Current Phone Model Here
    DroidForums.net Theme Developer
    Premium Member
    #3
    Quote Originally Posted by camaro1173 View Post
    Hi all looking for some info on decompiling apks with apk manager. I have no problem decompiling any apks like framework apk, browser apk or the phone apk. My problem comes when I go to decompile any systemUI apks or settings apks I always end up with the same massage from apk manager saying

    "An Error Occured, Please Check The Log (option 21)"
    Press any key to continue . . . "

    Dose anyone have any idea why this is happening, I can post the log if needed?
    I am newish at this, I can sit here and read the log all day but I am going to be honest with you I have no idea what it means.

    Any help is welcome Thanks.

    I've tested and verified it to work with APKManager following what I'll explain...
    OK... some guy at XDA was tinkering with apktool.jar and noted that this command helped with decompiling the SystemUI.apk... has to do with the certificate signature already in use with the framework-res.apk or to that effect, thus erroring out when trying to decompile SystemUI...

    my suggestion is to copy your apktool.jar from the apkmanager 'others' folder to your C drives root directory, so you have it available in both places and much easier than typing on the full path for it when you run this command...

    I also had the framework-res.apk and the SystemUi.apk in the C directory as well so that apktool sees them...

    then run

    java -jar apktool.jar if framework-res.apk

    then

    java -jar apktool.jar d SystemUI.apk decompiled

    Once that's done you should be able to run APKManager as usual and it'll decompile the SystemUI.apk without errors... and it should always be able to decompile that apk from that point on, so you can get rid of the framework, SystemUI.apks, and the decompiled folder from the C directory and it will still decomp[ile in APKManager properly from that point on...

    Give it a whirl and let me know.... I am 100% certain it'll work for you guys as well... "
  5. What iDoesn't
    Droid DOES!!'s Avatar
    Member #
    77093
    Join Date
    Jun 2010
    Posts
    6,335
    Liked
    47 times
    Phone
    Rezound and Bionic
    DroidForums.net Theme Developer
    Premium Member
    #4
    Quote Originally Posted by Mbk View Post
    Quote Originally Posted by camaro1173 View Post
    Hi all looking for some info on decompiling apks with apk manager. I have no problem decompiling any apks like framework apk, browser apk or the phone apk. My problem comes when I go to decompile any systemUI apks or settings apks I always end up with the same massage from apk manager saying

    "An Error Occured, Please Check The Log (option 21)"
    Press any key to continue . . . "

    Dose anyone have any idea why this is happening, I can post the log if needed?
    I am newish at this, I can sit here and read the log all day but I am going to be honest with you I have no idea what it means.

    Any help is welcome Thanks.

    I've tested and verified it to work with APKManager following what I'll explain...
    OK... some guy at XDA was tinkering with apktool.jar and noted that this command helped with decompiling the SystemUI.apk... has to do with the certificate signature already in use with the framework-res.apk or to that effect, thus erroring out when trying to decompile SystemUI...

    my suggestion is to copy your apktool.jar from the apkmanager 'others' folder to your C drives root directory, so you have it available in both places and much easier than typing on the full path for it when you run this command...

    I also had the framework-res.apk and the SystemUi.apk in the C directory as well so that apktool sees them...

    then run

    java -jar apktool.jar if framework-res.apk

    then

    java -jar apktool.jar d SystemUI.apk decompiled

    Once that's done you should be able to run APKManager as usual and it'll decompile the SystemUI.apk without errors... and it should always be able to decompile that apk from that point on, so you can get rid of the framework, SystemUI.apks, and the decompiled folder from the C directory and it will still decomp[ile in APKManager properly from that point on...

    Give it a whirl and let me know.... I am 100% certain it'll work for you guys as well... "
    Good to know, thanks mbk!

    This thread has been Thunder struck!
    "If you think you know everything, you can't learn anything." -Robert Morris

    If you like my work or I have helped you out and you would like to help me keep the lights on, it is greatly appreciated!!
    http://bit.ly/ro3alQ
  6. Senior Droid
    camaro1173's Avatar
    Member #
    81914
    Join Date
    Jun 2010
    Location
    Danvers Mas.
    Posts
    240
    Liked
    2 times
    Phone
    Verizon Motorola DROID
    #5
    Quote Originally Posted by Mbk View Post
    Quote Originally Posted by camaro1173 View Post
    Hi all looking for some info on decompiling apks with apk manager. I have no problem decompiling any apks like framework apk, browser apk or the phone apk. My problem comes when I go to decompile any systemUI apks or settings apks I always end up with the same massage from apk manager saying

    "An Error Occured, Please Check The Log (option 21)"
    Press any key to continue . . . "

    Dose anyone have any idea why this is happening, I can post the log if needed?
    I am newish at this, I can sit here and read the log all day but I am going to be honest with you I have no idea what it means.

    Any help is welcome Thanks.

    I've tested and verified it to work with APKManager following what I'll explain...
    OK... some guy at XDA was tinkering with apktool.jar and noted that this command helped with decompiling the SystemUI.apk... has to do with the certificate signature already in use with the framework-res.apk or to that effect, thus erroring out when trying to decompile SystemUI...

    my suggestion is to copy your apktool.jar from the apkmanager 'others' folder to your C drives root directory, so you have it available in both places and much easier than typing on the full path for it when you run this command...

    I also had the framework-res.apk and the SystemUi.apk in the C directory as well so that apktool sees them...

    then run

    java -jar apktool.jar if framework-res.apk

    then

    java -jar apktool.jar d SystemUI.apk decompiled

    Once that's done you should be able to run APKManager as usual and it'll decompile the SystemUI.apk without errors... and it should always be able to decompile that apk from that point on, so you can get rid of the framework, SystemUI.apks, and the decompiled folder from the C directory and it will still decomp[ile in APKManager properly from that point on...

    Give it a whirl and let me know.... I am 100% certain it'll work for you guys as well... "
    When you talk about the framwork and systemui apks should those be form the rom you are working with?
    Retired Droid 1
    At the moment a stock Bionic
    Soon to be a rooted Bionic

    Rooted Bionic Running Pacman Rom
  7. Android For Life
    Mbk's Avatar
    Member #
    65152
    Join Date
    May 2010
    Posts
    4,170
    Liked
    48 times
    Phone
    Enter Current Phone Model Here
    DroidForums.net Theme Developer
    Premium Member
    #6
    Quote Originally Posted by camaro1173 View Post
    Quote Originally Posted by Mbk View Post
    Quote Originally Posted by camaro1173 View Post
    Hi all looking for some info on decompiling apks with apk manager. I have no problem decompiling any apks like framework apk, browser apk or the phone apk. My problem comes when I go to decompile any systemUI apks or settings apks I always end up with the same massage from apk manager saying

    "An Error Occured, Please Check The Log (option 21)"
    Press any key to continue . . . "

    Dose anyone have any idea why this is happening, I can post the log if needed?
    I am newish at this, I can sit here and read the log all day but I am going to be honest with you I have no idea what it means.

    Any help is welcome Thanks.

    I've tested and verified it to work with APKManager following what I'll explain...
    OK... some guy at XDA was tinkering with apktool.jar and noted that this command helped with decompiling the SystemUI.apk... has to do with the certificate signature already in use with the framework-res.apk or to that effect, thus erroring out when trying to decompile SystemUI...

    my suggestion is to copy your apktool.jar from the apkmanager 'others' folder to your C drives root directory, so you have it available in both places and much easier than typing on the full path for it when you run this command...

    I also had the framework-res.apk and the SystemUi.apk in the C directory as well so that apktool sees them...

    then run

    java -jar apktool.jar if framework-res.apk

    then

    java -jar apktool.jar d SystemUI.apk decompiled

    Once that's done you should be able to run APKManager as usual and it'll decompile the SystemUI.apk without errors... and it should always be able to decompile that apk from that point on, so you can get rid of the framework, SystemUI.apks, and the decompiled folder from the C directory and it will still decomp[ile in APKManager properly from that point on...

    Give it a whirl and let me know.... I am 100% certain it'll work for you guys as well... "
    When you talk about the framwork and systemui apks should those be form the rom you are working with?
    Yeah it can be from the ROM you are currently working with, but afterwards you will be able to decompile any SystemUI.apk from any ROM without ever having to do this again...
  8. Senior Droid
    camaro1173's Avatar
    Member #
    81914
    Join Date
    Jun 2010
    Location
    Danvers Mas.
    Posts
    240
    Liked
    2 times
    Phone
    Verizon Motorola DROID
    #7
    Thanks for all the info and help will give it a go and see what happens.....
    Retired Droid 1
    At the moment a stock Bionic
    Soon to be a rooted Bionic

    Rooted Bionic Running Pacman Rom
  9. Senior Droid
    camaro1173's Avatar
    Member #
    81914
    Join Date
    Jun 2010
    Location
    Danvers Mas.
    Posts
    240
    Liked
    2 times
    Phone
    Verizon Motorola DROID
    #8
    Mbk thanks for the help that did the trick.
    One last question can I go ahead and delete the framework-res apk, SystemUI apk, the decompiled SystemUI.apk, and the copy of the java akptool or should i leave them there???
    Retired Droid 1
    At the moment a stock Bionic
    Soon to be a rooted Bionic

    Rooted Bionic Running Pacman Rom
  10. Android For Life
    Mbk's Avatar
    Member #
    65152
    Join Date
    May 2010
    Posts
    4,170
    Liked
    48 times
    Phone
    Enter Current Phone Model Here
    DroidForums.net Theme Developer
    Premium Member
    #9
    You can now delete all of those from your C drive's root directory...
  11. Senior Droid
    camaro1173's Avatar
    Member #
    81914
    Join Date
    Jun 2010
    Location
    Danvers Mas.
    Posts
    240
    Liked
    2 times
    Phone
    Verizon Motorola DROID
    #10
    Quote Originally Posted by Mbk View Post
    You can now delete all of those from your C drive's root directory...
    Thanks that was a great Big help that was driving me nuts for a long time.
    Retired Droid 1
    At the moment a stock Bionic
    Soon to be a rooted Bionic

    Rooted Bionic Running Pacman Rom
Page 1 of 2 12 LastLast

Links

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Similar Threads

  1. Free APKs for everyone...
    By chevycam94 in forum Steel Droid
    Replies: 47
    Last Post: 12-27-2011, 08:42 PM
  2. Cannot install APKs
    By Method329 in forum Liberty ROM D2
    Replies: 0
    Last Post: 02-03-2011, 07:44 PM
  3. Removing APKs
    By mymilkexpired in forum Motorola Droid Pro
    Replies: 6
    Last Post: 12-11-2010, 07:52 AM
  4. cannot download. zip or anything else other than. apks
    By Allfoshow in forum Android Tech Support
    Replies: 1
    Last Post: 04-02-2010, 01:01 PM
  5. Move apks to sd card without root? (also headphone question))
    By Stormwing in forum Android General Discussions
    Replies: 5
    Last Post: 03-06-2010, 08:47 AM

Search tags for this page

an error occured, please check the log (option 21)

,

an error occurred please check the log (option 21)

,

an error occurred please check the log option 21

,

an error occurred, please check the log (option 21)

,

an error occurred,please check the log 21

,

apk manager decompile error

,
apk manager error 21
,
apk manager error occurred
,
check the log option 21
,

decompile apks

Click on a term to search our site for related topics.
Find us on Google+