android - Using volley the right way within eclipse -


i'm working eclipse mars on ubuntu 15.04.

i'm trying tutorial volley (https://developer.android.com/training/volley/simple.html) i'm facing difficulties. explained in tutorial, i've cloned volley repository, created android projet it, marqued library. can see ./src/main/bin/volley.jar generated, @ point good.

next, created application project , in projet>properties>android i've added volley library.

if understand tutorial , other answers similar questions i've read, correct way go.

anyway, in code if try "import com.android.volley;" same "the import com.android.volley cannot resolved".

the way can make work adding source code of volley project directly. obviouly not solution.

can please tell me i'm doing wrong ?

regards

edit1:

thank comments appears me information little bit out of date. if refer git history, volley switched gradle maven 8 months ago, not build ant. way, said in question, project building within eclipse have volley.jar. try suggested: copie volley.jar libs folder on project. i'm surprised not work :/ looking closely jar file i'm surprised weighs 166 bytes!

referring https://developer.android.com/tools/projects/projects-eclipse.html:

creating manifest file: library project's manifest file must declare of shared components includes, standard android application

and

declaring library components in manifest file: in manifest file of application project, must add declarations of components application use imported library project. example, must declare <activity>, <service>, <receiver>, <provider>, , on, <permission>, <uses-library>, , similar elements.

declarations should reference library components fully-qualified package names, appropriate.

may happen default manifest file volley incorrect , not "export" makes jar file being small?
mean have put in both manifests (the 1 volley , 1 of app) import did in code?


Comments

Popular posts from this blog

searchKeyword not working in AngularJS filter -

sequelize.js - Sequelize: sort by enum cases -

user interface - how to replace an ongoing process of image capture from another process call over the same ImageLabel in python's GUI TKinter -