华为广告打包报错,问题思考

华为广告打包时报错

fata日志不一样能反映出完整的错误日志信息,仅看fata日志具有误导性,有可能指向错误的方向。
通过看完整的日志可见,错误的原因为

Caused by: java.lang.ClassNotFoundException: com.huawei.hms.ads.base.R$dimen

fata日志

2024-03-25 20:24:27.674  3737-3737  AndroidRuntime          usap64                               E  FATAL EXCEPTION: mainProcess: cn.jj.chess.huawei, PID: 3737java.lang.RuntimeException: Unable to start activity ComponentInfo{cn.jj.chess.huawei/cn.jj.channel.ad.activity.HuaWeiSplashActivity}: android.view.InflateException: Binary XML file line #63 in cn.jj.chess.huawei:layout/tk_huawei_ad_splash_view: Binary XML file line #63 in cn.jj.chess.huawei:layout/tk_huawei_ad_splash_view: Error inflating class com.huawei.hms.ads.splash.SplashViewat android.app.ActivityThread.performLaunchActivity(ActivityThread.java:4018)at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:4168)at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:114)at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:144)at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:101)at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2630)at android.os.Handler.dispatchMessage(Handler.java:106)at android.os.Looper.loopOnce(Looper.java:257)at android.os.Looper.loop(Looper.java:368)at android.app.ActivityThread.main(ActivityThread.java:8826)at java.lang.reflect.Method.invoke(Native Method)at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:572)at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1049)Caused by: android.view.InflateException: Binary XML file line #63 in cn.jj.chess.huawei:layout/tk_huawei_ad_splash_view: Binary XML file line #63 in cn.jj.chess.huawei:layout/tk_huawei_ad_splash_view: Error inflating class com.huawei.hms.ads.splash.SplashViewCaused by: android.view.InflateException: Binary XML file line #63 in cn.jj.chess.huawei:layout/tk_huawei_ad_splash_view: Error inflating class com.huawei.hms.ads.splash.SplashViewCaused by: java.lang.reflect.InvocationTargetExceptionat java.lang.reflect.Constructor.newInstance0(Native Method)at java.lang.reflect.Constructor.newInstance(Constructor.java:343)at android.view.LayoutInflater.createView(LayoutInflater.java:877)at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:1029)at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:984)at android.view.LayoutInflater.rInflate(LayoutInflater.java:1146)at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:1107)at android.view.LayoutInflater.inflate(LayoutInflater.java:703)at android.view.LayoutInflater.inflate(LayoutInflater.java:544)at android.view.LayoutInflater.inflate(LayoutInflater.java:491)at com.android.internal.policy.PhoneWindow.setContentView(PhoneWindow.java:494)at android.app.Activity.setContentView(Activity.java:3743)at cn.jj.channel.ad.activity.HuaWeiSplashActivity.onCreate(HuaWeiSplashActivity.java:11)at android.app.Activity.performCreate(Activity.java:8757)at android.app.Activity.performCreate(Activity.java:8729)at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1475)at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3992)at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:4168)at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:114)at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:144)at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:101)at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2630)at android.os.Handler.dispatchMessage(Handler.java:106)at android.os.Looper.loopOnce(Looper.java:257)at android.os.Looper.loop(Looper.java:368)at android.app.ActivityThread.main(ActivityThread.java:8826)at java.lang.reflect.Method.invoke(Native Method)at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:572)at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1049)

完整日志

一定要看完整的日志。

