App反编译二次打包常见问题处理

1、二次打包时报错:Error retrieving parent for item: No resource found that matches the given name

如:

D:\用户目录\Desktop\APP反编译\Android反编译工具包(最新版)\apk2java\apktool1.4.
1\HJ7\res\values\styles.xml:11: error: Error retrieving parent for item: No reso
urce found that matches the given name '@*android:style/Theme.Black.NoTitleBar.F
ullscreen'.
找到xml文件删除@*.

2、APP反编译后如何修改原来的包名,再进行二次打包呢?


主要有两个目录下的文件内容需要修改:

1、res资源目录下面,相关涉及到的xml

2、smali目录下所有.smali文件涉及到包名称

3、AndroidManifest.xml文件上的包名

主要通过eclipse搜索替换.


你可能感兴趣的:(App反编译二次打包常见问题处理)