sloshnmosh
sloshnmosh

Reputation: 1

import mediaplayer command does not work in android studio

I am new to android studio and when I try to run the command to import the media player it is not recognized and with streamlining is set it will delete any time I enter in command to import mediaplayer in the java code page. Its like I don't have the media player installed in android studio. I have been at it for 2 days and I don;t know what the problem is and I don't see anyone with the same issue when I google. Can anyone tell me what may be wrong or how to configure android studio?

Upvotes: 0

Views: 1624

Answers (1)

QArea
QArea

Reputation: 4981

Try

import android.media.AudioManager;
import android.media.MediaPlayer;

Upvotes: 1

Related Questions