简体   繁体   English

AndroidManifest.xml 在 Android Studio 上不可编辑

[英]AndroidManifest.xml not editable on Android Studio

在此处输入图像描述

I've been reversing an app, but came across a problem.我一直在反转一个应用程序,但遇到了一个问题。 The AndroidManifest.xml file is not writable. AndroidManifest.xml 文件不可写。 I made sure that the file is not 'read-only' in file explorer, but it still doesn't work.我确保该文件在文件资源管理器中不是“只读”文件,但它仍然不起作用。 And I can't find 'merged text tab(?)' sort of thing which is supposed to solve this.而且我找不到应该解决此问题的“合并文本选项卡(?)”之类的东西。

Hey there can be multiple ways you can try to solve this issue:嘿,您可以尝试多种方法来解决此问题:

  1. The simplest one is to Clean and Rebuild the project.最简单的一种是清理和重建项目。
  2. You can go to your File -> Invalidate Caches and Restart.您可以转到文件-> 使缓存无效并重新启动。
  3. Try running Android Studio in Administrator mode.尝试在管理员模式下运行 Android Studio。
  4. You can try this : https://stackoverflow.com/a/34705198/9062752你可以试试这个: https ://stackoverflow.com/a/34705198/9062752

Let me know if any of these fixed your error.让我知道这些是否解决了您的错误。

Also note : Not sure about this library but I read a comment which says ".jar files cannot be edited", so yeah if you are trying to edit a .jar file it is not possible (I am not sure of the reason though)另请注意:不确定这个库,但我读了一条评论,上面写着“.jar 文件无法编辑”,所以是的,如果您尝试编辑 .jar 文件,这是不可能的(虽然我不确定原因)

亲爱的,请检查您的清单文件,您可以在应用程序类中显示构建版本名称和构建版本代码请删除它并检查您的清单文件中的任何错误,然后您可以运行或重建您的项目。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 android studio中的AndroidManifest.xml编码错误 - AndroidManifest.xml encodin error in android studio AndroidManifest.xml 文件中 Android 工作室中未解决的包/类错误 - Unresolved package/class Error in Android studio in AndroidManifest.xml file Android Studio AndroidManifest.xml 与 build.gradle - Android Studio AndroidManifest.xml vs build.gradle 未创建Android SDK Eclipse AndroidManifest.xml - Android SDK Eclipse AndroidManifest.xml not created Android Studio:无法找到显式活动 class 但活动已在 AndroidManifest.xml 中声明 - Android Studio: Unable to find explicit activity class but activity already declared in AndroidManifest.xml 使用git时,Android Studio不会将AndroidManifest.xml识别为项目的一部分 - Android studio doesn't recognize AndroidManifest.xml as part of project when use git AndroidManifest.xml中的“属性缺少Android名称空间前缀” - “Attribute is missing the Android namespace prefix” in AndroidManifest.xml 具有默认值的Android项目的AndroidManifest.xml文件中的错误 - Error in AndroidManifest.xml File of an Android Project With Default Values 带有AndroidManifest.xml中的NFC清单标签的Android混淆 - Android-Confusion with NFC Manifest Tags in AndroidManifest.xml 由于 AndroidManifest.xml,Android 热插拔不起作用 - Android hot swap not working because of AndroidManifest.xml
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM