An error occurred while setting dependencies:

Error: Execution failed for task ': blocklylib-core: processDebugResources'. Error: more than one library with package name 'com.google.blockly.android'

Help me correct the error, I do not understand what's the matter.

apply plugin: 'com.android.application' android { compileSdkVersion 25 buildToolsVersion "25.0.3" defaultConfig { applicationId "com.example.mylti" minSdkVersion 17 targetSdkVersion 25 versionCode 1 versionName "1.0" testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } } } dependencies { compile fileTree(include: ['*.jar'], dir: 'libs') androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', { exclude group: 'com.android.support', module: 'support-annotations' }) compile 'com.android.support:appcompat-v7:25.3.1' testCompile 'junit:junit:4.12' debugCompile project(':blocklylib-core-debug') releaseCompile project(':blocklylib-core-release') } 
  • No screenshots - you need an assembly script with text. - Yuriy SPb
  • @ YuriySPb added assembly text (did you mean it)? - FStasi
  • Yes, it is) You have (probably already understandable) two times connected with the same package. We must assume that the debugCompile project(':blocklylib-core-debug') releaseCompile project(':blocklylib-core-release') did not work. Try build-clean done. If it does not help, give a link to the lib (if it is not yours) or something from the lib itself that is responsible for the release / debugging build - YuriySPb
  • @Yuriy SPb I did according to the instructions, these are not my libraries, here is the link developers.google.com/blockly/guides/get-started/android I would be very glad if you help me to understand, maybe I’m doing something wrong - FStasi
  • Try this: debugCompile project(path: ':blocklylib-core-debug', configuration: "debug") releaseCompile project(path: ':blocklylib-core-release', configuration: "release") - JuriySPb

0