PC SOFT

FORUMS PROFESSIONNELS
WINDEVWEBDEV et WINDEV Mobile

Accueil → WINDEV Mobile 2024 → Getting WinDev Mobile working
Getting WinDev Mobile working
Débuté par OGRP, 22 déc. 2017 13:01 - 10 réponses
Membre enregistré
17 messages
Posté le 22 décembre 2017 - 13:01
Hi

Having just upgraded to Windev Mobile 22 we were unable to automatically install the required java/android components so we have installed them ourselves but Windev still will not get past generate!

All components installed as per link
http://doc.windev.com/…

We have two errors showing.
A. No Java compiler 64 bits (version 1.8 or later) was found. --> Java SDK has been installed!
B. When you try and continue, message No 'Android SDK build-tools' of Android SDK is installed.

We have tried various versions but current paths are set to
C:\Android Studio\gradle\gradle-4.1
C:\Android Studio

We have been unable to get a urgent project out (deadline today) so help is really appreciated.
Posté le 22 décembre 2017 - 14:19
Hi

first, the message seems to indicate that you installed the 64 bits
version of windev mobile...

I strongly advise against that as it introduces a number of well known
problems.

Then, directly related to your problem:

Look in the help of YOUR version of windev mobile, and you will find a
PRECISE list of versions to use (java, sdk, etc). Most of the time, the
message that you are getting comes from the fact that you installed a
newer version of the sdk AND/OR of java and it is simply not recognized...

it could also be that you installed a 32bits java and a 64 bits windev
mobile. If you decide to keep your 64 bits windev mobile, EVERYTHING
else ALSO needs to be 64 bits.

Best regards

--
Fabrice Harari
International WinDev, WebDev and WinDev mobile Consulting

Ready for you: WXShowroom.com, WXReplication (open source) and now WXEDM
(open source)

More information on http://www.fabriceharari.com




Le 12/22/2017 à 7:01 AM, OGRP a écrit :
Hi

Having just upgraded to Windev Mobile 22 we were unable to automatically
install the required java/android components so we have installed them
ourselves but Windev still will not get past generate!

All components installed as per link
http://doc.windev.com/…

We have two errors showing. A. No Java compiler 64 bits (version 1.8 or
later) was found.  --> Java SDK has been installed!
B. When you try and continue, message No 'Android SDK build-tools' of
Android SDK is installed.

We have tried various versions but current paths are set to
C:\Android Studio\gradle\gradle-4.1
C:\Android Studio
We have been unable to get a urgent project out (deadline today) so help
is really appreciated.
Membre enregistré
17 messages
Posté le 22 décembre 2017 - 16:59
Hi

Thank you for the response. We have made some progress by finding and downloading 2015 version of Android SDK and then using the SDK Manager to do updates. I will post the details here later.

Everything is 64 bit. It seems that it does not know where javac is. Is there a particular system variable I need to add to let windev mobile know where to find javac?

"Look in the help of YOUR version of windev mobile, and you will find a PRECISE list of versions to use (java, sdk, etc)." A link would be very useful here as I cannot seem to find this and any links seem to be out of date.

Really appreciated.

Have a great Xmas and new year
Posté le 22 décembre 2017 - 18:33
Hi,
"Look in the help of YOUR version of windev mobile, and you will find a
PRECISE list of versions to use (java, sdk, etc)."  A link would be very
useful here as I cannot seem to find this and any links seem to be out
of date.


I cannot link to a help page for YOUR version without knowing what it is...

Just setup the help to use the LOCAL help files, and look in it for
android development, everything is described there.

Best regards

--
Fabrice Harari
International WinDev, WebDev and WinDev mobile Consulting

Ready for you: WXShowroom.com, WXReplication (open source) and now WXEDM
(open source)

More information on http://www.fabriceharari.com


Really appreciated.
Have a great Xmas and new year
Posté le 23 décembre 2017 - 10:18
Hi

Thank you very much for your help. The search for "Android Development" helped a little but sent me back to the pages I have looked at before.

The lack of official technical support for Windev is very concerning, especially when you have purchased an upgrade of the product and cannot get it to work. We have missed the deadline on a very important project and the management team are not pleased. The links and instructions below are out of date.

https://doc.windev.com/en-US/…

We have windev mobile version 22 64 bit.
The Java 64 bit SDK has been downloaded and installed in C:\Program Files and the PATH has been set up to the java and bin directories.
I am guessing that Windev mobile is looking for compiler javac . I believe two things could be wrong

A. It is looking in the wrong place - Can this be configured in Windev Mobile or can we set an environmental variable?
B. It is looking for a compiler with a different name. What should I rename javac to?
or could it be something else?

Windev mobile reports that it cannot find the java compiler

Hopefully someone can help and resolve this case. Really appreciated.
Membre enregistré
17 messages
Posté le 23 décembre 2017 - 10:38
Hi

Thank you very much for your help. We use Windev mobile version 22 64 bit.

The product is reporting that it cannot find the java compiler

We have been to these pages and everything seems to be in order
https://doc.windev.com/en-US/…

Java SDK has installed in
C:\Program Files

I can see two potential issues

A. Windev mobile is looking in the wrong place for the compiler. How can we set it to look in the right place? is there a environmental variable that needs to be altered. The PATH is set correctly to both the java SDK and /bin.

