#5 构建优化

Open
opened 2 years ago by lyq · 4 comments
天问 commented 2 years ago

构建还存在优化的地方:

F:\workspace\app.meet.hk.cn\LiveAndroid2020-phonelive-yuJianXingQiu>gradlew clean
Configuration on demand is an incubating feature.

BUILD SUCCESSFUL in 15s
12 actionable tasks: 11 executed, 1 up-to-date
F:\workspace\app.meet.hk.cn\LiveAndroid2020-phonelive-yuJianXingQiu>gradlew assembleDebug
Configuration on demand is an incubating feature.

> Task :app:processDebugMainManifest
[androidx.vectordrawable:vectordrawable-animated:1.0.0] C:\Users\liuyuqi\.gradle\caches\transforms-2\files-2.1\82b098d90f80ffb52af0f8f6ab74ebec\vectordrawable-animated-1.0.0\AndroidManif
est.xml Warning:
        Package name 'androidx.vectordrawable' used in: androidx.vectordrawable:vectordrawable-animated:1.0.0, androidx.vectordrawable:vectordrawable:1.0.0.
F:\workspace\app.meet.hk.cn\LiveAndroid2020-phonelive-yuJianXingQiu\app\src\main\AndroidManifest.xml:8:5-10:31 Warning:
        uses-permission#android.permission.GET_ACCOUNTS was tagged at AndroidManifest.xml:8 to remove other declarations but no other declaration present
F:\workspace\app.meet.hk.cn\LiveAndroid2020-phonelive-yuJianXingQiu\app\src\main\AndroidManifest.xml:11:5-13:31 Warning:
        uses-permission#android.permission.CALL_PHONE was tagged at AndroidManifest.xml:11 to remove other declarations but no other declaration present
F:\workspace\app.meet.hk.cn\LiveAndroid2020-phonelive-yuJianXingQiu\app\src\main\AndroidManifest.xml:14:5-16:31 Warning:
        uses-permission#android.permission.READ_LOGS was tagged at AndroidManifest.xml:14 to remove other declarations but no other declaration present
F:\workspace\app.meet.hk.cn\LiveAndroid2020-phonelive-yuJianXingQiu\app\src\main\AndroidManifest.xml:17:5-19:31 Warning:
        uses-permission#android.permission.READ_CALL_LOG was tagged at AndroidManifest.xml:17 to remove other declarations but no other declaration present
F:\workspace\app.meet.hk.cn\LiveAndroid2020-phonelive-yuJianXingQiu\app\src\main\AndroidManifest.xml:20:5-22:31 Warning:
        uses-permission#android.permission.WRITE_CALL_LOG was tagged at AndroidManifest.xml:20 to remove other declarations but no other declaration present
F:\workspace\app.meet.hk.cn\LiveAndroid2020-phonelive-yuJianXingQiu\app\src\main\AndroidManifest.xml:23:5-25:31 Warning:
        uses-permission#android.permission.READ_SMS was tagged at AndroidManifest.xml:23 to remove other declarations but no other declaration present
F:\workspace\app.meet.hk.cn\LiveAndroid2020-phonelive-yuJianXingQiu\app\src\main\AndroidManifest.xml:26:5-28:31 Warning:
        uses-permission#android.permission.SEND_SMS was tagged at AndroidManifest.xml:26 to remove other declarations but no other declaration present
F:\workspace\app.meet.hk.cn\LiveAndroid2020-phonelive-yuJianXingQiu\app\src\main\AndroidManifest.xml:29:5-31:31 Warning:
        uses-permission#android.permission.WRITE_SMS was tagged at AndroidManifest.xml:29 to remove other declarations but no other declaration present
F:\workspace\app.meet.hk.cn\LiveAndroid2020-phonelive-yuJianXingQiu\app\src\main\AndroidManifest.xml:32:5-34:31 Warning:
        uses-permission#android.permission.RECEIVE_SMS was tagged at AndroidManifest.xml:32 to remove other declarations but no other declaration present
F:\workspace\app.meet.hk.cn\LiveAndroid2020-phonelive-yuJianXingQiu\app\src\main\AndroidManifest.xml:35:5-37:31 Warning:
        uses-permission#android.permission.RECEIVE_WAP_PUSH was tagged at AndroidManifest.xml:35 to remove other declarations but no other declaration present
F:\workspace\app.meet.hk.cn\LiveAndroid2020-phonelive-yuJianXingQiu\app\src\main\AndroidManifest.xml:38:5-40:31 Warning:
        uses-permission#android.permission.RECEIVE_MMS was tagged at AndroidManifest.xml:38 to remove other declarations but no other declaration present
