Android studio 編譯失敗Error:Could not read entry ':app:processDebugManifest' from cache taskArtifacts.b

來源:互聯網
上載者:User

標籤:dir   time   技術   進入   error   mil   12px   constant   err   

Android studio 編譯失敗 Error:Could not read entry ‘:app:processDebugManifest‘ from cache taskArtifacts.bin

升級了Android studio 2.0 版本號碼後 編譯之前的項目失敗 出現了以下提示:

watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQv/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/Center" />


Error:Could not read entry ‘:app:processDebugManifest‘ from cache taskArtifacts.bin (/Users/xxx/xxx/.gradle/2.10/taskArtifacts/taskArtifacts.bin).> enum constant INSTANT_RUN_REPLACEMENT does not exist in class com.android.manifmerger.ManifestMerger2$Invoker$Feature



解決的方法:
進入到當前project檔案夾下  ,  刪除檔案夾下的檔案:  
 /.gradle  /  dir (gradle 版本號碼號)  / taskArtifacts.bin 

刪除後重新啟動 Android studio 就可以
亦或者  刪除檔案夾  /.gradle  /  dir   以下全部檔案      刪除後rebuild 項目
參考資料:
http://stackoverflow.com/questions/34868876/android-studio-compile-error-enum-constant-instant-run-replacement-does-not-ex

//  ┏┓   ┏┓//┏┛┻━━━┛┻┓//┃       ┃//┃   ━   ┃//┃ ┳┛ ┗┳ ┃//┃       ┃//┃   ┻   ┃//┃       ┃//┗━┓   ┏━┛//   ┃   ┃   神獸保佑//   ┃   ┃   代碼無BUG!//   ┃   ┗━━━┓//   ┃       ┣┓//   ┃       ┏┛//   ┗┓┓┏━┳┓┏┛//     ┃┫┫ ┃┫┫//     ┗┻┛ ┗┻┛

解決掉問題後  我想起那天夕陽下的奔跑  那是神獸的青春  \(≧▽≦)/~啦啦啦

Android studio 編譯失敗Error:Could not read entry ':app:processDebugManifest' from cache taskArtifacts.b

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.