如何将json.org库导入Android Studio

时间:2014-03-02 12:47:36

标签: android-studio

我已将json.org库导入Android Studio。我去File>项目结构,必须有enter image description here

但我有enter image description here

1 个答案:

答案 0 :(得分:2)

在使用ANDROID studio时需要将jar文件作为模块导入。只需将库放在项目文件夹中的任何位置,然后将项目的引用添加为jar文件。

1. Hit f4 in android studio and open your project structure.

2. By clicking on "module pane" select your "project"

3. Once that is done click on the dependencies tab

4. Click the green + sign and navigate to where you put your parse jar file.

5. Once located you click apply and ok

6. Happy Parse