2024-03-25 20:16:31.488  2281-2281  AndroidRuntime          usap64                               D  Shutting down VM
2024-03-25 20:16:31.488  2281-2281  AndroidRuntime          usap64                               E  FATAL EXCEPTION: mainProcess: cn.jj.chess.huawei, PID: 2281java.lang.RuntimeException: Unable to start activity ComponentInfo{cn.jj.chess.huawei/cn.jj.channel.ad.activity.HuaWeiSplashActivity}: android.view.InflateException: Binary XML file line #63 in cn.jj.chess.huawei:layout/tk_huawei_ad_splash_view: Binary XML file line #63 in cn.jj.chess.huawei:layout/tk_huawei_ad_splash_view: Error inflating class com.huawei.hms.ads.splash.SplashViewat android.app.ActivityThread.performLaunchActivity(ActivityThread.java:4018)at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:4168)at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:114)at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:144)at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:101)at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2630)at android.os.Handler.dispatchMessage(Handler.java:106)at android.os.Looper.loopOnce(Looper.java:257)at android.os.Looper.loop(Looper.java:368)at android.app.ActivityThread.main(ActivityThread.java:8826)at java.lang.reflect.Method.invoke(Native Method)at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:572)at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1049)Caused by: android.view.InflateException: Binary XML file line #63 in cn.jj.chess.huawei:layout/tk_huawei_ad_splash_view: Binary XML file line #63 in cn.jj.chess.huawei:layout/tk_huawei_ad_splash_view: Error inflating class com.huawei.hms.ads.splash.SplashViewCaused by: android.view.InflateException: Binary XML file line #63 in cn.jj.chess.huawei:layout/tk_huawei_ad_splash_view: Error inflating class com.huawei.hms.ads.splash.SplashViewCaused by: java.lang.reflect.InvocationTargetExceptionat java.lang.reflect.Constructor.newInstance0(Native Method)at java.lang.reflect.Constructor.newInstance(Constructor.java:343)at android.view.LayoutInflater.createView(LayoutInflater.java:877)at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:1029)at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:984)at android.view.LayoutInflater.rInflate(LayoutInflater.java:1146)at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:1107)at android.view.LayoutInflater.inflate(LayoutInflater.java:703)at android.view.LayoutInflater.inflate(LayoutInflater.java:544)at android.view.LayoutInflater.inflate(LayoutInflater.java:491)at com.android.internal.policy.PhoneWindow.setContentView(PhoneWindow.java:494)at android.app.Activity.setContentView(Activity.java:3743)at cn.jj.channel.ad.activity.HuaWeiSplashActivity.onCreate(HuaWeiSplashActivity.java:11)at android.app.Activity.performCreate(Activity.java:8757)at android.app.Activity.performCreate(Activity.java:8729)at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1475)at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3992)at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:4168)at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:114)at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:144)at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:101)at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2630)at android.os.Handler.dispatchMessage(Handler.java:106)at android.os.Looper.loopOnce(Looper.java:257)at android.os.Looper.loop(Looper.java:368)at android.app.ActivityThread.main(ActivityThread.java:8826)at java.lang.reflect.Method.invoke(Native Method)at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:572)at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1049)
2024-03-25 20:16:31.489  2281-2281  AndroidRuntime          usap64                               E  Caused by: android.view.InflateException: Binary XML file line #13 in cn.jj.chess.huawei:layout/hiad_view_splash_ad: Binary XML file line #13 in cn.jj.chess.huawei:layout/hiad_view_splash_ad: Error inflating class com.huawei.openalliance.ad.views.PPSWLSViewCaused by: android.view.InflateException: Binary XML file line #13 in cn.jj.chess.huawei:layout/hiad_view_splash_ad: Error inflating class com.huawei.openalliance.ad.views.PPSWLSViewCaused by: java.lang.reflect.InvocationTargetExceptionat java.lang.reflect.Constructor.newInstance0(Native Method)at java.lang.reflect.Constructor.newInstance(Constructor.java:343)at android.view.LayoutInflater.createView(LayoutInflater.java:877)at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:1029)at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:984)at android.view.LayoutInflater.rInflate(LayoutInflater.java:1146)at android.view.LayoutInflater.inflate(LayoutInflater.java:673)at android.view.LayoutInflater.inflate(LayoutInflater.java:544)at android.view.LayoutInflater.inflate(LayoutInflater.java:491)at android.view.View.inflate(View.java:28939)at com.huawei.openalliance.ad.views.PPSSplashView.V(Unknown Source:2)at com.huawei.openalliance.ad.views.PPSSplashView.Code(Unknown Source:0)at com.huawei.openalliance.ad.views.PPSSplashView.<init>(Unknown Source:52)at com.huawei.hms.ads.splash.SplashView.<init>(Unknown Source:0)at java.lang.reflect.Constructor.newInstance0(Native Method)at java.lang.reflect.Constructor.newInstance(Constructor.java:343)at android.view.LayoutInflater.createView(LayoutInflater.java:877)at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:1029)at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:984)at android.view.LayoutInflater.rInflate(LayoutInflater.java:1146)at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:1107)at android.view.LayoutInflater.inflate(LayoutInflater.java:703)at android.view.LayoutInflater.inflate(LayoutInflater.java:544)at android.view.LayoutInflater.inflate(LayoutInflater.java:491)at com.android.internal.policy.PhoneWindow.setContentView(PhoneWindow.java:494)at android.app.Activity.setContentView(Activity.java:3743)at cn.jj.channel.ad.activity.HuaWeiSplashActivity.onCreate(HuaWeiSplashActivity.java:11)at android.app.Activity.performCreate(Activity.java:8757)at android.app.Activity.performCreate(Activity.java:8729)at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1475)at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3992)at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:4168)at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:114)at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:144)at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:101)at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2630)at android.os.Handler.dispatchMessage(Handler.java:106)at android.os.Looper.loopOnce(Looper.java:257)at android.os.Looper.loop(Looper.java:368)at android.app.ActivityThread.main(ActivityThread.java:8826)at java.lang.reflect.Method.invoke(Native Method)at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:572)at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1049)Caused by: android.view.InflateException: Binary XML file line #10 in cn.jj.chess.huawei:layout/hiad_wls_view: Binary XML file line #10 in cn.jj.chess.huawei:layout/hiad_wls_view: Error inflating class com.huawei.hms.ads.splash.ChoicesViewCaused by: android.view.InflateException: Binary XML file line #10 in cn.jj.chess.huawei:layout/hiad_wls_view: Error inflating class com.huawei.hms.ads.splash.ChoicesViewCaused by: java.lang.reflect.InvocationTargetExceptionat java.lang.reflect.Constructor.newInstance0(Native Method)
2024-03-25 20:16:31.489  2281-2281  AndroidRuntime          usap64                               E  	at java.lang.reflect.Constructor.newInstance(Constructor.java:343)at android.view.LayoutInflater.createView(LayoutInflater.java:877)at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:1029)at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:984)at android.view.LayoutInflater.rInflate(LayoutInflater.java:1146)at android.view.LayoutInflater.inflate(LayoutInflater.java:673)at android.view.LayoutInflater.inflate(LayoutInflater.java:544)at android.view.LayoutInflater.inflate(LayoutInflater.java:491)at android.view.View.inflate(View.java:28939)at com.huawei.openalliance.ad.views.PPSWLSView.Code(Unknown Source:2)at com.huawei.openalliance.ad.views.PPSWLSView.<init>(Unknown Source:3)at java.lang.reflect.Constructor.newInstance0(Native Method)at java.lang.reflect.Constructor.newInstance(Constructor.java:343)at android.view.LayoutInflater.createView(LayoutInflater.java:877)at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:1029)at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:984)at android.view.LayoutInflater.rInflate(LayoutInflater.java:1146)at android.view.LayoutInflater.inflate(LayoutInflater.java:673)at android.view.LayoutInflater.inflate(LayoutInflater.java:544)at android.view.LayoutInflater.inflate(LayoutInflater.java:491)at android.view.View.inflate(View.java:28939)at com.huawei.openalliance.ad.views.PPSSplashView.V(Unknown Source:2)at com.huawei.openalliance.ad.views.PPSSplashView.Code(Unknown Source:0)at com.huawei.openalliance.ad.views.PPSSplashView.<init>(Unknown Source:52)at com.huawei.hms.ads.splash.SplashView.<init>(Unknown Source:0)at java.lang.reflect.Constructor.newInstance0(Native Method)at java.lang.reflect.Constructor.newInstance(Constructor.java:343)at android.view.LayoutInflater.createView(LayoutInflater.java:877)at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:1029)at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:984)at android.view.LayoutInflater.rInflate(LayoutInflater.java:1146)at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:1107)at android.view.LayoutInflater.inflate(LayoutInflater.java:703)at android.view.LayoutInflater.inflate(LayoutInflater.java:544)at android.view.LayoutInflater.inflate(LayoutInflater.java:491)at com.android.internal.policy.PhoneWindow.setContentView(PhoneWindow.java:494)at android.app.Activity.setContentView(Activity.java:3743)at cn.jj.channel.ad.activity.HuaWeiSplashActivity.onCreate(HuaWeiSplashActivity.java:11)at android.app.Activity.performCreate(Activity.java:8757)at android.app.Activity.performCreate(Activity.java:8729)at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1475)at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3992)at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:4168)at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:114)at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:144)at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:101)at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2630)at android.os.Handler.dispatchMessage(Handler.java:106)at android.os.Looper.loopOnce(Looper.java:257)at android.os.Looper.loop(Looper.java:368)at android.app.ActivityThread.main(ActivityThread.java:8826)at java.lang.reflect.Method.invoke(Native Method)at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:572)at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1049)Caused by: java.lang.NoClassDefFoundError: Failed resolution of: Lcom/huawei/hms/ads/base/R$dimen;at com.huawei.hms.ads.splash.ChoicesView.Code(Unknown Source:8)at com.huawei.hms.ads.splash.ChoicesView.<init>(Unknown Source:3)... 55 more
2024-03-25 20:16:31.489  2281-2281  AndroidRuntime          usap64                               E  Caused by: java.lang.ClassNotFoundException: com.huawei.hms.ads.base.R$dimen... 57 more

