Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build signed apk 出错 #202

Closed
tmxd09887 opened this issue Oct 31, 2018 · 8 comments
Closed

build signed apk 出错 #202

tmxd09887 opened this issue Oct 31, 2018 · 8 comments

Comments

@tmxd09887
Copy link

tmxd09887 commented Oct 31, 2018

com.ycjiang:VideoPlayModule:2.3.0版本

build错误提示
Warning: com.google.android.exoplayer2.ui.DefaultTrackNameProvider: can't find referenced field 'int exo_track_unknown' in program class com.google.android.exoplayer2.ui.R$string

好像跟混淆有关系,关了混淆就好了
混淆声明
-dontwarn chuangyuan.ycj.**
-keep class chuangyuan.ycj.** { *;}

@yangchaojiang
Copy link
Owner

好的,我看一下

@yangchaojiang
Copy link
Owner

在你的app的strings的xml 里添加

  <string name="exo_track_unknown">未知</string>
```
对齐就行了。 下版本修复

@tmxd09887
Copy link
Author

tmxd09887 commented Nov 1, 2018

谢谢

加了几个
<string name="exo_track_unknown">exo_track_unknown</string>

Warning: com.google.android.exoplayer2.ui.PlayerNotificationManager: can't find referenced field 'int exo_notification_fastforward' in program class com.google.android.exoplayer2.ui.R$drawable

还有7个错误,exo_notification_fastforward这个字段有什么问题?

@tmxd09887
Copy link
Author

请问,能修复吗?有点急用。谢谢。

@yangchaojiang
Copy link
Owner

都加上就行了。下版本已经修复。 周末不再。陪我的爸妈

@tmxd09887
Copy link
Author

前面报错,就是加上还有错误

辛苦了兄弟!

@yangchaojiang
Copy link
Owner

已经发布新版本。你可以试一下。2.3.10

@tmxd09887
Copy link
Author

你好,感谢,暂时没发现问题。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants