add this line in android{} block of build.gradle file:
compileOptions.encoding = “GBK”
Similar Posts:
- Could not find com.android.tools.build:gradle:3.3.0.
- Android Project Error: Invoke-customs are only supported starting with Android O (–min-api 26)
- Error:(1, 0) Plugin with id ‘android’ not found.
- [Solved] Android Studio Error: Could not initialize class com.android.sdklib.repository.AndroidSdkHandler
- [Solved] Android Studio Error: Could not initialize class com.android.sdklib.repository.AndroidSdkHandler
- Plugin is too old, please update to a more recent
- Android ERROR: This version of Android Studio cannot open this project, please retry with Android Studio 3.6 or newer.
- Caused by: org.gradle.api.internal.plugins.PluginApplicationException: Failed to apply plugin [id ‘com.android.internal.application’]
- [Solved] Ionic3 Package Error: Could not resolve all files for configuration ‘:classpath’.
- Ionic build android, Error: spawn EACCES [How to Solve]