|
GRUPOS DE DISCUSSÃO PROFISSIONAL WINDEV, WEBDEV e WINDEV Mobile |
| | | | | |
[WM 24] error at Gradie start |
Iniciado por VEGEboss, abr., 25 2019 12:05 AM - 1 resposta |
| |
| | | |
|
| |
Membro registado 88 mensagems |
|
Publicado em abril, 25 2019 - 12:05 AM |
Hello folks
I just installed Windev Mobile 24 and tried to rebuild my last Android App, but when Gradie starts I get this message
Failure creating the Android application named .
Command line: "C:\Program Files\Java\jdk1.8.0_91\bin\java.exe" -Duser.dir="D:\My Mobile Projects\GTP - iOS\Android\Gen" "-Dorg.gradle.appname=D:\My Mobile Projects\GTP - iOS\Android\Gen" -classpath "D:\Android\Gradle\lib\gradle-launcher-4.4.1.jar" org.gradle.launcher.GradleMain assembleRelease -b "D:\My Mobile Projects\GTP - iOS\Android\Gen\build.gradle"
Error returned:
FAILURE: Build failed with an exception.
* Where: Build file 'D:\My Mobile Projects\GTP - iOS\Android\Gen\build.gradle' line: 3
* What went wrong: A problem occurred evaluating root project 'Gen'. Could not find method google() for arguments [] on repository container.
* Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
Total time: 2.356 secs
I updated Gradie to ver. 4.4.1 (as requested from WM) but I don't know what to do now ...can someone help me? |
| |
| |
| | | |
|
| | |
| |
Membro registado 909 mensagems |
|
Publicado em abril, 28 2019 - 11:42 PM |
Hi. It seems a problem in the definition of the repositories for the search of Java artefacts (Maven). It seems that the definition of the Google() repository is not correct. Have you edited the list of repositories that WM24 brings by default? Try deleting the Android folder from the project folder and generate the application again.
Rubén |
| |
| |
| | | |
|
| | | | |
| | |
| | |
| |
|
|
|