从头再来

Android 逆向

APKTool反编译后再打包出错(Error retrieving parent for item: No resource found that matches the given name '@*android:style/Theme.Light')  


 看出错情形,是styles.xml出错了,因为是自己写的,所以打开原始的XML与反编译后的XML一对比,发现反编译后的XML里<resources>/<style>parent属性出错了,由原本的android:Theme.xxx变成了@*android:style/Theme.xxx,前面多出来@*,中间多出来style/,原因找到就好办了,将这些XML改正确,再打包,成了!

http://dreamisx.blog.163.com/blog/static/1150048392012112024649308/


另外还有一些@*的不能改。 

如果报lib png 的错。直接打开画图程序一个个重新覆盖一下就行了。 这个是体力活。

posted on 2014-04-06 22:08 易宝@byhh 阅读(158) 评论(0)  编辑 收藏 引用


只有注册用户登录后才能发表评论。
网站导航: 博客园   IT新闻   BlogJava   知识库   博问   管理