Coder Social home page Coder Social logo

Comments (4)

ericyzhu avatar ericyzhu commented on June 26, 2024

需要启用 AndroidX 的支持。官方文档

from cordova-plugin-bytedance-union-ad.

wuxiaomo6174 avatar wuxiaomo6174 commented on June 26, 2024

需要启用 AndroidX 的支持。官方文档

是下面这个 对吧?

preference name="AndroidXEnabled" value="true"

开启 和 不开启,我都试过,都不行

from cordova-plugin-bytedance-union-ad.

wuxiaomo6174 avatar wuxiaomo6174 commented on June 26, 2024

编译信息中可以看到 启用了 AndroidXEnabled
[Gradle Properties] Detected Gradle property "android.useAndroidX" with the value of "true", Cordova's recommended value is "false"
[Gradle Properties] Detected Gradle property "android.enableJetifier" with the value of "true", Cordova's recommended value is "false"

from cordova-plugin-bytedance-union-ad.

cike987 avatar cike987 commented on June 26, 2024

java.lang.RuntimeException: Unable to get provider com.bytedance.sdk.openadsdk.TTFileProvider: java.lang.ClassNotFoundException: Didn't find class "com.bytedance.sdk.openadsdk.TTFileProvider" on path: DexPathList[[zip file "/data/app/com.abc.efg-y4SaNLKk9kpKsAOpRF8azQ==/base.apk"],nativeLibraryDirectories=[/data/app/com.abc.efg-y4SaNLKk9kpKsAOpRF8azQ==/lib/arm64, /data/app/com.abc.efg-y4SaNLKk9kpKsAOpRF8azQ==/base.apk!/lib/arm64-v8a, /system/lib64, /hw_product/lib64, /system/product/lib64]]
at android.app.ActivityThread.installProvider(ActivityThread.java:7907)
at android.app.ActivityThread.installContentProviders(ActivityThread.java:7443)
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:7336)
at android.app.ActivityThread.access$2400(ActivityThread.java:308)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2295)
at android.os.Handler.dispatchMessage(Handler.java:110)
at android.os.Looper.loop(Looper.java:219)
at android.app.ActivityThread.main(ActivityThread.java:8349)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:513)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1055)

    一运行就报错了

from cordova-plugin-bytedance-union-ad.

Related Issues (2)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.