Could not get unknown property pomversion for project osmdroid-android of type orggradleapiProject
This error message indicates that Gradle is unable to find the version property in the pom.xml file of the osmdroid-android project.
To resolve this issue, you can try the following steps:
-
Check if the pom.xml file exists in the root directory of the osmdroid-android project.
-
Verify that the version property is defined in the pom.xml file. It should look something like this:
1.0.0 -
If the version property is missing, add it to the pom.xml file.
-
If the version property is present but the error persists, try running the Gradle build with the --refresh-dependencies flag to force Gradle to refresh its dependency cache.
./gradlew clean build --refresh-dependencies
-
If the issue still persists, try updating the Gradle version or the Gradle wrapper version to the latest one
原文地址: http://www.cveoy.top/t/topic/hwsW 著作权归作者所有。请勿转载和采集!