Tuesday, March 8, 2016

Use javac instead of Eclipse ?

I am trying to build an open source project at github (http://ift.tt/1m2lpFT)

As I understand, the project includes a demo application and a library. The demo application plays a number of test streams with the help of the libary. The main page of the project says that I can use Eclipse and Android SDK to build the project. However, instead of using an IDE like Eclipse I want to compile the code from command line using javac. So, I tried it by following the method in this page :http://ift.tt/KLWKFi

1. Created the R.java file using aapt (Everything seems to work fine)
2. Ran the command
Code:

javac -d E:/bin -sourcepath E:/project/src -classpath C:/Android/android-sdk/platforms/23.0.2/android.jar;E:/bin E:/project/src/com/google/android/exoplayer/demo/*.java
Here javac throws a lot of errors like 'symbol not found'.

The main problem seems to be that the demo application and library are dependant projects and I don't know how to invoke javac for dependant projects.

Therefore, I am asking you to give an elaborate guide about compiling (this) project from command line.


from xda-developers http://ift.tt/1p6R6kN
via IFTTT

No comments:

Post a Comment