PC SOFT

GRUPOS DE DISCUSSÃO PROFISSIONAL
WINDEVWEBDEV e WINDEV Mobile

Inicio → WINDEV Mobile 2024 → Installing and Compiling with API level 26 Android
Installing and Compiling with API level 26 Android
Iniciado por Rogelio, mai., 10 2018 10:36 PM - 9 respostas
Publicado em maio, 10 2018 - 10:36 PM
Hello there people, as you all know from August 2018 all android apps will have to target AT LEAST API level 26 to be able to upload to the google play store. the problem is that Windev mobile 22, as long as you tell it to download automatically graddle and the android SDK all is good, but the way the IDE downloads the SDL is weird because there is no SDK manager or nothing, and if you download it yourself and install it if you tell windev the directory where the SDK is the build just fails saying you are using deprecated features and that that are not compatible wit Gradle 5.0.

Has anyone succeeded with installing both Graddle and Android SDK where you can easily add API levels and use them for compilation that actually works ? How can i add the API level 26 to Windev 22 and use it ?

Thanks
Membro registado
794 mensagems
Popularité : +40 (42 votes)
Publicado em maio, 11 2018 - 2:53 PM
Hi.

The last correct Gradle version for WM is the 3.5.1 version. All later versions do not work, but 3.5.1 is good.

For the SDK try https://developer.android.com/studio/…, you can update this SDK version.

Rubén
Publicado em maio, 11 2018 - 5:04 PM
Thanks Ruben
Publicado em maio, 24 2018 - 9:25 AM
Rubén Sánchez Peña wrote:
Hi.

The last correct Gradle version for WM is the 3.5.1 version. All later versions do not work, but 3.5.1 is good.

For the SDK try https://developer.android.com/studio/…, you can update this SDK version.

Rubén


Hi Rubén,
i'm using the last US version of WM 23 (50u) with gradle 3.5.1 and Android version 8.0.1, and when i upload an app to the Play Store i get a warning because i'm using api level 24 (theoretically it should be api level 26)
Do you know what is the problem ?
Membro registado
5 mensagems
Publicado em maio, 25 2018 - 12:05 PM
Answer from pc-soft technical support:

"The "Update 3" of WINDEV Mobile 23, which is soon online, has been adapted to this Google request:

- the target API level has been raised to 26,

- the framework has been adapted to compensate for the changes imposed by this change.

You therefore have no immediate action to perform, simply recompile your application with the update of WINDEV Mobile 23. "
Publicado em setembro, 26 2018 - 5:03 PM
How exactly do you target API level 26 and up?
Does it mean you have to choose Android 8.0 and up?
Will phones running 7.0 and lower not be able to use the app?

Thanks

Jim
Membro registado
794 mensagems
Popularité : +40 (42 votes)
Publicado em setembro, 27 2018 - 7:32 PM
Hi, really only devices with Android version >= 26 will be able to take advantage of the new security features of the SDK (the question to the user about the "dangerous" permissions that the application uses). The problem comes when a previous version of the SDK is used in devices that can use these new security advantages, so they don't really apply and the device still uses the features of the old ones to work.

Rubén
Publicado em março, 19 2019 - 12:23 AM
no es necesario actulizar a la version 23 o 24 se puede corregir en la compilacion con 21 y 22 sin problemas
Publicado em março, 19 2019 - 12:23 AM
no es necesario actulizar a la version 23 o 24 se puede corregir en la compilacion con 21 y 22 sin problemas
Membro registado
794 mensagems
Popularité : +40 (42 votes)
Publicado em abril, 01 2019 - 5:44 PM
Hi. You can change the compilation SDK to version 26 as you say. The problem is that in versions 21 and 22 that you mention if you make that change will give you runtime errors, since they are not prepared for the new needs of version 26.

The WM framework needs to be compatible with the SDK on which it should work, and if you mix old framework with new SDK, only new problems can appear.

Rubén
Mensagem modificada, abril, 01 2019 - 5:46 PM