AS报错:lambda expressions are not supported at this language level
- Solution
- Open Open File -> Project Stucture select Modules (Chinese were, respectively: File -> project structure) shown in FIG.
- Select the corresponding items, such as pictures among app project, default Source Compatibility and Target Compatibility are empty. Then modified as follows:
1) Source Compatibility choice 1.8;
2) Target Compatibility Select 1.8.
- Click Apply to.