-
Notifications
You must be signed in to change notification settings - Fork 13
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
App crash with java.lang.ClassNotFoundException #2
Comments
Same error, it seems that the classes from dependencies are not included in the apk's classes.dex and game always crash with java.lang.ClassNotFoundException. I try a lot of different way but no luck |
I face similar issue here |
@trash-max @lettdev @kyadalu1 The dependencies you're trying to import are not included in the Godot Android library since they're not part of the Godot project; they're part of Google's set of libraries. To include them in your project, you need to update |
@m4gr3d Godot relies on kotlin v1.7.0 so i think coroutines needs to be added as separate dependency. In many of my native android projects which uses kotlin v1.9.20 and even for some which uses kotlin v1.8.20, i never had to add couroutines as separate dependency. Will Godot 4.3 update kotlin version to 1.8 or 1.9? |
Yes, we should be able to update the Kotlin version for Godot 4.3. |
@kyadalu1 The values shown in the |
@m4gr3d Can you tell how to update the value in Godot Editor? ![]() I don't see updating the kotlin version option in above screenshot. Do i have to download godot source code, update kotlin version and somehow recompile the engine for it to take effect? |
The values cannot be updated from the Godot Editor.
Yes, you would have to rebuild the engine from source for the changes to take effect. |
@m4gr3d Can we get kotlin 1.9.20 in Godot 4.3? |
Done in godotengine/godot#87346 |
@m4gr3d Thank you so much |
Hello.
App died with java.lang.ClassNotFoundException when I used this template.
It`s crashed with any imported classes, not only GoogleApiAvailability, also task.Task and others.
upd:
godotengine/godot#86152
The text was updated successfully, but these errors were encountered: