I'm trying to import some javax.*
classes in my android app, but I keep getting compiler errors inside Android Studio.
I'm using Ubuntu Linux 13.04.
Here are my imports:
import android.os.Bundle;
import android.app.Activity;
import android.view.Menu;
// Here are the imports I am having trouble with:
import javax.sound.sampled.AudioFormat;
import javax.sound.sampled.AudioSystem;
import javax.sound.sampled.SourceDataLine;
And when I try to run the app or even compile the activity java file, I get these errors:
Gradle: error: package javax.sound.sampled does not exist
Gradle: error: package javax.sound.sampled does not exist
Gradle: error: package javax.sound.sampled does not exist
I just can't figure out this problem. Any help would be awesome!
AudioTrack
class. See: #10158909 and #11436972 – Escobedo