Android: unable to allow character compilation

I added a new "Settings" activity using the "Add a new wizard" android studio. Right after that i get it

Error: (47) There was a problem evaluating the project ': AppName'. Could not find the compile property on org.gradle.api.interna l.artifacts.dsl.dependencies.DefaultDependencyHandler_Decorated@ 395e73e7.

And he says that he cannot allow compilation of the character.

Any ideas?

+6
source share
2 answers

Check out the file 'build.gradle'. It probably has formatting errors where "compilation" is used.

+10
source

In my case, in the build.gradle file, delete the file after compilation '', fix it. for example: - compile 'com.android.support:support-v4:23.1.1'

0
source

Source: https://habr.com/ru/post/971804/


All Articles