This problem sometimes occurs when opening Android files written by others:
Caused by: org.gradle.api.internal.plugins.PluginApplicationException: Failed to apply plugin [id 'com.android.internal.application']
The solution is as follows:
1. In Project view mode, select gradle.properties file.
2. On the last line (or any line in the file), enter the following code.
android.overridePathCheck=true
This line of code means “overlay path checking”.
3. Then click ‘Sync Now’ in the upper right corner and wait a few seconds to solve the problem.
Read More:
- [Solved] Failed to apply plugin ‘com.android.internal.application‘.
- [Solved] Failed to apply plugin appears when Android studio imports a project
- Springboot package error: failed to execute goal org.apache.maven.plugins:maven-resources-plugin: 3.2.0…
- [Solved] presto Compile Error: Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:3.0.0:check
- Android Error:Internal error:org.gradle.tooling.BuildException: Could not execute build…
- Android studio New kotlin project Error: org.jetbrains.kotlin:kotlin-gradle-plugin:1.5.21-release-315
- [Solved] Gradle NullPointerException at com.android.build.gradle.internal.ndk.NdkHandler.getPlatformVersion
- How to Solve Gradle Error: Plugin with id ‘jetty’ not found.
- [Solved] scala Error: Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.6.0:exe
- Android studio version 3.0 import version 2.2.2 error Error:This Gradle plugin requires Studio 3.0 minimum
- [Solved] PluginlibFactory: The plugin for class ‘rviz_imu_plugin/IMU‘ failed to load.
- Rtabmap Run Error: PluginlibFactory: The plugin for class ‘octomap_rviz_plugin/ColorOccupancyGrid‘ failed t
- [Solved] Caused by: java.lang.ClassNotFoundException: org.apache.flink.api.common.typeinfo.TypeInformation
- [Solved] java.lang.noclassdeffounderror when idea runs Flink: org/Apache/flick/API/common/executionconfig
- [Solved] Unity package Error: CommandInvokationFailure: Gradle build failed.
- [Solved] flink Write Files Error: lang.NoClassDefFoundError: org/apache/flink/api/common/typeinfo/TypeInformation
- SSH integration error: org.hibernate.hql.internal.ast.QuerySyntaxException: User is not mapped[……]
- [Solved] Android Studio Start Error: Missing essential plugin: org.jetbrains.android Please reinstall Android
- Android Studio: Gradle project sync failed [How to Solve]
- [Solved] Android Gradle Build Error: Some file crunching failed, see logs for details