B. Windev mobile is looking for a complier with a different name (i.e. not javac). If this is the case what name is it looking for?

Hopefully someone can help us and get us working as our critical project has already been delayed due to this upgrade. Official technical support is very poor and this is very concerning if they want good reviews for windev mobile and other people using the product.

Thank you once again for your time and effort.
Posté le 23 décembre 2017 - 14:01
Hi

if you are not following my advice, I cannot help you, sorry...

You are pointing to an ONLINE help page which MAY or MAY not concern
your version of windev mobile, while I told you to use the LOCAL help
that WILL MATCH your version to find WHICH version of each tool you need
to install and how...

That's what I did for EACH version of windev mobile without any problem...

As for PCSoft support, you have to ask for it using the specific tool
for a request, here, it's the USER forum...

Finally, I see that you are still using the 64 bits version of windev
mobile even though I advised against it...

So, from now on, cont me out... And good luck

Best regards

--
Fabrice Harari
International WinDev, WebDev and WinDev mobile Consulting

Ready for you: WXShowroom.com, WXReplication (open source) and now WXEDM
(open source)

More information on http://www.fabriceharari.com


Le 12/23/2017 à 4:38 AM, OGRP a écrit :
Hi

Thank you very much for your help.  We use Windev mobile version 22 64 bit.
The product is reporting that it cannot find the java compiler
We have been to these pages and everything seems to be in order
https://doc.windev.com/en-US/…

Java SDK has installed in C:\Program Files

I can see two potential issues

A. Windev mobile is looking in the wrong place for the compiler.  How
can we set it to look in the right place? is there a environmental
variable that needs to be altered.  The PATH is set correctly to both
the java SDK and /bin.

B. Windev mobile is looking for a complier with a different name (i.e.
not javac).  If this is the case what name is it looking for?

Hopefully someone can help us and get us working as our critical project
has already been delayed due to this upgrade.  Official technical
support is very poor and this is very concerning if they want good
reviews for windev mobile and other people using the product.

Thank you once again for your time and effort.
Membre enregistré
794 messages
Popularité : +40 (42 votes)
Posté le 23 décembre 2017 - 17:47
Hi. You can't use Gradle 4.x with WM. The las correct Gradle version compatible with WM is 3.5.1

Rubén
Membre enregistré
17 messages
Posté le 23 décembre 2017 - 22:18
Thank you everyone for your help and support. This has now been finally solved. I would highly recommend Windev update their on-line help and Windev upload required downloads/instructions from the file combination that does work as below.

If you have a new PC or upgrade Windev Mobile to 64 bit, from an older version to 22/23 (out soon) you may find that you are unable to create an API as Windev mobile complains about missing/incorrect files such as Android SDK Tools, Java Compiler, etc. As of this posting DO NOT follow links in the Windev documentation as they are out of date and will send you to download links that will NOT work with Windev Mobile. Getting Windev mobile to automatically install also may not work. The following worked for me.

A. Download Android SDK Tools 2015 version and install into c:\androidsdk
http://www.owensgroup.uk/sentinal/installer_r24.0.2-windows.zip

B. Run SDK Manager from the folder c:\androidsdk (takes a few seconds to start up)

C. From the SDK Manager, tick/install Android SDK Tools (25.2.5), Android SDK Platform-tools (27), Android SDK Build-Tools (23.0.1), Android SDK Platform, Extras-> Android Support Repository (47), Extras-> Instant Apps Development SDK (1.1), Extras->Google Repository (58). These will take a while to update and install and you may need to close and restart SDK Manager after a set of updates has been completed.

D. Download Gradle and install into c:\gradle
http://www.owensgroup.uk/sentinal/gradle-2.14.1-bin.zip

E. Create System variable (environmental variable) called GRADLE_HOME and set the value to c:\gradle

F. Add c:\gradle\bin to the system variable (environmental variable) PATH

G. Download and install java JDK and install into c:\java
http://www.owensgroup.uk/sentinal/jdk-8u152-windows-x64.zip

H. Create System variable (environmental variable) called JAVA_HOME and set the value to c:\java

I. Add c:\java\bin\ to the system variable (environmental variable) PATH

J. Add c:\java to the system variable (environmental variable) PATH

K. Run Windev mobile, open project and click Generate. Manually add Gradle path as c:\gradle\ and Path of Android SDK as c:\androidsdk

Hopefully this will work smoothly for everyone else who encounters these issues.
Message modifié, 23 décembre 2017 - 22:38
Posté le 24 janvier 2018 - 14:49
None of your links to "owensgroup.uk" works! 403 - Forbidden: Access is denied.
Not http://www.owensgroup.uk/sentinal/installer_r24.0.2-windows.zip
Not http://www.owensgroup.uk/sentinal
Yes: http://www.owensgroup.uk does something, but where to find sentinal?

Nice that you found how to do it 64-bits.
Which links do I need for the 32-bits version of WinDev-Mobile?
Membre enregistré
794 messages
Popularité : +40 (42 votes)
Posté le 24 janvier 2018 - 17:16
Hi. The only 32/64 bits dependant is Java SDK, the other links are for both configurations.

Rubén