收不到回调问题研究

添加华为闪屏页后,我们在java包中创建了一个activity,创建的此activity中的内容,没有进行防混淆。

导致华为this.splashView.load时传入的第var5参数异常。与逆向导入资源的名称不一致。程序虽然没有报错,但是一直收不到相关回调。

SplashView.SplashAdLoadListener var5;var5 = new SplashView.SplashAdLoadListener() {public void onAdLoaded() {String[] var1;(var1 = new String[1])[0] = "onAdLoaded";LogUtils.logI("TK_HuaWeiSplashActivity", var1);}public void onAdFailedToLoad(int var1) {String[] var2;(var2 = new String[1])[0] = "onAdFailedToLoad";LogUtils.logI("TK_HuaWeiSplashActivity", var2);}public void onAdDismissed() {String[] var1;(var1 = new String[1])[0] = "onAdDismissed";LogUtils.logI("TK_HuaWeiSplashActivity", var1);}}.<init>();String[] var3;(var3 = new String[1])[0] = "splashAdLoadListener:" + <undefinedtype>.class;LogUtils.logI("TK_HuaWeiSplashActivity", var3);this.splashView.load(splash_ad_id, this.splash_game_orientation, var1, var5);

在这里插入图片描述

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.rhkb.cn/news/290150.html

