Android APK反编译

新版本apktool用法:

1、下载:
当然了上面这个链接和图片描述的可能也会变。
目前就是下载两个文件apktool.bat和apktool.jar
(这个如果你下载的文件有版本号,比如apktool_2.2.1.jar,就要改名字为apktool.jar),
然后把上面两个文件都放到C://Windows下面。
如果您无权访问C://Windows,可以将这两个文件放在任何位置,
然后将该目录添加到Environment Variables System PATH变量中
最后尝试apktool通过命令提示符运行
运行CMD,进入比如app-release.apk所在目录,然后运行apktool d app-release.apk,
默认解压的文件就在app-release.apk所在目录

重新签名打包

1.回编译apktool b files
files就是对应刚刚修改的apk文件夹,执行完后会重新生成一个apk文件

注意:编译后的apk是安装不成功的,总是提示 Failure [INSTALL_PARSE_FAILED_UNEXPECTED_EXCEPTION],实质是没签名。

2.先生成证书:
keytool -genkey -keystore coolapk.keystore -keyalg RSA -validity 10000 -alias coolapk

注意:上面-keystore后面跟的是签名文件的名字,而-alias是别名,一般情况下-keystore后面跟-alias是一样的,但其实两者没有关系,这也是我故意搞成不一样的原因。

3.为apk进行签名:
jarsigner -digestalg SHA1 -sigalg MD5withRSA -tsa -verbose -keystore coolapk.keystore -signedjar coolapk-signed.apk coolapk.apk coolapk

注意:
1.最后的”coolapk”就是-alias后面带的,必须保持一致
2.如果不带-digestalg SHA1 -sigalg MD5withRSA签名后的apk安装也会不成功,INSTALL_PARSE_FAILED_NO_CERTIFICATES的错误,如果不带-tsa会报一个时间方面的警告.

/////////////第二种签名方法 start/////////////////

先生成证书:

  1. keytool -genkey -keystore example.keystore -keyalg RSA -validity 10000 -alias example

生成一个证书,然后为这个 apk 进行签名:

  1. jarsigner -verbose -keystore test.keystore -signedjar app_debug_signed.apk app_debug_output.apk test

上面的命令的含义为: jarsigner -日志级别[verbose] -keystore 证书地址[test.keystore] -signedjar 签名后的apk路径[app_debug_signed.apk] 待签名的apk路径[app_debug_output.apk] 证书alias名称[test]
输出结果为app_debug_signed.apk

/////////////第二种签名方法 end/////////////////

qihong lu

