Вопрос

When I try to use libraries they all seem empty to me (when I try to import them I can only see 'empty' packages). I tried both: drag-drop libraries to \libs and importing them. I don't know what is causing this problem...

I'm trying to import androidplot libraries, I'm not finding this particular issue on their boards so maybe I'm doing something wrong?!

view on libraries

EDIT

file in libraries folder

Это было полезно?

Решение

You're importing the androidplot sources jar which wont work because its full of .java files instead of the expected .class files. Use the library jar instead.

Другие советы

You should put them in your "libs" folder below, among with the others such as "android-support-v4", not with the Android the dependencies.

depending on the ADT version that you use, you may want to start reading here

Note that lib usages is no longer simple process of copying jars to a folder and building. The library project may need to be in eclipse and build as 'library' then referred to as a dependency in the specific idiom mentioned above in link.

Follow the below steps .this might help you:

1-> Right Click on Your Project

2-> Click on Build Path

3-> Select Configure Build Path

4-> Select Add External JAR

5-> Locate Jar file in your System and add

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top