F:\workspace\app.meet.hk.cn\LiveAndroid2020-phonelive-yuJianXingQiu\app\src\main\AndroidManifest.xml:41:5-43:31 Warning:
        uses-permission#android.permission.SEND_MMS was tagged at AndroidManifest.xml:41 to remove other declarations but no other declaration present
F:\workspace\app.meet.hk.cn\LiveAndroid2020-phonelive-yuJianXingQiu\app\src\main\AndroidManifest.xml:44:5-46:31 Warning:
        uses-permission#android.permission.MODIFY_PHONE_STATE was tagged at AndroidManifest.xml:44 to remove other declarations but no other declaration present
F:\workspace\app.meet.hk.cn\LiveAndroid2020-phonelive-yuJianXingQiu\app\src\main\AndroidManifest.xml:47:5-49:31 Warning:
        uses-permission#android.permission.PROCESS_OUTGOING_CALLS was tagged at AndroidManifest.xml:47 to remove other declarations but no other declaration present
F:\workspace\app.meet.hk.cn\LiveAndroid2020-phonelive-yuJianXingQiu\app\src\main\AndroidManifest.xml:78:5-172:19 Warning:
        application@android:name was tagged at AndroidManifest.xml:78 to replace other declarations but no other declaration present

> Task :mob:compileDebugJavaWithJavac
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.

> Task :common:compileDebugJavaWithJavac
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

> Task :beauty:compileDebugJavaWithJavac
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.

> Task :im:compileDebugJavaWithJavac
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.

> Task :game:compileDebugJavaWithJavac
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: F:\workspace\app.meet.hk.cn\LiveAndroid2020-phonelive-yuJianXingQiu\game\src\main\java\com\yunbao\game\util\GameIconUtil.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

> Task :video:compileDebugJavaWithJavac
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.

> Task :mall:compileDebugJavaWithJavac
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.

> Task :live:compileDebugJavaWithJavac
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: F:\workspace\app.meet.hk.cn\LiveAndroid2020-phonelive-yuJianXingQiu\live\src\main\java\com\yunbao\live\views\AbsLiveGiftViewHolder.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

> Task :common:stripDebugDebugSymbols
Unable to strip the following libraries, packaging them as they are: libpldroid_shortvideo_core.so, libtencentloc.so.

> Task :im:stripDebugDebugSymbols
Unable to strip the following libraries, packaging them as they are: libjcore127.so.

> Task :baidu:stripDebugDebugSymbols
Unable to strip the following libraries, packaging them as they are: libBaiduSpeechSDK.so, libbdEASRAndroid.so, libbdSpilWakeup.so, libbd_easr_s1_merge_normal_20151216.dat.so, libvad.dnn
.so.

> Task :main:compileDebugJavaWithJavac
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: F:\workspace\app.meet.hk.cn\LiveAndroid2020-phonelive-yuJianXingQiu\main\src\main\java\com\yunbao\main\activity\ThreeDistributActivity.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

> Task :app:compileDebugJavaWithJavac
Note: F:\workspace\app.meet.hk.cn\LiveAndroid2020-phonelive-yuJianXingQiu\app\src\main\java\com\yujian\phonelive\activity\LauncherActivity.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.

> Task :app:stripDebugDebugSymbols
Unable to strip the following libraries, packaging them as they are: libBaiduSpeechSDK.so, libbdEASRAndroid.so, libbdSpilWakeup.so, libbd_easr_s1_merge_normal_20151216.dat.so, libfacegl.
so, libjcore127.so, libksyapm.so, libksylive.so, libliteavsdk.so, liblmktrack.so, libpl_droidsonroids_gif.so, libpldroid_shortvideo_core.so, libtencentloc.so, libtraeimp-rtmp.so, libtxff
mpeg.so, libtxplayer.so, libtxsdl.so, libumeng-spy.so, libvad.dnn.so.

BUILD SUCCESSFUL in 1m 54s
282 actionable tasks: 252 executed, 30 up-to-date

