At startup, an error occurs

: app: mergeDebugResources FAILED

here is her explanation

Error: Execution failed for task ': app: mergeDebugResources'. java.lang.ArrayIndexOutOfBoundsException (no error message)

it looks like guild.gradle

apply plugin: 'com.android.application' android { signingConfigs { config { keyAlias 'Shvedcom' keyPassword 'gfgefc' storeFile file('D:/IT/Android/Store_key/Shvedcom.jks') storePassword 'gfgefc' } } compileSdkVersion 23 buildToolsVersion "23.0.3" defaultConfig { applicationId "com.shved.happycalendar" minSdkVersion 17 targetSdkVersion 23 versionCode 1 versionName "1.0" } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' signingConfig signingConfigs.config } debug { signingConfig signingConfigs.config } } } dependencies { compile fileTree(include: ['*.jar'], dir: 'libs') testCompile 'junit:junit:4.12' compile 'com.android.support:appcompat-v7:23.4.0' compile 'com.android.support:design:23.4.0' compile 'tyrantgit:explosionfield:1.0.1' compile 'net.frakbot:jumpingbeans:1.3.0' } 
  • In vain did you put your key in open access - YuriySPb

1 answer 1

Your array is somewhere overflowing. This error can also occur if the path to the project files exceeds 255 characters. Make sure your project path is not too long; use short names. This can also happen when changing the project's XML files. Try running the Build > Rebuild Project command.