混合开发,在集成视频时,需要将代码写到自定义的application中(MyApplication),
使用离线打包时
android:name="io.dcloud.application.DCloudApplication"
android:allowBackup="true"
android:allowClearUserData="true"
android:icon="@drawable/icon"
android:label="@string/app_name"
android:largeHeap="true"
android:supportsRtl="true">
android:name已经定义了,
我将android:name改为自己的 android:name=".MyApplication",进行打包,报错
Attribute application@name value=(com.daoyixing.qdinghuo.application.MyApplication) from AndroidManifest.xml:40:9-50
is also present at [:lib.5plus.base-release:] AndroidManifest.xml:78:9-63 value=(io.dcloud.application.DCloudApplication).
Suggestion: add 'tools:replace="android:name"' to element at AndroidManifest.xml:39:5-108:19 to override.
已试过MyApplication继承DCloudApplication,还是报错
上面催的很紧,想问下各位大神我该如何处理,先谢谢各位了