Skip to content

[VTM] MapView class not found (android package) #959

Answered by johnkeel-thork
xamix asked this question in Q&A
Discussion options

You must be logged in to vote

Can confirm the same behaviour on:

Compile Sdk 33
Build Tools 33.0.0
Gradle Plugin 7.3.1
Gradle Version 7.5.1

Seems to started happening only on the most recent grade versions.

The solution is to change the order, just doing this order will fix it:

implementation 'org.mapsforge:vtm-android:0.18.0:natives-armeabi-v7a'
implementation 'org.mapsforge:vtm-android:0.18.0:natives-arm64-v8a'
implementation 'org.mapsforge:vtm-android:0.18.0:natives-x86'
implementation 'org.mapsforge:vtm-android:0.18.0:natives-x86_64'
implementation 'org.mapsforge:vtm-android:0.18.0'

Natives first!
Probably should add this info in the guides?

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@xamix
Comment options

@xamix
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by devemux86
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants