Category: Android

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

Android

[Cursor : 커서] java.lang.IllegalArgumentException: Invalid token LOCALIZED 오류 해결하기

2020-11-20 19:47:30.300 23340-23340/sample.test.musicplayer E/TAG: HI 2020-11-20 19:47:30.311 23340-23340/sample.test.musicplayer E/AndroidRuntime: FATAL EXCEPTION: main Process: sample.test.musicplayer, PID: 23340 java.lang.RuntimeException: Unable to start activity ComponentInfo{sample.test.musicplayer/sample.test.musicplayer.MainActivity}: java.lang.IllegalArgumentException: Invalid token...
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 !!