halilozercan / BetterVideoPlayer

Video playback on Android, made better in Kotlin, wrapping around the stock MediaPlayer API.
287 stars 95 forks source link

How to fix compile error #75

Open MrNouri opened 5 years ago

MrNouri commented 5 years ago

i want use your great library but when compile it show me below error i use andridx instead of support library.

Android resource linking failed
Output:  /Users/mac8/.gradle/caches/transforms-1/files-1.1/jetified-BetterVideoPlayer-1.2.alpha1.aar/4d30b121393c4b91b08678b2b41cb202/res/layout/bvp_include_progress.xml:7: error: resource style/SpinKitView.Large.FadingCircle (aka nouri.in.videogaming:style/SpinKitView.Large.FadingCircle) not found.
error: failed linking file resources.

Command: /Users/mac8/.gradle/caches/transforms-1/files-1.1/aapt2-3.2.1-4818971-osx.jar/63db913c5fd1130f035a3a77389a89b6/aapt2-3.2.1-4818971-osx/aapt2 link -I\
        /Users/mac8/Documents/Android/sdk/platforms/android-28/android.jar\
        --manifest\
        /Volumes/M/Test Projects/VideoGaming/app/build/intermediates/merged_manifests/debug/processDebugManifest/merged/AndroidManifest.xml\
        -o\
        /Volumes/M/Test Projects/VideoGaming/app/build/intermediates/processed_res/debug/processDebugResources/out/resources-debug.ap_\
        -R\
        @/Volumes/M/Test Projects/VideoGaming/app/build/intermediates/incremental/processDebugResources/resources-list-for-resources-debug.ap_.txt\
        --auto-add-overlay\
        --java\
        /Volumes/M/Test Projects/VideoGaming/app/build/generated/not_namespaced_r_class_sources/debug/processDebugResources/r\
        --custom-package\
        nouri.in.videogaming\
        -0\
        apk\
        --output-text-symbols\
        /Volumes/M/Test Projects/VideoGaming/app/build/intermediates/symbols/debug/R.txt\
        --no-version-vectors
Daemon:  AAPT2 aapt2-3.2.1-4818971-osx Daemon #0
SantiagoCoronado commented 5 years ago

I have the same problem here

MrNouri commented 5 years ago

When i used 1.1.0 not show me any error and sync right. but in 1.2alpha1 show me above error.

@SantiagoCoronado for fix above error for now use 1.1.0 version

AndroidHelp commented 5 years ago

Failed to resolve: com.github.halilozercan:BetterVideoPlayer:1.1.0 and also tried 1.2.alpha1 and both are not working

peter-haiduchyk commented 5 years ago

@AndroidHelp 1.1.0 works . Maybe you forget maven { url 'https://jitpack.io' } ?