日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 运维知识 > Android >内容正文

Android

android studio撤销按钮,Android Studio无法撤消(Android Studio Can't Undo)

發布時間:2025/4/16 Android 25 豆豆
生活随笔 收集整理的這篇文章主要介紹了 android studio撤销按钮,Android Studio无法撤消(Android Studio Can't Undo) 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

Android Studio無法撤消(Android Studio Can't Undo)

有時候當我嘗試撤銷Android Studio中的更改時,我得到以下結果:

無法撤消

受此操作影響的文件已被更改。

這很好,但我不關心受影響的文件。 我只關心當前文件。 我將在稍后處理這些文件。 有沒有辦法強制Android Studio撤消當前文件中的文本更改,而不用擔心其他文件中的內容? 這是開發者認為他們比用戶更了解的情況之一。 讓我害怕使用撤銷按鈕tbh。

Some times when I try to undo changes in Android Studio I get this:

Can't Undo

Following files affected by this action have already been changed.

That's nice but I don't care about the files affected. I only care about the current file. I will deal with those files later. Is there a way to force Android Studio to undo my textual changes in the current file and worry less about what's in other files? This is one of those situations when devs think they know better than the user. Makes me scared of using that undo button tbh.

原文:https://stackoverflow.com/questions/41090536

更新時間:2019-10-30 12:10

最滿意答案

原因是

你首先做了一些行動(A),它影響了一些文件,包括一些叫做F的文件。

然后你做了一些改變,這些改變影響了另一組文件,包括前一組但不是F的一些文件。

現在你去文件F&嘗試撤消。 F的動作堆棧頂部的動作(最后一個)是A.但是當你請求它恢復時,它必須恢復所有其他文件,因為你正在恢復動作而不僅僅是文本。 但是由于某些其他文件已經因后續操作而發生了變化,因此您的請求無法繞過它們。 所以你正在收到消息。

無法撤消

受此操作影響的文件已被更改。

所以你只需要將你的修改本地恢復到F(或某個文件夾)。 為此,你有一個稱為本地歷史的工具。

您可以轉到您的文件,然后轉到VCS - > 本地歷史記錄 - > 顯示歷史記錄 。 或右鍵單擊您的文件或文件夾 - > 本地歷史記錄 - > 顯示歷史記錄 。

您可以看到您的多個修訂歷史記錄并恢復您想要的任何人。 :))

The reason for this is

You have first done some action(A) which has affected some set of files including some file called F.

Then you have done some changes which has affected another set of files which including some files on previous set but not F.

Now you go to file F & try to undo. The action(last) on the top of the action stack for F is A. But when you request it to revert back, it has to revert back with all the other files because you are reverting the action not just text. But since some set of other files has over changed with your later actions, your request cannot bypass them. So you are getting message.

Can't Undo

Following files affected by this action have already been changed.

So you want only to revert your changes locally to F(or some folder). For that purpose you have a tool called Local History.

You can go to your file and then VCS -> Local History -> Show History. Or Right click your file or folder -> Local History -> Show History.

You can see your multiple revision histories and restore anyone you want. :))

2016-12-12

相關問答

我修好了它, 由于錯誤的“sdk路徑位置”,這是我的模擬器的adb問題, 我不得不從注冊表編輯器中更改它, 解決方案如下: https://msdn.microsoft.com/en-us/library/mt228282.aspx#ADB 1-Open Registry Editor by selecting Run from the Start buttons context menu, typing regedit in the dialog box, and choosing OK. 2-

...

您的問題中發布的第二張圖片顯示了工具欄和導航欄,為了使這些可見,請使用以下菜單項: View > Toolbar View > Navigation Bar The second image posted in your question shows the toolbar and the navigation bar, in order to make these visible use the following menu items: View > Toolbar View > Naviga

...

Android Studio和Visual Studio可以安全地共享相同的Android SDK嗎? 答案是肯定的,我已經做了很長時間了,它運行正常。 在Visual Studio中,Xamarin Android SDK的默認位置是: C:\Program Files (x86)\Android\android-sdk

C:\ProgramData\Microsoft\AndroidNDK64

在Android Studio中,SDK默認位置為: C:\Users\username\App

...

