Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

We are getting error in android build "Classloader failed to find class of com/cocos/service/ServiceVungleAd". #1

Open
ionwebs opened this issue Jul 10, 2022 · 0 comments

Comments

@ionwebs
Copy link

ionwebs commented Jul 10, 2022

Following are the lines from log to see

2022-07-10 14:19:43.757 22412-22450/com.cocos.android D/jswrapper: JS: Success to load scene: db://assets/scene-2d.scene
2022-07-10 14:19:43.847 22412-22450/com.cocos.android D/JniHelper: JniHelper::getJavaVM(), pthread_self() = 481908344048
2022-07-10 14:19:43.847 22412-22450/com.cocos.android D/JavaScriptJavaBridge: Classloader failed to find class of com/cocos/service/ServiceVungleAd
2022-07-10 14:19:43.848 22412-22450/com.cocos.android E/JavaScriptJavaBridge: [ERROR] (C:/CocosDashboard_1.2.0/resources/.editors/Creator/3.5.1/resources/resources/3d/engine/native/cocos/bindings/manual/JavaScriptJavaBridge.cpp, 608): call valid: 0, call.getArgumentsCount()= 1
2022-07-10 14:19:43.848 22412-22450/com.cocos.android E/JavaScriptJavaBridge: [ERROR] Failed to invoke JavaScriptJavaBridge_callStaticMethod, location: C:/CocosDashboard_1.2.0/resources/.editors/Creator/3.5.1/resources/resources/3d/engine/native/cocos/bindings/manual/JavaScriptJavaBridge.cpp:614
2022-07-10 14:19:43.849 22412-22450/com.cocos.android D/jswrapper: JS: [ERROR]: Error: class not found
    Error: class not found
        at Object.callNativeMethod (src/assets/cs-vungle/vunglead.js:86:58)
        at l.setLogDebug (src/assets/cs-vungle/vunglead.js:187:17)
        at w.start (assets/main/index.js:5:3008)
        at eval (eval at rw (src/cocos-js/cc.js:1:1551650), <anonymous>:3:65)
        at sw._invoke (src/cocos-js/cc.js:1:1551708)
        at sw.invoke (src/cocos-js/cc.js:1:1550913)
        at _w.startPhase (src/cocos-js/cc.js:1:1553070)
        at pP.tick (src/cocos-js/cc.js:1:1609982)
        at e (src/cocos-js/cc.js:1:1602760)
        at tick (jsb-adapter/jsb-builtin.js:601:7)
2022-07-10 14:19:44.075 22412-22487/com.cocos.android I/Cocos: 14:19:44 [INFO]: Shader 'standard|standard-vs|standard-fs|CC_USE_HDR1' compilation succeeded.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant