The questions are as follows
Solution: add the following code to app: build. Gradle in the project structure
apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-android-extensions'
Then click sync now to reload
Read More:
- [Solved] Ktolin Android Project Compile Error: w: Runtime JAR files in the classpath should have the same version. These file
- Failed to find target with hash string ‘android-25’ in:D:\SDK
- Errorjava.lang.NullPointerException(no error message)
- Android Studio Error: Invoke-customs are only supported starting with Android O (–min-api 26)
- How to Fix Android Error:This Gradle plugin requires Studio 3.0 minimum
- The binary version of its metadata is 1.5.1, expected version is 1.1.16
- Change API level Android studio
- Android Studio sync build.gradle appears: Failed to resolve: com.android.support:appcompat problem
- AAPT: error: resource android:attr/colorError not found.
- Android studio import project problems summary
- Gradle sync failed: Sync failed: reason unknown
- AS3.5 Error gradle project sync failed.Basic functionality(e.g.editing,debugging) will not work
- [problem record] installed build tools revision 31.0.0 is broken during Android studio compilation
- Error: package android.support.annotation Does not exist
- Re installing Android studio always fails to install SDK when installing software (solution)
- As Error:Could not determine the class-path for interface com.android.builder.model.AndroidProject.
- android studio Error Gradle project sync failed. Please fix your project and try again
- Gradle tasks disappeared after upgrading Android stuido 4.2?
- Execution failed for task ‘:app:processDebugManifest’