Quantcast
Channel: JetBrains Developer Community : Thread List - IntelliJ IDEA Users
Viewing all articles
Browse latest Browse all 5661

Android Support Libraries

$
0
0

I am new to IntelliJ. I have spent the last few of my nights learning about it.

 

Currently I am looking for the correct way of setting up the Android support libraries:

https://developer.android.com/tools/support-library/setup.html

v4 and v7

 

I found this youtube video: https://www.youtube.com/watch?v=XyaZEphsz44

I do not like the way he does things, via moving folders around. It seems to me that one can just do all of this via the IntelliJ interface..

 

http://blog.jetbrains.com/idea/2010/09/android-library-projects-support/

http://stackoverflow.com/questions/18025942/how-do-i-add-a-library-android-support-v7-appcompat-in-intellij-idea

 

 

The following is the step-by-step procedure I have performed to duplicate what I found on the Android site. I would like to know if it is the most 'correct' way?

 

1. New Project-> Android->Library Module->Next

2. Project Name: appcompat   -> Finish

3. Right click appcompat->Open Module Settings

4. Under Project Settings select Libraries

5. + sign to add a library and select Java

6. Navigate to android-sdk/extras/android/support/v7/appcompat/libs and add android-support-v7-appcompat.jar

7. Navigate to the same directory and add android-support-v4.

8. Modules->appcompat->Dependencies both of the jars I added show up as dependencies.

 

Is this support library/module properly set up now?

If I wanted to use this library/module in a normal Android project, do I import what I did as a module?

or in the project settings of the Android project I want to create, do I add what I created above as a library?

 

So is that the correct way of creating a v4/v7 support 'module?' or library?

I think I am now confused on what intelliJ considers a library vs a module.

 

How would I get the support libraries auto-added to every Android application?

 

IntelliJ Community Edition 13.1.2

Java 1.7.0_40

Android 19

Windows 7 Pro


Viewing all articles
Browse latest Browse all 5661

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>