在主要活動中,像這樣: public class MainActivity extends AppCompatActivity implements CameraBridgeViewBase.CvCameraViewListener2{

static {

if(!OpenCVLoader.initDebug())

Log.d(sLog, "OpenCv load fail!");

else

Log.d(sLo

...

我剛發現行mainCanvas.drawPath(currentPath, currentpathPaint); 在兩種case MotionEvent.ACTION_UP:和case MotionEvent.ACTION_MOVE:不應該在那里。 它似乎重繪了位圖的路徑并在畫布上。 不確定我說的是正確的android術語。 I just found out that the line mainCanvas.drawPath(currentPath, currentpathPaint); at b

...

事實證明,精彩的CTRL + Z做到了這一點。 這是你最新的事情,所以如果你在此之后做了什么,我不保證這會有效。 It turns out the wonderful CTRL+Z did the trick. This UNDOs your latest thing you did, so if you did anything after this I won't guarantee this will work.

最新版本的Android Studio無法與Glass配合使用。 修復:使用工作版本1.2.1.1( http://tools.android.com/download/studio/canary/1-2-1-1 )。 為我工作。 The latest release of Android Studio does not work with Glass. Fix: Use the working version 1.2.1.1 (http://tools.android.com/download/

...

在文件資源管理器中轉到項目位置,并確保從應用程序的模塊中刪除build文件夾。 例如: my_project/app/build/ 然后,返回到您的項目并找到values.xml ,立即刪除這些行并重建它。 當您單擊錯誤并對其進行編輯時,您可能正在編輯生成的生成文件 Go to you project location in File Explorer and make sure to delete the build folder from your app's module. For exam

...

相應于此線程,您可以嘗試更改Registry | undo.documentUndoLimit Registry | undo.documentUndoLimit值,但這可能會導致未來的麻煩,至少在內存溢出( stackowerflow :))時。 編輯它: 按Ctrl + Shift + A鍵入注冊表 找到undo.documentUndoLimit項目并設置你想要的值(默認為100) Accordingly to this thread you can try to change Regist

...

原因是 你首先做了一些行動(A),它影響了一些文件,包括一些叫做F的文件。 然后你做了一些改變,這些改變影響了另一組文件,包括前一組但不是F的一些文件。 現在你去文件F&嘗試撤消。 F的動作堆棧頂部的動作(最后一個)是A.但是當你請求它恢復時,它必須恢復所有其他文件,因為你正在恢復動作而不僅僅是文本。 但是由于某些其他文件已經因后續操作而發生了變化,因此您的請求無法繞過它們。 所以你正在收到消息。 無法撤消 受此操作影響的文件已被更改。 所以你只需要將你的修改本地恢復到F(或某個文件夾)。 為此,

...

總結

以上是生活随笔為你收集整理的android studio撤销按钮,Android Studio无法撤消(Android Studio Can't Undo)的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。

主站蜘蛛池模板: 免费观看污视频 | 国产妻精品一区二区在线 | 四虎视频国产精品免费入口 | 国产av电影一区二区三区 | 天天插天天操天天干 | 午夜播放 | 少妇15p| 综合亚洲视频 | 尤物在线观看视频 | 18成人在线观看 | 性生活免费网站 | 瑟瑟综合| 久久精品亚洲天堂 | 美女扒开尿口让男人捅爽 | 亚州欧美在线 | 2021天天干 | 亚洲色成人www永久在线观看 | 亚洲精品色午夜无码专区日韩 | 亚洲美女屁股眼交 | 婷婷久久五月 | 欧美精品韩国精品 | 给我看免费高清在线观看 | 国产精品成熟老女人 | 欧美成人一区二区三区片免费 | 69久久久 | 久久欧洲 | 在线看h网站 | 午夜在线一区二区三区 | 国产又粗又长又黄视频 | wwxx日本 | 黄色在线免费看 | 福利在线视频导航 | 日本精品视频一区二区三区 | 99干99| 国产不雅视频 | 91久久国产综合久久91 | 亚洲一区二区三区四区五区六区 | 久久人妻无码aⅴ毛片a片app | 一级黄色毛毛片 | av直接看 | 污视频在线观看网站 | 国产人人草 | 啪免费视频 | 国产一区二区三区黄片 | 在线免费观看高清视频 | 东北少妇不带套对白 | 新红楼梦2005锦江版高清在线观看 | 亚洲精品久久久中文字幕 | 可以免费看的黄色网址 | h片在线免费 | 熟妇人妻无码xxx视频 | 久久久精品一区二区 | 久草视频首页 | 五月网 | 国产成人精品一区二区无码呦 | 日本美女动态图 | 最新91视频 | 18成人免费观看视频 | 亚洲熟伦熟女新五十路熟妇 | 国产精品久久久久一区二区 | 国产专区第一页 | 日韩你懂的 | 久久8| 五月深爱 | 69视频国产 | 亚洲永久精品一区二区 | 久久黄色网络 | 国产精品三级久久久久久电影 | 97一区二区三区 | 韩国黄色精品 | 99网站| 精品国产xxx| 日韩精品一区二区三区中文字幕 | 少妇免费毛片久久久久久久久 | 色眯眯视频 | 久久午夜夜伦鲁鲁一区二区 | 在线观看av中文字幕 | 午夜成人在线视频 | 国产成人无码精品久久久久久 | 最新日韩av在线 | 国产精品四虎 | 五月婷婷爱爱 | 天天操综合网 | 无码人妻aⅴ一区二区三区有奶水 | 粉色午夜视频 | 男男上床视频 | 人人看人人舔 | 99色综合| 国产精品久久久久久久裸模 | 精品无码久久久久国产 | 高潮无码精品色欲av午夜福利 | 黄色一级免费视频 | 日本伦理中文字幕 | 午夜黄色av| 亚洲五码在线 | 黄色特级一级片 | 中文字幕在线视频免费播放 | 91中文字幕在线播放 | 全黄一级裸体 |