I have figured out how to obtain the effect i desire on the desktop.
(Window > Preferences > Java > Installed JREs > jre7 [Edit] > [Add External JARs])
but i cant get the same effect on android.
In the desktop project i can see the folder "JRE Sysytem Library(jre7)" contains all the JARs i referenced
This directory is not present in the android project. How do I add libraries to be automatically included in an Android project without needing to use the "R-Click Project > Properties > Java Build Path > Libraries" method OR the "R-Click JAR file > Build Path > Add to build path" method in the IDE "Eclipse"
In the desktop project i can see the folder "JRE Sysytem Library(jre7)" contains all the JARs i referenced
An Android app does not use the JRE.
How do I add libraries to be automatically included in an Android project without needing to use the "R-Click Project > Properties > Java Build Path > Libraries" method OR the "R-Click JAR file > Build Path > Add to build path" method in the IDE "Eclipse"
That is not possible, sorry. Android does not use Eclipse's "Add External JARs" regardless of whether it is manually or automatically populated. It only uses JARs in libs/ or attached Android library projects.
Eclipse doesn't provide this functionality, I believe.
You can on the other hand Select configure build path and just add the libraries.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With