blackbbc / tucao Goto Github PK
View Code? Open in Web Editor NEWhttp://www.tucao.tv/ 吐槽第三方Android客户端
License: MIT License
http://www.tucao.tv/ 吐槽第三方Android客户端
License: MIT License
1,依旧不能下ONEDRIVE源。
2,对比1.1.5,1.1.6下如果上传的UP没上传好头像就不能进去那位UP的主页,例如能通过视频页面的UP主头像进永恒之光主页而不能进零元帅的主页。
Error:Failed to complete Gradle execution.
Cause:
String index out of range: -1
在更换完库版后编译通过了,但是有两个问题。
1、离线存储路径设置出错了。系统不能遍历手机文件目录。(已经给权限了)
2、编译后播放节目,选择全屏后,屏幕左下角会出现初始化播放器加载弹幕等字,消除不掉。
建议,将tucao站的域名设定为外部参数。可以在设置里修改的参数。防止域名变更后app失效的问题。
最后你的app是我手机上保留最长的软件之一,和站很搭。只是c站域名变化频繁。app适应力有些跟不上了。
滑稽
网页端的还可以播放,但是加载很慢,app里的好像都失效了
Error:java.lang.RuntimeException: Failed to parse data binding compiler options. Params:
Error:java.lang.NumberFormatException: null
Error:Execution failed for task ':app:kaptDebugKotlin'.
Compilation error. See log for more details
1.1.6安装完成打不开,闪退,求修复
E/AndroidRuntime: FATAL EXCEPTION: main
Process: me.sweetll.tucao, PID: 7742
java.lang.UnsatisfiedLinkError:
dalvik.system.PathClassLoader[DexPathList[[zip file "/data/app/me.sweetll.tucao-JRf82aI4PhqqEs_GqF24Ew==/base.apk",
zip file "/data/app/me.sweetll.tucao-JRf82aI4PhqqEs_GqF24Ew==/split_lib_dependencies_apk.apk",
zip file "/data/app/me.sweetll.tucao-JRf82aI4PhqqEs_GqF24Ew==/split_lib_slice_0_apk.apk",
zip file "/data/app/me.sweetll.tucao-JRf82aI4PhqqEs_GqF24Ew==/split_lib_slice_1_apk.apk",
zip file "/data/app/me.sweetll.tucao-JRf82aI4PhqqEs_GqF24Ew==/split_lib_slice_2_apk.apk",
zip file "/data/app/me.sweetll.tucao-JRf82aI4PhqqEs_GqF24Ew==/split_lib_slice_3_apk.apk",
zip file "/data/app/me.sweetll.tucao-JRf82aI4PhqqEs_GqF24Ew==/split_lib_slice_4_apk.apk",
zip file "/data/app/me.sweetll.tucao-JRf82aI4PhqqEs_GqF24Ew==/split_lib_slice_5_apk.apk",
zip file "/data/app/me.sweetll.tucao-JRf82aI4PhqqEs_GqF24Ew==/split_lib_slice_6_apk.apk",
zip file "/data/app/me.sweetll.tucao-JRf82aI4PhqqEs_GqF24Ew==/split_lib_slice_7_apk.apk",
zip file "/data/app/me.sweetll.tucao-JRf82aI4PhqqEs_GqF24Ew==/split_lib_slice_8_apk.apk",
zip file "/data/app/me.sweetll.tucao-JRf82aI4PhqqEs_GqF24Ew==/split_lib_slice_9_apk.apk"],
nativeLibraryDirectories=[/data/app/me.sweetll.tucao-JRf82aI4PhqqEs_GqF24Ew==/lib/x86, /system/lib, /vendor/lib]]]
couldn't find "libijkffmpeg.so"
F:\androidProject\Tucao\ijkplayer-armv7a\src\main\libs\armeabi-v7a\libijkffmpeg.so
在文件中是有so文件的。
Unable to resolve dependency for ':app@debug/compileClasspath': Could not resolve project :gsyVideoPlayer. Open File Show Details
Unable to resolve dependency for ':app@debugAndroidTest/compileClasspath': Could not resolve project :gsyVideoPlayer. Open File Show Details
Unable to resolve dependency for ':app@debugUnitTest/compileClasspath': Could not resolve project :gsyVideoPlayer. Open File Show Details
报错信息:
Error:Failed to complete Gradle execution.
Cause:
String index out of range: -1
gradle 控制台错误信息:
e: 错误: Exception while handling step android.databinding.annotationprocessor.ProcessExpressions@1e87f01c javax.xml.bind.UnmarshalException
e:
e: - with linked exception:
e: [com.sun.org.apache.xerces.internal.impl.io.MalformedByteSequenceException: 3 字节的 UTF-8 序列的字节 3 无效。]
Error:(1, 1) Some error(s) occurred while processing annotations. Please see the error messages above.
进去发现compenent包下缺少标题中的类
如题,我把您的项目克隆到我的本地,在android studio 中出现这个问题
Invalid VCS root mapping
The directory D:\T***\GSYVideoPlayer is registered as a Git root, but no Git repositories were found there.
project(':gsyVideoPlayer').projectDir = new File(rootDir, 'GSYVideoPlayer/gsyVideoPlayer') 不存在
重新导入GSYVideoPlayer 包也报错
感谢作者,使用下来很舒服。不知能否加入支持tv遥控操作, 这样就能在大屏幕看隔壁没拿下的番了。
:D:\wordplace\other\tucao\Tucao\app\build\tmp\kapt3\stubs\debug\me\sweetll\tucao\di\component\ApiComponent.java:5: 错误: 不兼容的类型: NonExistentClass无法转换为Annotation
e:
e: @error.NonExistentClass()
e: ^
e: java.lang.IllegalStateException: failed to analyze: org.jetbrains.kotlin.kapt3.diagnostic.KaptError: Error while annotation processing
at org.jetbrains.kotlin.analyzer.AnalysisResult.throwIfError(AnalysisResult.kt:57)
at org.jetbrains.kotlin.cli.jvm.compiler.KotlinToJVMBytecodeCompiler.compileModules(KotlinToJVMBytecodeCompiler.kt:144)
而且我看官网的app下载也是百度云,难道你这个就是官方app吗
不能播放http://quan.qq.com/video/1098_xxx 的视频。
如https://www.tucao.one/play/h4078518/ https://www.tucao.one/play/h4078398/ 等,只能选择缓存,反而1.1.5能看。
#######RuntimeEnvironmentInformation#######
crash time=2018-03-15 13:40:44.817
model=ZUK Z2121
android version=8.0.0(26)
brand=ZUK
manufacturer=ZUK
board=QC_Reference_Phone
hardware=qcom
device=z2_row
version name=1.1.5
supported_abis=arm64-v8a & armeabi-v7a & armeabi
#######ForceCloseCrashLog#######
FATAL EXCEPTION: main
Process: me.sweetll.tucao, PID: 26214
java.lang.IllegalArgumentException: width and height must be > 0
at android.graphics.Bitmap.createBitmap(Bitmap.java:1001)
at android.graphics.Bitmap.createBitmap(Bitmap.java:968)
at android.graphics.Bitmap.createBitmap(Bitmap.java:918)
at android.graphics.Bitmap.createBitmap(Bitmap.java:839)
at me.sweetll.tucao.widget.d$a.a(GlideImageGetter.kt:46)
at me.sweetll.tucao.widget.d$a.a(GlideImageGetter.kt:35)
at com.bumptech.glide.f.f.a(SingleRequest.java:542)
at com.bumptech.glide.f.f.a(SingleRequest.java:516)
at com.bumptech.glide.c.b.j.b(EngineJob.java:184)
at com.bumptech.glide.c.b.j$b.handleMessage(EngineJob.java:288)
at android.os.Handler.dispatchMessage(Handler.java:101)
at android.os.Looper.loop(Looper.java:164)
at android.app.ActivityThread.main(ActivityThread.java:6654)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:240)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:770)
在使用Kotlin过程中出现error【不兼容的类型: NonExistentClass无法转换为Annotation】,询问大神是否有解决方案?在线等!
没看出来哪里越界了。。。
11-08 17:38:46.629 1597-1597/? A/art: art/runtime/runtime.cc:366] at me.sweetll.tucao.business.home.MainActivity.initView(MainActivity.kt:221)
11-08 17:38:46.629 1597-1597/? A/art: art/runtime/runtime.cc:366] at me.sweetll.tucao.base.BaseActivity.onCreate(BaseActivity.kt:24)
11-08 17:38:46.629 1597-1597/? A/art: art/runtime/runtime.cc:366] at android.app.Activity.performCreate(Activity.java:6357)
11-08 17:38:46.629 1597-1597/? A/art: art/runtime/runtime.cc:366] at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1108)
11-08 17:38:46.629 1597-1597/? A/art: art/runtime/runtime.cc:366] at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2436)
11-08 17:38:46.629 1597-1597/? A/art: art/runtime/runtime.cc:366] at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2543)
11-08 17:38:46.629 1597-1597/? A/art: art/runtime/runtime.cc:366] at android.app.ActivityThread.access$1000(ActivityThread.java:156)
11-08 17:38:46.629 1597-1597/? A/art: art/runtime/runtime.cc:366] at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1407)
11-08 17:38:46.629 1597-1597/? A/art: art/runtime/runtime.cc:366] at android.os.Handler.dispatchMessage(Handler.java:102)
11-08 17:38:46.629 1597-1597/? A/art: art/runtime/runtime.cc:366] at android.os.Looper.loop(Looper.java:157)
11-08 17:38:46.629 1597-1597/? A/art: art/runtime/runtime.cc:366] at android.app.ActivityThread.main(ActivityThread.java:5637)
11-08 17:38:46.629 1597-1597/? A/art: art/runtime/runtime.cc:366] at java.lang.reflect.Method.invoke!(Native method)
11-08 17:38:46.629 1597-1597/? A/art: art/runtime/runtime.cc:366] at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:746)
11-08 17:38:46.630 1597-1597/? A/art: art/runtime/runtime.cc:366] at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:636)
11-08 17:38:46.630 1597-1597/? A/art: art/runtime/runtime.cc:366] Pending exception java.lang.ArrayIndexOutOfBoundsException: length=490; index=1613
11-08 17:38:46.630 1597-1597/? A/art: art/runtime/runtime.cc:366] at void me.sweetll.tucao.business.home.MainActivity.checkUpdate(boolean) (MainActivity.kt:516)
11-08 17:38:46.630 1597-1597/? A/art: art/runtime/runtime.cc:366] at void me.sweetll.tucao.business.home.MainActivity.initView(android.os.Bundle) (MainActivity.kt:221)
11-08 17:38:46.630 1597-1597/? A/art: art/runtime/runtime.cc:366] at void me.sweetll.tucao.base.BaseActivity.onCreate(android.os.Bundle) (BaseActivity.kt:24)
11-08 17:38:46.630 1597-1597/? A/art: art/runtime/runtime.cc:366] at void android.app.Activity.performCreate(android.os.Bundle) (Activity.java:6357)
11-08 17:38:46.630 1597-1597/? A/art: art/runtime/runtime.cc:366] at void android.app.Instrumentation.callActivityOnCreate(android.app.Activity, android.os.Bundle) (Instrumentation.java:1108)
11-08 17:38:46.630 1597-1597/? A/art: art/runtime/runtime.cc:366] at android.app.Activity android.app.ActivityThread.performLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent) (ActivityThread.java:2436)
11-08 17:38:46.630 1597-1597/? A/art: art/runtime/runtime.cc:366] at void android.app.ActivityThread.handleLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent) (ActivityThread.java:2543)
11-08 17:38:46.630 1597-1597/? A/art: art/runtime/runtime.cc:366] at void android.app.ActivityThread.access$1000(android.app.ActivityThread, android.app.ActivityThread$ActivityClientRecord, android.content.Intent) (ActivityThread.java:156)
11-08 17:38:46.630 1597-1597/? A/art: art/runtime/runtime.cc:366] at void android.app.ActivityThread$H.handleMessage(android.os.Message) (ActivityThread.java:1407)
11-08 17:38:46.630 1597-1597/? A/art: art/runtime/runtime.cc:366] at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:102)
11-08 17:38:46.630 1597-1597/? A/art: art/runtime/runtime.cc:366] at void android.os.Looper.loop() (Looper.java:157)
11-08 17:38:46.630 1597-1597/? A/art: art/runtime/runtime.cc:366] at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:5637)
11-08 17:38:46.630 1597-1597/? A/art: art/runtime/runtime.cc:366] at java.lang.Object java.lang.reflect.Method.invoke!(java.lang.Object, java.lang.Object[]) (Method.java:-2)
11-08 17:38:46.630 1597-1597/? A/art: art/runtime/runtime.cc:366] at void com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run() (ZygoteInit.java:746)
11-08 17:38:46.630 1597-1597/? A/art: art/runtime/runtime.cc:366] at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:636)```
RT
$ git clone --recursive -j8 https://github.com/blackbbc/Tucao.git
Cloning into 'Tucao'...
remote: Counting objects: 10047, done.
remote: Total 10047 (delta 0), reused 0 (delta 0), pack-reused 10047
Receiving objects: 100% (10047/10047), 33.04 MiB | 909.00 KiB/s, done.
Resolving deltas: 100% (5265/5265), done.
Checking connectivity... done.
Submodule 'GSYVideoPlayer' (https://github.com/blackbbc/GSYVideoPlayer.git) registered for path 'GSYVideoPlayer'
Cloning into 'E:/项目收集/kotlin/tc/Tucao/GSYVideoPlayer'...
每次看视频总是退回首页
需要包import me.sweetll.tucao.di.component.DaggerBaseComponent
在me.sweetll.tucao.di.component文件夹下没有找到对应的DaggerBaseComponent
不得不说这个项目是好的,但是下载下来,各种报错,fragment库不兼容,好不容易调 好了,布局文件资源引用不到。还是看看代码吧,不运行了,真心醉
1.1.7 1.1.8都是一样的问题
e: java.lang.IllegalStateException: failed to analyze: android.databinding.tool.util.LoggedErrorException: failure, see logs for details.
Exception while handling step android.databinding.annotationprocessor.ProcessExpressions@214213fe javax.xml.bind.UnmarshalException
我把依赖改成最新版的2.1.0之后无法依赖成功。
提示failed to resolve: android.arch.lifecycle:runtime:1.0.0-alpha1
但是使用你这个项目里面的2.0.1是可以依赖成功的。。。
是因为需要翻墙吗,但是我开蓝灯竟然也不行。。
这个问题我不会用英语描述,所以就没跑到rxlifecycle上面提issue了。。。
dalao看看你会不会也出这个问题
我下载从1.1.2开始就出现一点下载APP就停止响应问题,权限什么的都给了。
系统是安卓6.0.1。
不清楚是什么导致的,是不是某些系统模块缺失的问题。
其它APP比如A站和B站的都下载视频正常。
有人打包成apk发一下吗
如果这种行为违反了开源协议,请提醒我一下(~ ̄▽ ̄)~
安卓9.0,视频暂停截图后再次播放视频,系统媒体音量会被重置为0,要手动重新调整音量
报错提示
Error:Failed to complete Gradle execution.
Cause:
String index out of range: -1
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.