Reputation: 23
I seem to always be getting the error: "content not allowed in prolog", even when using the built-in android studio apps. Not sure what is happening. Please help! Using Android Studio 4.0 and android gradle plugin version 4.0.0 and gradle version 6.1.1 according to my project structure if that helps.
Upvotes: 1
Views: 55
Reputation: 106
Try this:
Close android studio.
Delete all the contents of below directories.
C:\Users\USER_NAME\.android\build-cache
C:\Users\USER_NAME\.android\cache
C:\Users\USER_NAME\.gradle\caches
Start Android Studio.
Upvotes: 1