打自定义基座包失败
- 发布:2023-10-11 23:07
- 更新:2023-10-20 18:53
- 阅读:547
产品分类: uniapp/App
PC开发环境操作系统: Mac
PC开发环境操作系统版本号: 12.3
HBuilderX类型: Alpha
HBuilderX版本号: 3.91
手机系统: Android
手机系统版本号: Android 14
手机厂商: OPPO
手机机型: 11
页面类型: vue
vue版本: vue2
打包方式: 云端
项目创建方式: HBuilderX
操作步骤:
预期结果:
可以成功
可以成功
实际结果:
失败
失败
bug描述:
animation-view 在uni-app x 下 打自定义基座包失败
Appid: UNIF61DA3D
e: Supertypes of the following classes cannot be resolved. Please make sure you have the required dependencies in the classpath:
class io.dcloud.uniapp.dom.node.PropsNode, unresolved supertypes: io.dcloud.uniapp.dom.flexbox.FlexNode
Adding -Xextended-compiler-checks argument might provide additional information.
e: file://[PackagePath]/wgtRoot/UNIF61DA3D/uni_modules/uni-animation-view/utssdk/app-android/src/index.kt:31:6 Class 'CustomAnimListener' is not abstract and does not implement abstract member public abstract fun onAnimationStart(p0: Animator): Unit defined in android.animation.Animator.AnimatorListener
e: file://[PackagePath]/wgtRoot/UNIF61DA3D/uni_modules/uni-animation-view/utssdk/app-android/src/index.kt:36:5 'onAnimationStart' overrides nothing
e: file://[PackagePath]/wgtRoot/UNIF61DA3D/uni_modules/uni-animation-view/utssdk/app-android/src/index.kt:37:5 'onAnimationEnd' overrides nothing
e: file://[PackagePath]/wgtRoot/UNIF61DA3D/uni_modules/uni-animation-view/utssdk/app-android/src/index.kt:40:5 'onAnimationEnd' overrides nothing
e: file://[PackagePath]/wgtRoot/UNIF61DA3D/uni_modules/uni-animation-view/utssdk/app-android/src/index.kt:41:5 'onAnimationCancel' overrides nothing
e: file://[PackagePath]/wgtRoot/UNIF61DA3D/uni_modules/uni-animation-view/utssdk/app-android/src/index.kt:42:5 'onAnimationRepeat' overrides nothing
e: file://[PackagePath]/wgtRoot/UNIF61DA3D/uni_modules/uni-animation-view/utssdk/app-android/src/index.kt:144:1 Cannot access 'io.dcloud.uniapp.dom.flexbox.FlexNode' which is a supertype of 'uts.sdk.modules.uniAnimationView.AnimationViewElement'. Check your module classpath for missing or conflicting dependencies
e: file://[PackagePath]/wgtRoot/UNIF61DA3D/uni_modules/uni-animation-view/utssdk/app-android/src/index.kt:144:6 Class 'AnimationViewElement' is not abstract and does not implement abstract base class member public abstract fun getChildCount(): Int defined in io.dcloud.uniapp.dom.node.DomNode
e: file://[PackagePath]/wgtRoot/UNIF61DA3D/uni_modules/uni-animation-view/utssdk/app-android/src/index.kt:145:56 Cannot access class 'io.dcloud.uniapp.dom.flexbox.FlexNode.Level'. Check your module classpath for missing or conflicting dependencies
e: file://[PackagePath]/wgtRoot/UNIF61DA3D/uni_modules/uni-animation-view/utssdk/app-android/src/index.kt:148:14 Cannot access 'io.dcloud.uniapp.dom.flexbox.FlexNode' which is a supertype of 'io.dcloud.uniapp.dom.node.DomNode'. Check your module classpath for missing or conflicting dependencies
FAILURE: Build failed with an exception.
-
What went wrong:
Execution failed for task ':uni_modules:uni-animation-view:compileReleaseKotlin'.A failure occurred while executing org.jetbrains.kotlin.compilerRunner.GradleCompilerRunnerWithWorkers$GradleKotlinCompilerWorkAction
Compilation error. See log for more details -
Try:
Run with --stacktrace option to get the stack trace.
Run with --info or --debug option to get more log output.
Run with --scan to get full insights. -
Get more help at https://help.gradle.org
BUILD FAILED in 23s
Error code = -5000
Error message:
UTS plugin @ uni_modules uni-animation-view compile error!
放弃了键盘
安卓无法播放动画,也没有任何报错
2024-07-03 10:29
DCloud_App_Array
需要打包自定义基座才可以播放动画,请更新到最新的HBuilderX生成自定义基座后重试。
2024-07-03 20:50
放弃了键盘
回复 DCloud_App_Array: HBX是最新版,也打了自定义基座,还是无法播放
2024-07-04 10:52
DCloud_App_Array
回复 放弃了键盘: 请提供apk下载地址
2024-07-04 12:32
DCloud_Android_DQQ
回复 放弃了键盘: 更新hello uni -app x dev分支最新代码。里面添加了动画组件示例
2024-07-04 12:35
放弃了键盘
回复 DCloud_Android_DQQ: 没找到示例代码在哪里?
2024-07-04 17:01
放弃了键盘
回复 DCloud_App_Array:IOS可以正常播放,安卓提示:java.lang.IllegalStateException: Unable to parse composition
2024-07-04 17:02
放弃了键盘
回复 DCloud_App_Array: 具体报错信息我发了帖子:https://ask.dcloud.net.cn/question/194245
2024-07-05 17:14
DCloud_Android_DQQ
回复 放弃了键盘: https://gitcode.net/dcloud/hello-uni-app-x/-/tree/dev/pages/template/lottie-anim
2024-07-05 17:22