Error in open AppRestrictionEnforcer project in android studio

120 views Asked by At

While importing sample project in android studio, this error coming as Access is denied

Error while open project

even if i click on : Fix Gradle wrapper and re-import project enter image description here

You can find this project in this directory of your PC : ~\SDK\samples\android-23\admin\AppRestrictionEnforcer

1

There are 1 answers

1
Dharvik shah On BEST ANSWER

I solve it. thnx for all of u. I edit the following files as :

build.gradle (application) as :

dependencies {
        classpath 'com.android.tools.build:gradle:2.1.2'
    }

gradle-wrapper.properties as:

distributionUrl=https\://services.gradle.org/distributions/gradle-2.10-all.zip