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:

  1. Check if the pom.xml file exists in the root directory of the osmdroid-android project.

  2. Verify that the version property is defined in the pom.xml file. It should look something like this:

    1.0.0

  3. If the version property is missing, add it to the pom.xml file.

  4. 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

  5. If the issue still persists, try updating the Gradle version or the Gradle wrapper version to the latest one

Could not get unknown property pomversion for project osmdroid-android of type orggradleapiProject

原文地址: http://www.cveoy.top/t/topic/hwsW 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录