Welcome! Log In Create A New Profile

Advanced

[WM 22] Error generating apk file???

Posted by infos 
[WM 22] Error generating apk file???
May 06, 2019 10:02PM
Hello everyone

When generating apk file, do I have the following error?

-------------------------------------------------------------------------------------------------------------------------------------------------
Failure creating the Android application named <J:\My Mobile Projects\Infos\Exe\Infos.apk>.


Command Line: "C:\Program Files\Java\jdk1.8.0_171\bin\java.exe" "-Dorg.gradle.appname=J:\My Mobile Projects\Infos\Android\Generation" -classpath "J:\gradle-2.14.1\lib\gradle-launcher-2.14.1.jar" org.gradle.launcher.GradleMain assembleDebug -b "J:\My Mobile Projects\Infos\Android\Generation\build.gradle"


Error returned:

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring root project 'Generation'.
> Could not resolve all dependencies for configuration ':classpath'.
> Could not resolve com.android.tools.build:gradle:2.2.0.
Required by:
:Generation:unspecified
> Could not resolve com.android.tools.build:gradle:2.2.0.
> Could not get resource '[jcenter.bintray.com];.
> Could not GET '[jcenter.bintray.com];.
> jcenter.bintray.com

* 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.75 secs

----------------------------------------------------------------------------------------------------------------------------------------------------------------


What shall I do?
Deleted the Temp folder but again I have a mistake
C:\Users\yourlogin\AppData\Local\Temp\FRMK_Android_

[infosonline.net]



Edited 3 time(s). Last edit at 05/06/2019 10:13PM by infos.
Re: [WM 22] Error generating apk file???
May 06, 2019 10:16PM
Hi. You need to check your Gradle installation. He's not finding some of the libraries he needs to run.

Rubén
Re: [WM 22] Error generating apk file???
May 07, 2019 09:43PM
Greeting

I tried to replace Gradle but again I get the same mistake. The error occurs on all my WM applications.

I do not know what to do?

[infosonline.net]
Re: [WM 22] Error generating apk file???
May 16, 2019 03:04PM
Greeting

I solved the problem

[infosonline.net]
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: