Android Studio Compilation failed Error:could not read entry & #39;:app:processdebugmanifest& #39; From Cache taskartifacts.b

Source: Internet
Author: User

Android Studio Compilation failed error:could not read entry ': App:processdebugmanifest ' from cache taskartifacts. bin

after upgrading the Android Studio 2.0 version number before compiling the project failed, the following prompt appears:

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



The workaround:
go to the current project folder,to delete a file under a folder:
/.gradle  /  dir (gradle version number)  

after removal, restart Android studio to
or delete the folder/.gradle/dir all the following filesrebuild items after deletion
References :
Http://stackoverflow.com/questions/34868876/android-studio-compile-error-enum-constant-instant-run-replacement-does-not-ex

  ┏┓┏┓//┏┛┻━━━┛┻┓//┃┃//┃━┃//┃┳┛┗┳┃//┃┃//┃┻┃//┃┃//┗━┓┏━┛//   ┃┃   god of animal protection Woo//   ┃┃   Code no bug!   ┃┗━━━┓//   ┃┣┓//   ┃┏┛//   ┗┓┓┏━┳┓┏┛//     ┃┫┫┃┫┫//     ┗┻┛┗┻┛

after solving the problem, I think of the day of the sunset run that is the youth of the Beast of God \ (≧▽≦)/~

Android Studio Compilation failed Error:could not read entry & #39;:app:processdebugmanifest& #39; From Cache taskartifacts.b

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

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.