如若内容造成侵权/违法违规/事实不符,请联系长河编程网进行投诉反馈email:809451989@qq.com,一经查实,立即删除!

相关文章

HarmonyOS 应用开发之ExtensionAbility组件

ExtensionAbility组件是基于特定场景&#xff08;例如服务卡片、输入法等&#xff09;提供的应用组件&#xff0c;以便满足更多的使用场景。 每一个具体场景对应一个 ExtensionAbilityType&#xff0c;开发者只能使用&#xff08;包括实现和访问&#xff09;系统已定义的类型。…

双链表的基本操作

一.双链表的初始化&#xff1a; typedef struct DNode{ //定义双链表结点类型 ElemType data; //数据域 struct DNode*prior, *next; //前驱和后继指针 }DNode&#xff0c;*DLinklist;//初始化双链表 bool InitDLinkList(DLinklist &L){ L ( DNod…

Pytorch的hook函数

hook函数是勾子函数&#xff0c;用于在不改变原始模型结构的情况下&#xff0c;注入一些新的代码用于调试和检验模型&#xff0c;常见的用法有保留非叶子结点的梯度数据&#xff08;Pytorch的非叶子节点的梯度数据在计算完毕之后就会被删除&#xff0c;访问的时候会显示为None&…

第二证券|刚刚,巨象突袭!发生了什么?

