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

Some issues when initializing mapsforge #1987

Open
jayhuang861019 opened this issue Mar 28, 2024 · 0 comments
Open

Some issues when initializing mapsforge #1987

jayhuang861019 opened this issue Mar 28, 2024 · 0 comments

Comments

@jayhuang861019
Copy link

Issue Type

[ ] Question

Version

osmdroid-android-6.1.13 && osmdroid-mapsforge-6.1.13

I have correctly introduced the mapsforge related dependencies according to the relevant tutorials, but there has been an error during the initialization call.
MapsForgeTileSource.createInstance(MyApplication.getApplication());

The specific error information is as follows

java.lang.NoSuchMethodError: No static method createInstance(Landroid/app/Application;)V in class Lorg/mapsforge/map/android/graphics/AndroidGraphicFactory; or its super classes

How can I solve this problem

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