构建还存在优化的地方: ``` F:\workspace\app.meet.hk.cn\LiveAndroid2020-phonelive-yuJianXingQiu>gradlew clean Configuration on demand is an incubating feature. BUILD SUCCESSFUL in 15s 12 actionable tasks: 11 executed, 1 up-to-date F:\workspace\app.meet.hk.cn\LiveAndroid2020-phonelive-yuJianXingQiu>gradlew assembleDebug Configuration on demand is an incubating feature. > Task :app:processDebugMainManifest [androidx.vectordrawable:vectordrawable-animated:1.0.0] C:\Users\liuyuqi\.gradle\caches\transforms-2\files-2.1\82b098d90f80ffb52af0f8f6ab74ebec\vectordrawable-animated-1.0.0\AndroidManif est.xml Warning: Package name 'androidx.vectordrawable' used in: androidx.vectordrawable:vectordrawable-animated:1.0.0, androidx.vectordrawable:vectordrawable:1.0.0. F:\workspace\app.meet.hk.cn\LiveAndroid2020-phonelive-yuJianXingQiu\app\src\main\AndroidManifest.xml:8:5-10:31 Warning: uses-permission#android.permission.GET_ACCOUNTS was tagged at AndroidManifest.xml:8 to remove other declarations but no other declaration present F:\workspace\app.meet.hk.cn\LiveAndroid2020-phonelive-yuJianXingQiu\app\src\main\AndroidManifest.xml:11:5-13:31 Warning: uses-permission#android.permission.CALL_PHONE was tagged at AndroidManifest.xml:11 to remove other declarations but no other declaration present F:\workspace\app.meet.hk.cn\LiveAndroid2020-phonelive-yuJianXingQiu\app\src\main\AndroidManifest.xml:14:5-16:31 Warning: uses-permission#android.permission.READ_LOGS was tagged at AndroidManifest.xml:14 to remove other declarations but no other declaration present F:\workspace\app.meet.hk.cn\LiveAndroid2020-phonelive-yuJianXingQiu\app\src\main\AndroidManifest.xml:17:5-19:31 Warning: uses-permission#android.permission.READ_CALL_LOG was tagged at AndroidManifest.xml:17 to remove other declarations but no other declaration present F:\workspace\app.meet.hk.cn\LiveAndroid2020-phonelive-yuJianXingQiu\app\src\main\AndroidManifest.xml:20:5-22:31 Warning: uses-permission#android.permission.WRITE_CALL_LOG was tagged at AndroidManifest.xml:20 to remove other declarations but no other declaration present F:\workspace\app.meet.hk.cn\LiveAndroid2020-phonelive-yuJianXingQiu\app\src\main\AndroidManifest.xml:23:5-25:31 Warning: uses-permission#android.permission.READ_SMS was tagged at AndroidManifest.xml:23 to remove other declarations but no other declaration present F:\workspace\app.meet.hk.cn\LiveAndroid2020-phonelive-yuJianXingQiu\app\src\main\AndroidManifest.xml:26:5-28:31 Warning: uses-permission#android.permission.SEND_SMS was tagged at AndroidManifest.xml:26 to remove other declarations but no other declaration present F:\workspace\app.meet.hk.cn\LiveAndroid2020-phonelive-yuJianXingQiu\app\src\main\AndroidManifest.xml:29:5-31:31 Warning: uses-permission#android.permission.WRITE_SMS was tagged at AndroidManifest.xml:29 to remove other declarations but no other declaration present F:\workspace\app.meet.hk.cn\LiveAndroid2020-phonelive-yuJianXingQiu\app\src\main\AndroidManifest.xml:32:5-34:31 Warning: uses-permission#android.permission.RECEIVE_SMS was tagged at AndroidManifest.xml:32 to remove other declarations but no other declaration present F:\workspace\app.meet.hk.cn\LiveAndroid2020-phonelive-yuJianXingQiu\app\src\main\AndroidManifest.xml:35:5-37:31 Warning: uses-permission#android.permission.RECEIVE_WAP_PUSH was tagged at AndroidManifest.xml:35 to remove other declarations but no other declaration present F:\workspace\app.meet.hk.cn\LiveAndroid2020-phonelive-yuJianXingQiu\app\src\main\AndroidManifest.xml:38:5-40:31 Warning: uses-permission#android.permission.RECEIVE_MMS was tagged at AndroidManifest.xml:38 to remove other declarations but no other declaration present F:\workspace\app.meet.hk.cn\LiveAndroid2020-phonelive-yuJianXingQiu\app\src\main\AndroidManifest.xml:41:5-43:31 Warning: uses-permission#android.permission.SEND_MMS was tagged at AndroidManifest.xml:41 to remove other declarations but no other declaration present F:\workspace\app.meet.hk.cn\LiveAndroid2020-phonelive-yuJianXingQiu\app\src\main\AndroidManifest.xml:44:5-46:31 Warning: uses-permission#android.permission.MODIFY_PHONE_STATE was tagged at AndroidManifest.xml:44 to remove other declarations but no other declaration present F:\workspace\app.meet.hk.cn\LiveAndroid2020-phonelive-yuJianXingQiu\app\src\main\AndroidManifest.xml:47:5-49:31 Warning: uses-permission#android.permission.PROCESS_OUTGOING_CALLS was tagged at AndroidManifest.xml:47 to remove other declarations but no other declaration present F:\workspace\app.meet.hk.cn\LiveAndroid2020-phonelive-yuJianXingQiu\app\src\main\AndroidManifest.xml:78:5-172:19 Warning: application@android:name was tagged at AndroidManifest.xml:78 to replace other declarations but no other declaration present > Task :mob:compileDebugJavaWithJavac Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details. > Task :common:compileDebugJavaWithJavac Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details. Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. > Task :beauty:compileDebugJavaWithJavac Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details. > Task :im:compileDebugJavaWithJavac Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details. > Task :game:compileDebugJavaWithJavac Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details. Note: F:\workspace\app.meet.hk.cn\LiveAndroid2020-phonelive-yuJianXingQiu\game\src\main\java\com\yunbao\game\util\GameIconUtil.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. > Task :video:compileDebugJavaWithJavac Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details. > Task :mall:compileDebugJavaWithJavac Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details. > Task :live:compileDebugJavaWithJavac Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details. Note: F:\workspace\app.meet.hk.cn\LiveAndroid2020-phonelive-yuJianXingQiu\live\src\main\java\com\yunbao\live\views\AbsLiveGiftViewHolder.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. > Task :common:stripDebugDebugSymbols Unable to strip the following libraries, packaging them as they are: libpldroid_shortvideo_core.so, libtencentloc.so. > Task :im:stripDebugDebugSymbols Unable to strip the following libraries, packaging them as they are: libjcore127.so. > Task :baidu:stripDebugDebugSymbols Unable to strip the following libraries, packaging them as they are: libBaiduSpeechSDK.so, libbdEASRAndroid.so, libbdSpilWakeup.so, libbd_easr_s1_merge_normal_20151216.dat.so, libvad.dnn .so. > Task :main:compileDebugJavaWithJavac Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details. Note: F:\workspace\app.meet.hk.cn\LiveAndroid2020-phonelive-yuJianXingQiu\main\src\main\java\com\yunbao\main\activity\ThreeDistributActivity.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. > Task :app:compileDebugJavaWithJavac Note: F:\workspace\app.meet.hk.cn\LiveAndroid2020-phonelive-yuJianXingQiu\app\src\main\java\com\yujian\phonelive\activity\LauncherActivity.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details. > Task :app:stripDebugDebugSymbols Unable to strip the following libraries, packaging them as they are: libBaiduSpeechSDK.so, libbdEASRAndroid.so, libbdSpilWakeup.so, libbd_easr_s1_merge_normal_20151216.dat.so, libfacegl. so, libjcore127.so, libksyapm.so, libksylive.so, libliteavsdk.so, liblmktrack.so, libpl_droidsonroids_gif.so, libpldroid_shortvideo_core.so, libtencentloc.so, libtraeimp-rtmp.so, libtxff mpeg.so, libtxplayer.so, libtxsdl.so, libumeng-spy.so, libvad.dnn.so. BUILD SUCCESSFUL in 1m 54s 282 actionable tasks: 252 executed, 30 up-to-date ```
天问 commented 2 years ago
Poster
http://app.meet.hk.cn/appapi/?service=Live.createRoom
uid=10008
token=7564d15b4c7c19504daf9cc5addb12c0
user_nicename=%E6%89%8B%E6%9C%BA%E7%94%A8%E6%88%B73250
avatar=http%3A%2F%2Fqiniu.meet.hk.cn%2Fandroid_10008_20220130_201008_1264851.jpg%3FimageView2%2F2%2Fw%2F600%2Fh%2F600
avatar_thumb=http%3A%2F%2Fqiniu.meet.hk.cn%2Fandroid_10008_20220130_201008_1264851.jpg%3FimageView2%2F2%2Fw%2F200%2Fh%2F200
city=
province=
lat=0.0
lng=0.0
title=test
liveclassid=0
type=0
type_val=0
isshop=0
live_type=1
deviceinfo=LeEco_Le+X620_6.0_3GB_WIFI
``` http://app.meet.hk.cn/appapi/?service=Live.createRoom uid=10008 token=7564d15b4c7c19504daf9cc5addb12c0 user_nicename=%E6%89%8B%E6%9C%BA%E7%94%A8%E6%88%B73250 avatar=http%3A%2F%2Fqiniu.meet.hk.cn%2Fandroid_10008_20220130_201008_1264851.jpg%3FimageView2%2F2%2Fw%2F600%2Fh%2F600 avatar_thumb=http%3A%2F%2Fqiniu.meet.hk.cn%2Fandroid_10008_20220130_201008_1264851.jpg%3FimageView2%2F2%2Fw%2F200%2Fh%2F200 city= province= lat=0.0 lng=0.0 title=test liveclassid=0 type=0 type_val=0 isshop=0 live_type=1 deviceinfo=LeEco_Le+X620_6.0_3GB_WIFI ```
天问 commented 2 years ago
Poster