又是观看“巨象”表演的一天&#xff01; 今日早盘&#xff0c;A股总市值排前14的股票无一杀跌&#xff0c;三桶油更是集体拉升&#xff0c;我国石油涨超4%&#xff0c;我国海油涨近3%&#xff0c;我国石化涨超2%。排在后面的我国移动、我国电信等股价表现和走势也相当不错。 …

OneNote 中的云端字典在哪里? RoamingCustom.dic 在哪里?

早期懵懂不知&#xff0c;使用 OneNote 时直接将所有标红的单词添加到字典中了。后面才发现默认会添加到云端字典中。因为云端字典是存储在云端上的&#xff0c;所以 onenote 没有给出路径&#xff1a; 难道没办法获取了吗&#xff1f;有的&#xff01; 方案如下&#xff1a;考…

动态多态的注意事项

大家好&#xff1a; 衷心希望各位点赞。 您的问题请留在评论区&#xff0c;我会及时回答。 多态的基本概念 多态是C面向对象三大特性之一&#xff08;多态、继承、封装&#xff09; 多态分为两类&#xff1a; 静态多态&#xff1a;函数重载和运算符重载属于静态多态&#x…

php 快速入门(七)

一、操作数据库 1.1 操作MySQL的步骤 第一步&#xff1a;登录MySQL服务器 第二步&#xff1a;选择当前数据库 第三步&#xff1a;设置请求数据的字符集 第四步&#xff1a;执行SQL语句 1.2 连接MySQL 函数1&#xff1a;mysql_connect() 功能&#xff1a;连接&#xff08;登录…

八大技术趋势案例(人工智能物联网)

科技巨变,未来已来,八大技术趋势引领数字化时代。信息技术的迅猛发展,深刻改变了我们的生活、工作和生产方式。人工智能、物联网、云计算、大数据、虚拟现实、增强现实、区块链、量子计算等新兴技术在各行各业得到广泛应用,为各个领域带来了新的活力和变革。 为了更好地了解…

文件上传失败原因分析与解决

图片文件上传失败 问题描述&#xff1a;在前端开发时&#xff0c;需要通过表单元素上传图片或其他文本&#xff0c;但是上传不成功&#xff0c;后端接口也没问题 html <!--onChange用来绑定数据 handleUpload用来提交数据--><form onSubmit{handleUpload}><…

联想 lenovoTab 拯救者平板 Y700 二代_TB320FC原厂ZUI_15.0.677 firmware 线刷包9008固件ROM root方法

联想 lenovoTab 拯救者平板 Y700 二代_TB320FC原厂ZUI_15.0.677 firmware 线刷包9008固件ROM root方法 ro.vendor.config.lgsi.market_name拯救者平板 Y700 ro.vendor.config.lgsi.en.market_nameLegion Tab Y700 #ro.vendor.config.lgsi.short_market_name联想平板 ZUI T # B…

图论之路径条数专题

