Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在 android studio 中导入示例项目时,由于访问被拒绝而出现此错误
即使我点击:修复 Gradle 包装器并重新导入项目
您可以在 PC 的此目录中找到此项目:~\SDK\samples\android-23\admin\AppRestrictionEnforcer
我解决它。谢谢你们所有人。我将以下文件编辑为:
build.gradle(应用程序)为:
dependencies { classpath 'com.android.tools.build:gradle:2.1.2' }
gradle-wrapper.properties 为:
distributionUrl=https\://services.gradle.org/distributions/gradle-2.10-all.zip