0

It's supposed to be very simple, but for a day I couldn't find a solution. I'm trying to follow the example in http://andrey.chernih.me/2014/06/28/video-recording-and-processing-in-android/ ( Muxing Audio )

So I've added to my project's libs directory both

aspectjrt-1.8.6.jar and isoparser-1.0.6.jar which were found through https://code.google.com/p/mp4parser/ ( Using without Maven )

But I can't implement "AudioMuxer" in my class.

What am I missing ?

Thanks.

Miko Diko
  • 944
  • 1
  • 13
  • 33

1 Answers1

0

you gotta add it to your gradle file so it knows it's should be added:

compile files('libs/<filename>.jar') 

Android Studio: Add jar as library?

Community
  • 1
  • 1
Budius
  • 39,391
  • 16
  • 102
  • 144
  • I don't use a gradle file, I simply use a basic project created in Eclipse. – Miko Diko Aug 30 '15 at 18:57
  • oh, so in that case my advice is the same I would give to anyone else. Stop using Eclipse and move to Android Studio. Not only the ADT plugin is not supported any more by the Android team at Google and you will invariably start having issues moving forward, but also AndroidStudio is faster, more stable, more configurable, more focused, etc, etc. – Budius Aug 30 '15 at 19:03
  • I wish, can't of as of today... I hope Eclipse is still good enough for those .jar files . – Miko Diko Aug 30 '15 at 19:16
  • I know there's a way on since setting menu to do it. But I honestly don't remember, I've abandoned Eclipse 2 years ago already – Budius Aug 30 '15 at 19:17