Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Custom Programming Language(jar) in Android

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

like image 541
user2701224 Avatar asked Aug 20 '13 19:08

user2701224


1 Answers

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

like image 117
Ahmed Adel Ismail Avatar answered Oct 02 '22 23:10

Ahmed Adel Ismail