
是否可以从Android IDE中的应用程序恢复已删除的XML文件?
不幸的是我从我的应用中删除了重要文件
解决方法:
对于Eclipse:
To restore a deleted Workbench resource with a state from the local
In one of the navigation vIEws, select the folder or project into
history:
which you want to restore a local history stateFrom the resource’s
pop-up menu, select Restore from Local History…. The Restore From
Local History dialog opens showing all files that were prevIoUsly
contained in the selected folder or project and all of their
sub-folders.Check the files that you want to restoreIf you don’t
want to restore just the last state of a file you can select any other
state of the file from the Local History List on the right hand sIDe
of the dialog. The bottom pane of the dialog shows the contents of the
state.If you are done with all files click Restore.
(Source)
对于AndroID Studio / IntelliJ / AppCode:
Go to the Project tool window and right-click the project node or just a folder, where the file used to existOn the context menu, choose Local History, and click Show History on the submenuThe local history vIEw for a project or folder shows you everything that you have done during the last few days. In the Action column of the lower part of the dialog Box, select the action you want to roll back. In our case, this is the Deleting action. So doing, the upper part of the dialog Box shows the tree vIEw of changed files.If you want to restore the deleted file only, regardless of the other changes that have been done since then, you can select the file Lost.txt in the tree vIEw and click the Revert button on the upper toolbar. The file will be restored silently.
(Source)
总结以上是内存溢出为你收集整理的从android中的应用程序恢复已删除的Xml文件全部内容,希望文章能够帮你解决从android中的应用程序恢复已删除的Xml文件所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
微信扫一扫
支付宝扫一扫
评论列表(0条)