Could not determine the class-path for interface com.android.builder.model.NativeAndroidProjec

来源:互联网 发布:行星齿轮设计软件 编辑:程序博客网 时间:2024/04/27 18:55

1. 问题描述:

在android studio导入新的项目时,出现如下问题:

“Error:Could not determine the class-path for interface com.android.builder.model.NativeAndroidProjec"


2. 解决方法:

在library项目上,右键,选择"open module settings" ->出现"project Structure"对话框 -> 选中"project"->修改右边的"Gradle Version“为当前使用的gradle版本。

例如,原来是1.0,为现在用的3.3.
问题解决。

阅读全文
1 0
原创粉丝点击