181 COMMENTS

  • 564744 649957Extremely great written article. It will likely be useful to anybody who usess it, including myself. Keep up the very good function – canr wait to read far more posts. 962052

  • 990594 232543Yay google is my king helped me to locate this fantastic web site ! . 757740

  • 97728 315729I like this website its a master peace ! Glad I detected this on google . 202659

  • 281673 142299I appreciate you taking the time to speak about them with people. 3357

  • 88718 473221Thanks for helping out, superb info. 512221

  • 16736 948638youve got an important weblog correct here! would you wish to make some invite posts on my weblog? 597122

  • 451168 844868Spot lets start on this write-up, I seriously believe this remarkable website requirements considerably more consideration. Ill much more likely once once again to read a great deal much more, a lot of thanks that information. 961797

  • 546375 989618I saw two other comparable posts although yours was the most beneficial so a great deal 630384

  • 829160 374254Greetings! This is my very first comment here so I just wanted to give a quick shout out and tell you I genuinely enjoy reading through your weblog posts. Can you recommend any other blogs/websites/forums that deal with the same topics? Thank you so much! 831901

  • 913391 399125You should join in a contest very first of the greatest blogs on the internet. I will recommend this web internet site! 280061

  • 747945 845038Do you wear boxers or biefs? I wana bui em. 598350

  • 119525 825069Do you have a spam problem on this site; I also am a blogger, and I was curious about your situation; we have developed some nice methods and we are looking to trade techniques with others, why not shoot me an e-mail if interested. 355125

  • 846994 642146Its amazing as your other weblog posts : D, thanks for posting . 937863

  • 111770 599940There is noticeably a great deal of funds to recognize about this. I suppose you made certain nice points in functions also. 936826

  • 468153 391796Of course like your internet site but you require to check the spelling on several of your posts. Several of them are rife with spelling issues and I discover it quite bothersome to tell the truth nevertheless Ill certainly come back again. 292071

  • 256663 243067This really is a great topic to talk about. Generally when I uncover stuff like this I stumble it. This article probably wont do effectively with that crowd. I will likely be positive to submit something else though. 910932

  • 160199 886491This plot doesnt reveal itself; it has to be explained. 789466

  • 576258 587452Right after study some of the websites together with your internet website now, i actually as if your way of blogging. I bookmarked it to my bookmark site list and is going to be checking back soon. Pls look at my site likewise and figure out what you believe. 680551

  • 191745 638778Hello DropshipDragon provides dropping for quality, affordable products direct from China to your customers. Perfect for eBay sellers and website owners alike! 404358

  • 628896 832603Today, I went to the beach with my children. I found a sea shell and gave it to my 4 year old daughter and said “You can hear the ocean if you put this to your ear.” She placed the shell to her ear and screamed. There was a hermit crab inside and it pinched her ear. She never wants to go back! LoL I know this is completely off topic but I had to tell someone! 477825

  • 999456 872027As soon as I detected this internet internet site I went on reddit to share some of the really like with them. 599788

  • 519185 505257I gotta favorite this site it seems handy quite valuable 140029

  • 285375 902964I observe there is a lot of spam on this blog. Do you want support cleaning them up? I may possibly support in between courses! 64822

  • 728693 199935Wanted posting. Loads of superb writing here. I wish I saw it identified the website sooner. Congrats! 541909

  • 658948 428245I like what you guys are up too. Such smart work and reporting! Carry on the superb works guys Ive incorporated you guys to my blogroll. I feel it will improve the value of my internet site 464546

  • Propecia If Cialis Pillola Cialis Prezzo 125 Tab Lek Pharma

  • 837178 893549You produced some decent points there. I looked on the internet for that dilemma and discovered most people is going together with with the internet website. 793240

  • 701870 497838wonderful . Thanks for informations . Ill be back. Thanks once more 264487

  • 15017 639712Glad to be one of several visitants on this awful web site : D. 331461

  • 289901 173304Hey there! Great stuff, please do tell us when you post once more something comparable! 913406

  • 638923 200357I really like what you guys are up too. Such clever function and exposure! Keep up the really excellent works guys Ive incorporated you guys to my own blogroll. 257264

  • 217204 358478Hello I located the Totally free Simple Shopping Icons Download | Design, Tech and Internet post extremely intriguing therefore Ive included our track-back for it on my own webpage, continue the fantastic job:) 717290

  • 343438 369034Howdy! This is my first visit to your blog! We are a collection of volunteers and starting a new project in a community in the same niche. Your blog provided us valuable information to work on. You have done a wonderful job! 727856

  • 847264 648583Youre so cool! I dont suppose Ive read anything in this way before. So good to locate somebody by original thoughts on this topic. realy thanks for beginning this up. this fabulous site is one thing that is required on the internet, a person with a bit of originality. beneficial project for bringing a new challenge towards internet! 856744

  • 289707 937635Spot up for this write-up, I truly feel this outstanding internet site requirements a lot a lot more consideration. Ill more likely be once once more to read considerably a lot more, thank you that info. 300259

  • I simply want to tell you that I am very new to weblog and actually loved you’re web-site. More than likely I’m want to bookmark your blog post . You amazingly come with really good writings. Kudos for sharing with us your blog site.

  • Thanks for sharing your thoughts on asset manager.
    Regards

  • I conceive you have observed some very interesting details , appreciate it for the post.

  • An attention-grabbing dialogue is worth comment. I think that you need to write more on this topic, it may not be a taboo topic however generally persons are not enough to talk on such topics. To the next. Cheers

  • I am often to running a blog and i really recognize your content. The article has really peaks my interest. I’m going to bookmark your website and maintain checking for new information.

  • A further issue is that video games are generally serious in nature with the main focus on mastering rather than leisure. Although, there is an entertainment factor to keep your sons or daughters engaged, every single game is usually designed to work with a specific group of skills or program, such as math concepts or research. Thanks for your write-up.

  • Hi, Neat post. There’s an issue along with your web site in internet explorer, could test this¡K IE nonetheless is the marketplace chief and a big element of people will miss your great writing due to this problem.

  • Super-Duper website! I am loving it!! Will be back later to read some more. I am bookmarking your feeds also.

  • Youre so cool! I dont suppose Ive learn anything like this before. So nice to find any individual with some authentic ideas on this subject. realy thanks for starting this up. this website is one thing that is needed on the net, someone with somewhat originality. helpful job for bringing something new to the web!

  • auto insurance is indeed very important, insurance can protect your property;

  • Its like you read my mind! You appear to know so much about this, like you wrote the book in it or something. I think that you could do with some pics to drive the message home a little bit, but instead of that, this is wonderful blog. A fantastic read. I will certainly be back.

  • My goal is to get in better shape so I can participate in all activities when I shaperone the class trip to the nature center.

  • I’ve been absent for some time, but now I remember why I used to love this website. Thanks, I will try and check back more often. How frequently you update your web site?

  • Thank you for the auspicious writeup. It in reality was a leisure account it.
    Look complex to more brought agreeable from you! By the way, how
    could we keep up a correspondence?

  • You could certainly see your skills in the work you write. The world hopes for even more passionate writers like you who aren’t afraid to say how they believe. Always go after your heart.

  • you’ve got an excellent blog right here! would you like to make some invite posts on my weblog?

  • Have you ever thought about including a little bit more than just your articles? I mean, what you say is important and all. However think about if you added some great photos or videos to give your posts more, “pop”! Your content is excellent but with pics and video clips, this blog could definitely be one of the greatest in its niche. Excellent blog!

  • Good day! This is kind of off topic but I need some guidance from an established blog.
    Is it difficult to set up your own blog? I’m not very techincal but
    I can figure things out pretty quick. I’m thinking about
    making my own but I’m not sure where to
    start. Do you have any points or suggestions? Thanks

  • MetroClick specializes in building completely interactive products like Photo Booth for rental or sale, Touch Screen Kiosks, Large Touch Screen Displays , Monitors, Digital Signages and experiences. With our own hardware production facility and in-house software development teams, we are able to achieve the highest level of customization and versatility for Photo Booths, Touch Screen Kiosks, Touch Screen Monitors and Digital Signage. Visit MetroClick in NYC at http://www.metroclick.com/ or , 121 Varick St, New York, NY 10013, +1 646-843-0888

  • Faytech North America is a touch screen Manufacturer of both monitors and pcs. They specialize in the design, development, manufacturing and marketing of Capacitive touch screen, Resistive touch screen, Industrial touch screen, IP65 touch screen, touchscreen monitors and integrated touchscreen PCs. Contact them at http://www.faytech.us, 121 Varick Street, New York, NY 10013, +1 646 205 3214

  • Hello! I just now would wish to offer a large thumbs up to the wonderful information you have here with this post. We are coming back to your blog site for additional soon.

  • Thanks for your submission. I also believe that laptop computers are getting to be more and more popular currently, and now are often the only form of computer utilised in a household. It is because at the same time that they’re becoming more and more economical, their computing power is growing to the point where they’re as highly effective as desktop computers out of just a few years back.

  • I have not checked in here for a while as I thought it was getting boring, but the last several posts are great quality so I guess I’ll add you back to my daily bloglist. You deserve it my friend 🙂

  • Exceptional post but I was wondering if you could write
    a litte more on this subject? I’d be very grateful if you could elaborate a little bit more.
    Thank you!

  • I needed to write you that little bit of remark to help give many thanks once again with your striking solutions you’ve featured on this website. It was certainly extremely open-handed of you to grant publicly what exactly most people would have made available as an e-book to generate some profit for themselves, specifically seeing that you could have done it if you considered necessary. Those solutions in addition acted like a fantastic way to realize that some people have similar interest similar to mine to know good deal more related to this condition. I am certain there are some more enjoyable moments ahead for individuals who scan through your site.

  • Really no matter if someone doesn’t be aware of then its up to other
    viewers that they will assist, so here it takes place.

  • Ahaa, its good discussion regarding this piece of writing here
    at this weblog, I have read all that, so at this time me also commenting at this place.

  • Generally I don’t read post on blogs, but I wish to say that this write-up very forced me to try and do so! Your writing style has been surprised me. Thanks, quite nice article.

  • there are bargain dvd players that are sold in our area. i think they are generic low cost dvd players;;

  • I’ve been absent for some time, but now I remember why I used to love this web site. Thanks , I¡¦ll try and check back more often. How frequently you update your site?

  • Hello! I could have sworn I’ve been to this blog before
    but after going through some of the posts I realized it’s new to me.

    Regardless, I’m certainly happy I stumbled upon it and I’ll be bookmarking it and checking back frequently!

  • Greetings! Very useful advice in this particular article!
    It’s the little changes that will make the greatest
    changes. Thanks a lot for sharing!

  • I do agree with all of the ideas you’ve presented in your post. They are very convincing and will certainly work. Still, the posts are too short for novices. Could you please extend them a bit from next time? Thanks for the post.

  • fantastic publish, very informative. I wonder why the other specialists of this sector don’t realize this. You must proceed your writing. I am confident, you’ve a huge readers’ base already!

  • What’s up, after reading this amazing piece of writing i am also
    cheerful to share my experience here with friends.

  • I seriously love your site.. Pleasant colors & theme.
    Did you build this website yourself? Please reply back
    as I’m looking to create my own personal website and would like to
    know where you got this from or what the theme is called.
    Appreciate it!

  • Hiya, I am really glad I have found this info. Nowadays bloggers publish just about gossips and web and this is really irritating. A good blog with exciting content, this is what I need. Thank you for keeping this website, I’ll be visiting it. Do you do newsletters? Can not find it.

  • Hello my friend! I want to say that this article is awesome, nice written and include approximately all vital infos. I’d like to look more posts like this.

  • Wow! This could be one particular of the most useful blogs We’ve ever arrive across on this subject. Actually Excellent. I am also a specialist in this topic therefore I can understand your hard work.

  • hi!,I love your writing very a lot! percentage we communicate extra about your article on AOL? I require a specialist on this house to solve my problem. May be that’s you! Taking a look ahead to look you.

  • I was recommended this web site by my cousin. I’m not sure whether this post is written by him as nobody else know such detailed about my difficulty. You are incredible! Thanks!

  • Hello there, just became aware of your blog through Google,
    and found that it is truly informative. I’m gonna watch out for brussels.

    I will be grateful if you continue this in future.
    Numerous people will be benefited from your writing.
    Cheers!

  • I have been checking out some of your stories and i can claim pretty clever stuff. I will surely bookmark your site.

  • Just want to say your article is as surprising. The clearness in your post is just great and i can assume you’re an expert on this subject. Well with your permission let me to grab your RSS feed to keep up to date with forthcoming post. Thanks a million and please carry on the gratifying work.

  • It is best to take part in a contest for top-of-the-line blogs on the web. I’ll advocate this web site!

  • Pretty section of content. I just stumbled upon your weblog and in accession capital to assert that I get in fact enjoyed account your blog posts. Anyway I’ll be subscribing to your feeds and even I achievement you access consistently rapidly.

  • Faytech North America is a touch screen Manufacturer of both monitors and pcs. They specialize in the design, development, manufacturing and marketing of Capacitive touch screen, Resistive touch screen, Industrial touch screen, IP65 touch screen, touchscreen monitors and integrated touchscreen PCs. Contact them at http://www.faytech.us, 121 Varick Street, New York, NY 10013, +1 646 205 3214.

  • MetroClick specializes in building completely interactive products like Photo Booth for rental or sale, Touch Screen Kiosks, Large Touch Screen Displays , Monitors, Digital Signages and experiences. With our own hardware production facility and in-house software development teams, we are able to achieve the highest level of customization and versatility for Photo Booths, Touch Screen Kiosks, Touch Screen Monitors and Digital Signage. Visit MetroClick in NYC at http://www.metroclick.com/ or , 121 Varick St, New York, NY 10013, +1 646-843-0888.

  • It’s a pity you don’t have a donate button! I’d most certainly donate to this superb blog! I guess for now i’ll settle for book-marking and adding your RSS feed to my Google account. I look forward to fresh updates and will talk about this site with my Facebook group. Chat soon!

  • I believe this is among the most significant info for me. And i’m happy studying your article. But wanna remark on few basic things, The website style is great, the articles is in reality nice : D. Good job, cheers

  • Thanks for your helpful article. One other problem is that mesothelioma cancer is generally due to the inhalation of material from mesothelioma, which is a dangerous material. It is commonly found among staff in the building industry that have long experience of asbestos. It’s also caused by moving into asbestos covered buildings for long periods of time, Genes plays a huge role, and some persons are more vulnerable for the risk in comparison with others.

  • I was extremely pleased to find this web site. I want to to thank you for your time due to this wonderful read!! I definitely loved every bit of it and I have you book marked to check out new information in your website.

  • very good put up, i certainly love this website, carry on it

  • It really is ideal day to prepare some schedules for the future. I have digested this blog and if I would, I desire to encourage you a few insightful suggestions.

  • Este artigo irá ensinar-lhe como construir relações com os clientes, e expandir o seu público usando estratégias como o e-mail marketing. Se você quiser começar a empregar algumas estratégias avançadas de marketing de afiliados, leia este artigo.

  • It really is nearly unattainable to find well-qualified individual on this area, still, you come across as like you be aware of which you’re raving about! Regards

  • I’m extremely pleased to discover this web site. I want to to thank you for ones time for this fantastic read!! I definitely appreciated every part of it and I have you saved as a favorite to see new stuff on your web site.

  • It is usually convenient occasion to generate some options for the long run. I’ve read this blog post and if I may possibly, I wish to suggest to you you couple of helpful proposal.

  • I was just seeking this information for a while. After six hours of continuous Googleing, at last I got it in your website. I wonder what’s the lack of Google strategy that do not rank this type of informative sites in top of the list. Usually the top web sites are full of garbage.

  • Today, I went to the beach front with my kids. I found a sea shell and gave it to my 4 year old daughter and said “You can hear the ocean if you put this to your ear.” She put the shell to her ear and screamed. There was a hermit crab inside and it pinched her ear. She never wants to go back! LoL I know this is completely off topic but I had to tell someone!

  • You’ll find it almost impossible to come across well-educated americans on this subject, still you appear like you understand exactly what you’re indicating! Excellent

  • Write more, thats all I have to say. Literally, it seems as though you relied on the video to make your point. You definitely know what youre talking about, why throw away your intelligence on just posting videos to your blog when you could be giving us something informative to read?

  • As a Newbie, I am continuously searching online for articles that can be of assistance to me. Thank you

  • Hiya there, just turned out to be receptive to your blog through Bing and yahoo, and discovered that it’s seriously beneficial. I will be grateful should you decide continue these.

  • You’ll find it mostly close to impossible to see well-qualified americans on this issue, unfortunately you seem like you fully grasp exactly what you’re preaching about! Many Thanks

  • Hello. splendid job. I did not anticipate this. This is a splendid story. Thanks!

  • Would you be involved in exchanging hyperlinks?

  • whoah this weblog is fantastic i love reading your posts. Stay up the great paintings! You recognize, many people are looking around for this information, you can aid them greatly.

  • I simply intend to advise you that I am new to writing a blog and extremely loved your review. Most likely I am prone to save your blog post . You absolutely have lovely article information. Admire it for swapping with us your very own internet site post

  • I have been browsing online greater than 3 hours nowadays, yet I by no means found any fascinating article like yours. It is lovely worth enough for me. In my view, if all webmasters and bloggers made good content as you probably did, the net shall be much more useful than ever before.

  • It’s the best time to make some plans for the future and it’s time to be happy. I have read this post and if I could I want to suggest you few interesting things or tips. Perhaps you could write next articles referring to this article. I desire to read more things about it!

  • You made a few fine points there. I did a search on the subject matter and found a good number of persons will agree with your blog.

  • Thanks a lot for giving everyone an exceptionally spectacular possiblity to read in detail from this web site. It is often so enjoyable and jam-packed with fun for me and my office colleagues to search your website minimum 3 times in 7 days to study the fresh tips you have got. Of course, I’m so actually contented with the superb creative ideas you give. Selected 4 facts in this post are basically the most beneficial we have ever had.

  • Great work! That is the type of information that should be shared around the web. Shame on Google for no longer positioning this post upper! Come on over and talk over with my website . Thank you =)

  • Hi there! I’m at work browsing your blog from my new iphone 3gs! Just wanted to say I love reading your blog and look forward to all your posts! Carry on the great work!

  • Greetings! Quick question that’s entirely off topic. Do you know how to make your site mobile friendly? My site looks weird when browsing from my apple iphone. I’m trying to find a theme or plugin that might be able to correct this issue. If you have any recommendations, please share. Appreciate it!

  • Hiya very cool blog!! Guy .. Excellent .. Wonderful .. I’ll bookmark your site and take the feeds additionally…I’m glad to find a lot of useful info right here within the publish, we need work out extra techniques in this regard, thank you for sharing.

  • I just wish to inform you that I am new to blogging and utterly liked your webpage. Quite possibly I am probably to remember your blog post . You seriously have outstanding article information. Love it for sharing with us the best url page

  • I like what you guys are up also. Such intelligent work and reporting! Carry on the superb works guys I have incorporated you guys to my blogroll. I think it’ll improve the value of my web site :).

  • What i do not realize is in reality how you’re not actually much more well-preferred than you may be right now. You’re very intelligent. You recognize therefore significantly in the case of this matter, produced me individually believe it from so many various angles. Its like women and men are not involved except it is something to do with Woman gaga! Your individual stuffs outstanding. All the time deal with it up!

  • We’re a group of volunteers and starting a new scheme in our community. Your web site offered us with valuable information to work on. You’ve done a formidable job and our entire community will be grateful to you.

  • It really is almost unattainable to encounter well-advised men or women on this issue, regrettably you come across as like you know what you’re indicating! Cheers

  • Very great post. I simply stumbled upon your weblog and wished to say that I have truly enjoyed surfing around your weblog posts. After all I’ll be subscribing on your rss feed and I am hoping you write once more very soon!

  • Very interesting subject , regards for posting . “Not by age but by capacity is wisdom acquired.” by Titus Maccius Plautus.

  • excellent post, very informative. I wonder why the other experts of this sector do not notice this. You should continue your writing. I am sure, you have a huge readers’ base already!

  • Hi folks here, just turned out to be aware about your weblog through yahoo, and found that it’s pretty good. I’ll like in the event you continue on this approach.

  • Wow! This could be one particular of the most useful blogs We’ve ever arrive across on this subject. Basically Magnificent. I am also a specialist in this topic so I can understand your hard work.

  • I’m really loving the theme/design of your site. Do you ever run into any web browser compatibility problems? A number of my blog audience have complained about my site not operating correctly in Explorer but looks great in Chrome. Do you have any recommendations to help fix this issue?

  • One other thing I would like to express is that in lieu of trying to match all your online degree training on days of the week that you finish off work (since the majority of people are exhausted when they return home), try to find most of your instructional classes on the saturdays and sundays and only a couple courses for weekdays, even if it means taking some time off your saturdays. This is really good because on the week-ends, you will be far more rested and concentrated upon school work. Thx for the different ideas I have realized from your blog site.

  • I have not checked in here for a while as I thought it was getting boring, but the last few posts are great quality so I guess I’ll add you back to my everyday bloglist. You deserve it my friend 🙂

  • One thing I want to comment on is that weightloss system fast can be achieved by the appropriate diet and exercise. A person’s size not only affects the look, but also the overall quality of life. Self-esteem, despression symptoms, health risks, in addition to physical capabilities are impacted in putting on weight. It is possible to make everything right and still gain. In such a circumstance, a condition may be the reason. While excessive food instead of enough exercising are usually the culprit, common health concerns and widespread prescriptions can certainly greatly amplify size. Many thanks for your post in this article.

  • Hi, Neat post. There is an issue together with your website in web explorer, may test this… IE still is the marketplace chief and a big component of other people will pass over your fantastic writing because of this problem.

  • I’m no longer positive the place you’re getting your info, but great topic. I must spend a while learning much more or working out more. Thanks for great information I used to be looking for this information for my mission.

  • Thanks for making me to achieve new concepts about personal computers. I also have belief that certain of the best ways to help keep your laptop computer in best condition has been a hard plastic-type case, or even shell, that suits over the top of your computer. These types of protective gear tend to be model specific since they are made to fit perfectly on the natural outer shell. You can buy these directly from the owner, or through third party sources if they are available for your mobile computer, however don’t assume all laptop could have a spend on the market. Yet again, thanks for your points.

发表评论

电子邮件地址不会被公开。 必填项已用*标注