手机直播APP功能:

  热门直播产品:映客,斗鱼,熊猫,虎牙,花椒等等

  直播效果图:

  1.一个完整直播app功能:聊天、私聊、点亮、推送、黑名单等

  2、礼物:普通礼物、豪华礼物、红包、排行榜、第三方充值、内购、礼物动态更新、提现等;

  3、直播列表:关注、热门、最新、分类直播用户列表等;

  4、自己直播:录制、推流、解码、播放、美颜、心跳、后台切换、主播对管理员操作、管理员对用户等;

  5、房间逻辑:创建房间、进入房间、退出房间、关闭房间、切换房间、房间管理员设置、房间用户列表等;

  6、用户逻辑:普通登陆、第三方登陆、注册、搜索、修改个人信息、关注列表、粉丝列表、忘记密码、查看个人信息、收入榜、关注和取关、检索等;

  7、观看直播:聊天信息、滚屏弹幕、礼物显示、加载界面等;

  8、统计:APP业务统计、第三方统计等;

  9、超管:禁-播、隐藏、审核等;

## 手机直播APP功能:   热门直播产品:映客,斗鱼,熊猫,虎牙,花椒等等   直播效果图:   1.一个完整直播app功能:聊天、私聊、点亮、推送、黑名单等   2、礼物:普通礼物、豪华礼物、红包、排行榜、第三方充值、内购、礼物动态更新、提现等;   3、直播列表:关注、热门、最新、分类直播用户列表等;   4、自己直播:录制、推流、解码、播放、美颜、心跳、后台切换、主播对管理员操作、管理员对用户等;   5、房间逻辑:创建房间、进入房间、退出房间、关闭房间、切换房间、房间管理员设置、房间用户列表等;   6、用户逻辑:普通登陆、第三方登陆、注册、搜索、修改个人信息、关注列表、粉丝列表、忘记密码、查看个人信息、收入榜、关注和取关、检索等;   7、观看直播:聊天信息、滚屏弹幕、礼物显示、加载界面等;   8、统计:APP业务统计、第三方统计等;   9、超管:禁-播、隐藏、审核等;
天问 commented 2 years ago
Poster
http://app.meet.hk.cn/appapi/?service=Video.startWatchVideo&uid=10008&token=249ddd838b5c51d6d7fc2ef437c2063e
天问 commented 2 years ago
Poster

