Category: Android

안드로이드 개발 관련 카테고리입니다.

Android

[ExoPlayer] ExtractorMediaSource 클래스가 Deprecated되었다. ProgressiveMediaSource 클래스로 대체 되었어요.

ExoPlayer의 ExtractorMediaSource 클래스가 Deprecated되었습니다. val mediaSource = ExtractorMediaSource.Factory(dataSourceFactory) .setExtractorsFactory(DefaultExtractorsFactory()) //MatroskaExtractor.FACTORY .createMediaSource(uri) Deprecated /** @deprecated Use {@link ProgressiveMediaSource} instead. */ @Deprecated @SuppressWarnings("deprecation") public final class ExtractorMediaSource...
Android

Fatal Exception: android.app.RemoteServiceException: Context.startForegroundService() did not then call Service.startForeground(): ServiceRecord

Fatal Exception: android.app.RemoteServiceException: Context.startForegroundService() did not then call Service.startForeground(): ServiceRecord{8e56749 u0 com.teset/.ManageService}        at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1945)        at android.os.Handler.dispatchMessage(Handler.java:107)        at android.os.Looper.loop(Looper.java:214)        at android.app.ActivityThread.main(ActivityThread.java:7356)        at java.lang.reflect.Method.invoke(Method.java)        at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492)        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:930)   Service단에서 포그라운드에 올린 후 Noti를 주었음에도 불구하고...
error: Content is protected !!