Closed deniscerri closed 1 year ago
Did you forget to call YoutubeDL.init()
?
YoutubeDL.getInstance().init(this);
FFmpeg.getInstance().init(this);
Aria2c.getInstance().init(this);
var y = YoutubeDLRequest("https://www.youtube.com/watch?v=dQw4w9WgXcQ")
.addOption("-j")
.addOption("--skip-download")
.addOption("R", "1")
val res = YoutubeDL.getInstance().execute(y)
Log.e("TAG", res.toString());
Greeting("Android")
Its a fresh compose app. Just added the dependencies. Builds fine but when i run it, it shoots the error
Fixed it. I had to reinstall jdk 11
The package runs fine on a java project but not in a jetpack compose one