Code Monkey home page Code Monkey logo

flutter_ijkplayer_beta's People

Contributors

crazecoder avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

flutter_ijkplayer_beta's Issues

I am getting Errors

Hi,

I am trying to use this in an androidx project.
I used play(url: abc.mp4). I did add flatDir {dirs project(':flutter_ijkplayer').file('libs'), 'libs'} to my repositories is build.gradle. The app is compiled with no errors.

But when I run it, it closes saying the "app is stopped unfortunately".

This is the error in the logcat

04-23 05:26:46.484 9400-9400/? E/Zygote: MountEmulatedStorage()
04-23 05:26:46.484 9400-9400/? E/Zygote: v2
04-23 05:26:46.489 9400-9400/? E/SELinux: [DEBUG] get_category: variable seinfo: default sensitivity: NULL, cateogry: NULL
04-23 05:26:46.679 9215-9422/com.crazecoder.fluttergsyplayerexample E/IJKMEDIA: https://r3---sn-cvh76nez.googlevideo.com/videoplayback?id=63fea2322266d75a&itag=22&source=picasa&begin=0&requiressl=yes&pl=24&sc=yes&ttl=transient&ei=2iq-XJuVOYTM1gKZm7TIDw&susc=ph&app=fife&mime=video/mp4&cnr=14&dur=1475.163&lmt=1555929420020340&ipbits=0&keepalive=yes&ratebypass=yes&ip=134.19.181.231&expire=1555973882&sparams=app,cnr,dur,ei,expire,id,ip,ipbits,itag,lmt,mime,mip,mm,mn,ms,mv,pl,requiressl,sc,source,susc,ttl&signature=496BCECE113BD8BB210E99694CBE78F063CA784C.71BDEACC63FC2A2AAE7704309044E65719202872&key=cms1&title=(720P%20-%20mp4)%20Pokemon+Sun+%26+Moon+Episode+118.mp4&cms_redirect=yes&mip=123.201.249.80&mm=30&mn=sn-cvh76nez&ms=nxu&mt=1555972243&mv=u: Protocol not found
04-23 05:26:46.914 9215-9215/com.crazecoder.fluttergsyplayerexample E/tv.danmaku.ijk.media.player.IjkMediaPlayer: Error (-10000,0)
04-23 05:26:46.939 9135-9135/? E/FilterPackageIntentReceiver: This package is not a effect filter
04-23 05:26:47.134 9215-9215/com.crazecoder.fluttergsyplayerexample E/AndroidRuntime: FATAL EXCEPTION: main
    Process: com.crazecoder.fluttergsyplayerexample, PID: 9215
    java.lang.IllegalStateException: You need to use a Theme.AppCompat theme (or descendant) with this activity.
        at androidx.appcompat.app.AppCompatDelegateImpl.createSubDecor(AppCompatDelegateImpl.java:555)
        at androidx.appcompat.app.AppCompatDelegateImpl.ensureSubDecor(AppCompatDelegateImpl.java:518)
        at androidx.appcompat.app.AppCompatDelegateImpl.setContentView(AppCompatDelegateImpl.java:466)
        at androidx.appcompat.app.AppCompatDialog.setContentView(AppCompatDialog.java:94)
        at androidx.appcompat.app.AlertController.installContent(AlertController.java:232)
        at androidx.appcompat.app.AlertDialog.onCreate(AlertDialog.java:279)
        at android.app.Dialog.dispatchOnCreate(Dialog.java:553)
        at android.app.Dialog.show(Dialog.java:289)
        at androidx.appcompat.app.AlertDialog$Builder.show(AlertDialog.java:1007)
        at com.crazecoder.media.IjkVideoView$5.onError(IjkVideoView.java:582)
        at tv.danmaku.ijk.media.player.AbstractMediaPlayer.notifyOnError(AbstractMediaPlayer.java:106)
        at tv.danmaku.ijk.media.player.IjkMediaPlayer$EventHandler.handleMessage(IjkMediaPlayer.java:1020)
        at android.os.Handler.dispatchMessage(Handler.java:102)
        at android.os.Looper.loop(Looper.java:145)
        at android.app.ActivityThread.main(ActivityThread.java:6912)
        at java.lang.reflect.Method.invoke(Native Method)
        at java.lang.reflect.Method.invoke(Method.java:372)
        at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1404)
        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1199)
04-23 05:26:47.354 2740-9432/? E/android.os.Debug: ro.product_ship = true
04-23 05:26:47.354 2740-9432/? E/android.os.Debug: ro.debug_level = 0x4f4c
04-23 05:26:47.359 2740-2830/? E/libprocessgroup: failed to kill 1 processes for processgroup 4106
04-23 05:26:47.964 3841-3841/? E/SamsungIME:          isHWKeyboardConnected() = false --> false
04-23 05:26:48.324 2740-2910/? E/SmartFaceService: onReceive: android.intent.action.CONFIGURATION_CHANGED
04-23 05:26:48.329 2740-2910/? E/SmartFaceService: mFolderCoverOpened: (true, true) -> true
04-23 05:26:48.329 2740-2740/? E/Tethering: No numeric data
04-23 05:26:48.424 2740-2902/? E/SatsServiceData: Failed to connect daemon - java.io.IOException: Permission denied
04-23 05:26:48.769 2740-2951/? E/ConnectivityService: RemoteException caught trying to send a callback msg for NetworkRequest [ id=329, legacyType=-1, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED] ]
04-23 05:26:48.779 3770-3806/? E/AS.DefaultService: 05:26:48.782[163] onStartCommand(), DefaultService e = java.lang.NullPointerException: Attempt to invoke interface method 'boolean java.util.List.contains(java.lang.Object)' on a null object reference
04-23 05:26:49.089 9446-9446/? E/Zygote: MountEmulatedStorage()
04-23 05:26:49.089 9446-9446/? E/Zygote: v2

Any suggestions is appreciated.

Thanks

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.