Here is my situation, I have a Custom Programming Language that compile down into Java Byte Code. I have the jar and I am looking to use some of the classes in an Android Application. I need some advice on how to approach this. I can import some of these classes from the jar but im not sure how I can compile/run this on Android. Any advice is appreciated Thanks
if you want to use your jar in Android on Eclipse, as i remember, you can copy your jar file, paste it in the "lib" folder in your android project, then right click your project in your eclipse IDE
Right click on project >
Build path >
Configure Build path >
(from the left list) choose Java Build Path >
(from the right side) click on Add Jars button >
(a window popup will show) click on your project >
click on it's libs folder >
click on your jar file >
click on OK button
then you are done
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