[英]Where do I find Androidmanifest.xml on my device?
I'm trying to modify the Androidmanifest.xml
for the browser on my device so that I can execute an app by loading a URI
in the browser.我正在尝试修改设备上浏览器的
Androidmanifest.xml
,以便我可以通过在浏览器中加载URI
来执行应用程序。
I've been running around the file system in ADB SHELL
all day, but can't seem to find it.我整天都在
ADB SHELL
中的文件系统周围跑来跑去,但似乎找不到它。 Plus there is no FIND
, nor LOCATE
command on the system.另外,系统上没有
FIND
和LOCATE
命令。
You can theoretically find the Androidmanifest.xml file in the APK.理论上可以在APK中找到Androidmanifest.xml文件。
Every APK contains the compiled source code of the application.每个 APK 都包含应用程序的编译源代码。 There is no useable decompiler for APKs at the moment so it is not possible to change the content of one.
目前没有可用的 APK 反编译器,因此无法更改其中的内容。
In addition to the compiled code and the other resources of the application, an APK also contains a signature from the developer, which will become invalid when the content is changed to verify the source of an APK.除了编译后的代码和应用程序的其他资源外,APK还包含开发者的签名,当内容被更改以验证APK的来源时,该签名将失效。 An Android system won't install an APK with an invalid signature, so even if you could change the content of the APK, you still couldn't use it.
Android 系统不会安装签名无效的 APK,因此即使您可以更改 APK 的内容,您仍然无法使用它。
The conclusion: You cannot do what you are trying to do.结论:你不能做你想做的事。
Windows 10/11 上的 Android Studio,它位于:app/src/main。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.