一直忙着金工实习蓝桥杯&#xff0c;好久没有看图论了&#xff0c;今天就小试几题享受下被虐的快感。 1.最短路拓扑 首先来几个结论&#xff1a; 1.最短路图没有环&#xff08;可以用反证法证明&#xff09; 2.dis[u]edge[u,v]dis[v]&#xff0c;那么u,v端点的边一定在最短路…

【Redis】redis主从复制

概述 常见的Redis高可用的方案包括持久化、主从复制&#xff08;及读写分离&#xff09;、哨兵和集群。其中持久化侧重解决的是Redis数据的单机备份问题&#xff08;从内存到硬盘的备份&#xff09;&#xff1b;而主从复制则侧重解决数据的多机热备。此外&#xff0c;主从复制…

AI浸入社交领域,泛娱乐APP如何抓住新风口?

2023年是大模型技术蓬勃发展的一年&#xff0c;自ChatGPT以惊艳姿态亮相以来&#xff0c;同年年底多模态大模型技术在国内及全球范围内的全面爆发&#xff0c;即模型能够理解并生成包括文本、图像、视频、音频等多种类型的内容。例如&#xff0c;基于大模型的文本到图像生成工具…

FPGA 图像边缘检测(Canny算子)

1 顶层代码 timescale 1ns / 1ps //边缘检测二阶微分算子&#xff1a;canny算子module image_canny_edge_detect (input clk,input reset, //复位高电平有效input [10:0] img_width,input [ 9:0] img_height,input [ 7:0] low_threshold,input [ 7:0] high_threshold,input va…

2024.3.28学习笔记

今日学习韩顺平java0200_韩顺平Java_对象机制练习_哔哩哔哩_bilibili 今日学习p286-p294 继承 继承可以解决代码复用&#xff0c;让我们的编程更加靠近人类思维&#xff0c;当多个类存在相同的属性和方法时&#xff0c;可以从这些类中抽象出父类&#xff0c;在父类中定义这些…

从人工智能入门到理解ChatGPT的原理与架构的第一天(First)(含机器学习特征工程详解)

目录 一.ChatGPT的发展历程 二.Attention is all you need 三.对于GPT-4的智能水平评估 四.大语言模型的技术演化 1.从符号主义到连接主义 2.特征工程 2.1数据探索 2.2数据清洗 2.3数据预处理 2.3.1无量纲化 2.3.1.1标准化 2.3.1.2区间缩放法 2.3.1.3标准化与归一…

42 ajax 下载文件未配置 responseType blob 导致的文件异常

前言 这是一个最近的关于文件下载碰到的一个问题 主要的情况是, 基于 xhr 发送请求, 获取下载的文件 然后 之后 xhr 这边拿到 字节序列之后, 封装 blob 来进行下载 然后 最开始我们这边没有配置 responseType 为 blob, arraybuffer, 然后 导致下载出来的 文件大小超过了…

语音模块摄像头模块阿里云结合,实现垃圾的智能识别

语音模块&摄像头模块&阿里云结合 文章目录 语音模块&摄像头模块&阿里云结合1、实现的功能2、配置2.1 软件环境2.2 硬件配置 3、程序介绍3.1 程序概况3.2 语言模块SDK配置介绍3.3 程序文件3.3.1 开启摄像头的程序3.3.2 云端识别函数( Py > C ) & 串口程序…

Flask学习(六):蓝图(Blueprint)

蓝图&#xff08;Blueprint&#xff09;&#xff1a;将各个业务进行区分&#xff0c;然后每一个业务单元可以独立维护&#xff0c;Blueprint可以单独具有自己的模板、静态文件或者其它的通用操作方法&#xff0c;它并不是必须要实现应用的视图和函数的。 Demo目录结构&#xf…

基于js css的瀑布流demo

要实现照片按照瀑布流展示&#xff0c;写个小demo&#xff0c;记录下。 瀑布流实现思路如下&#xff1a; CSS 弹性布局对 3 列按横向排列&#xff0c;对每一列内部按纵向排列 html代码&#xff1a; <div class"content"></div> css代码&#xff1a; …