Flutter 开发:

整体UI: 背包,我的,四个消息界面,五个直播页面,登录注册,闪屏页,欢迎页,隐私协议页面,用户协议页面 报价 2600 功能实现: 集成融云IM聊天拍照,后台接口对接,登录,微信支付 报价 3000 总报价:5600

Android 开发:

整体UI: 背包,我的,四个消息界面,五个直播姐页面,登录注册,闪屏页,欢迎页,隐私协议页面,用户协议页面,支付界面 功能实现: 融云IM,后台接口对接,登录,微信支付,语音直播 总报价:9800

## Flutter 开发: 整体UI: 背包,我的,四个消息界面,五个直播页面,登录注册,闪屏页,欢迎页,隐私协议页面,用户协议页面 报价 2600 功能实现: 集成融云IM聊天拍照,后台接口对接,登录,微信支付 报价 3000 总报价:5600 ## Android 开发: 整体UI: 背包,我的,四个消息界面,五个直播姐页面,登录注册,闪屏页,欢迎页,隐私协议页面,用户协议页面,支付界面 功能实现: 融云IM,后台接口对接,登录,微信支付,语音直播 总报价:9800
Sign in to join this conversation.
No Milestone
No assignee
1 Participants
Loading...
Cancel
Save
There is no content yet.