【发布时间】:2017-04-29 15:11:33
【问题描述】:
使用我找到的 Android Studio 导入方法时出现此错误。
https://github.com/MagicMicky/FreemiumLibrary/wiki/Import-the-library-in-Android-Studio
我使用的导入方法在上面的链接中。
This is the error message (Click Here)
settings.gradle中是这样的
include ':app',':lib:json-simple-master'
这就是我编辑 build.gradle 的方式
dependencies {
classpath 'com.android.tools.build:gradle:2.2.3'
compile project(':lib:json-simple-master')
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
这就是我尝试导入文件的方式
import org.json.simple.*;
【问题讨论】:
-
好像你没看过
NOTE: Do not place your application dependencies here
标签: java android json android-studio