Shashank Parikh
Shashank Parikh

Reputation: 51

Error:Execution failed for task ':app:packageDebug' for gradle version 3.5.2

Expected file collection to contain exactly one file, however, it contains more than one file.

Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0. Use '--warning-mode all' to show the individual deprecation warnings.

Upvotes: 0

Views: 711

Answers (1)

Pranav Choudhary
Pranav Choudhary

Reputation: 2806

1)Clean and Rebuild project should work. It works for me

2)Try: invalidate caches/Restart

Upvotes: 1

Related Questions