如何修改反编译的apk封装名称? [英] how can i modify package name of decompiled apk?

查看:345
本文介绍了如何修改反编译的apk封装名称?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经反编译一个VoIP呼叫与Apktool apk文件,我试图改变伊茨包的名字...但我得到错误,不幸的是应用stopped` ...

I have decompiled a voip calling apk file with Apktool and i tried to change itz package name... But i getting error that unfortunately app stopped`...

我做了什么是搜索所有文件(根目录)里面的包名和用记事本+ +更换新包装的名称每次发生...

What i did that search the package name inside the all files (root dir)and replace every occurrence with new package name by with notepad ++...

下面的问题是采用以相同的包名称传达他们的服务器,因此它会导致错误的应用程序不幸的是采空!

Here problem is that app using to communicate their server by with same as package name so it would cause error " unfortunately stoped!!! "

我怎么能只替换包名,而不影响有相同的包名等名称
任何可用的应用程序。对于包重命名?
在此先感谢

How can i replace only that package name without effecting other name that have same package name Any app available. for package renaming? Thanks in advance

推荐答案

应用程序的包名有无关,与任何类的名字,它只是在清单中的条目。它通常是在相同的应用程序包中的一个的名称,但它并不必须如此。不要做一个全局搜索和替换(可以胡来),只需在清单编辑软件包名称。需要注意的是活动的,接收器和服务名称常常在清单相对于应用程序包名称中指定。如果是这样的话(他们开始以一个点),你必须将其更改为绝对类名称为好。

The package name of an app has nothing to do with any class names, it's just an entry in the manifest. It's usually the same as the name of one of the packages in the application but it doesn't have to be. Don't do a global search and replace (which may mess things up), just edit the package name in the manifest. Note that activity, receiver, and service names are often specified in the manifest relative to the app package name. If this is the case (they start with a dot), you'll have to change them to absolute class names as well.

如果一个应用程序得到一个突然停止的错误,看logcat的输出看是什么错误。有无数的理由应用程序可能会崩溃,因此不可能根据您所提供的描述来猜测。

If an application gets a "suddenly stopped" error, look at the Logcat output to see what the error was. There's countless reasons an application can crash so it's impossible to guess based on the description you gave.

这篇关于如何修改反编译的apk封装名称?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