Android Studio: Add jar as library?

后端 未结 30 2432
天命终不由人
天命终不由人 2020-11-21 05:54

I\'m trying to use the new Android Studio but I can\'t seem to get it working correctly.

I\'m using the Gson library to serialize/deserialize JSON-o

30条回答
  •  北恋
    北恋 (楼主)
    2020-11-21 06:58

    In the project right click

    -> new -> module
    -> import jar/AAR package
    -> import select the jar file to import
    -> click ok -> done
    

    Follow the screenshots below:

    1:

    2:

    3:

    You will see this:

提交回复
热议问题