Trying to add external library jars to my project, but imports still don't work. Tutorials keep telling me to click "Add as library", but I don't have that option:
But I did add them through Module Settings...
I also added the 2 .jar files to: /src/main/libs/ and added this to build.gradle inside 'app'.
compile fileTree(include: ['*.jar'], dir: 'libs')
--> compile files('src/main/libs/jsonbeans-0.5.jar')
--> compile files('src/main/libs/kryo-2.23.1-SNAPSHOT-all-debug.jar')
libs folder should be a subfolder of
app. Instead you have it buried in
app/src/main. Note that you already have a dependency for the
libs folder if you put it in the correct place.
When you use a file manager or the command line to move files to your Android Studio project, you sometimes need to synchronize the folder structure by right clicking in the Project pane and clicking Synchronize in the popup menu.