简体   繁体   English

在我的设备上哪里可以找到 Androidmanifest.xml?

[英]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.另外,系统上没有FINDLOCATE命令。

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.

相关问题 如何在AndroidManifest.xml中添加我的意图过滤器? - Where do I add my intent-filter in AndroidManifest.xml? 如何在Android设备中安装的应用程序的AndroidManifest.xml文件中获取权限? - How do I get permissions only in AndroidManifest.xml file for installed apps in android device? 如何解决我的 flutter 应用程序的 androidmanifest.xml 中的此 firebase 消息传递错误? - How do I resolve this firebase messaging error in the androidmanifest.xml of my flutter application? 我可以从手机访问androidmanifest.xml文件吗? - Can I access androidmanifest.xml file from my phone? 我需要在AndroidManifest.xml中为每个活动指定主题吗 - Do I need to specify the theme for each activity in the AndroidManifest.xml 如何在AndroidManifest.xml中参数化Activity - How do I parameterize an Activity from within AndroidManifest.xml AndroidManifest.xml中定义的徽标在哪里使用? - Where is the in AndroidManifest.xml defined logo used? AOSP中解析AndroidManifest.xml的代码在哪里? - Where in AOSP is the code to parse AndroidManifest.xml? build.gradle 和 AndroidManifest.xml 在哪里 - Where are build.gradle and AndroidManifest.xml Android Annotations找不到AndroidManifest.xml - Android Annotations could not find AndroidManifest.xml
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM