Error "The minCompileSdk (31) specified in a error: dependency's AAR metadata ..." in Android apps
Publicado 12 días hace por Support WorkWithPlus
Publicar un temaPersonas a las que les gusta esto
Delete Comment
This post will be deleted permanently. Are you sure?
When building an Android application, using WorkWithPlus for Native Mobile 7 Upgrade #2.1 (or prior versions) or WorkWithPlus for VideoCall 4 Upgrade #1.4 (or prior), the following error appears:
This error happens because of a library that WorkWithPlus for Native Mobile distributes to implement some User Controls. This library was updated on 1/09/21, and the new update is not compatible with GeneXus, so the error appears.
Solution
Upgrade your WorkWithPlus for Native Mobile to version WorkWithPlus for Native Mobile 7 Upgrade #2.2 or WorkWithPlus for VideoCall 4 Upgrade #1.5.
You can download them from our Developer Center.
WorkAround
If you can't update your version, you can follow this WA:
Open the file <GENEXUS_INSTALLATION_FOLDER>\Android\Templates\RootProject\build.gradle, and add the line resolutionStrategy.force "androidx.core:core-ktx:1.6.0" as follows:
Important comment: It is possible that other libraries (besides the ones distributed by WorkWithPlus), may use these references too.
For example, if you use OneSignal notifications, this problem will happen too, and so, the error will appear. In this case, you should also open the
<GENEXUS_INSTALLATION_FOLDER>\Android\Templates\RootProject\build.gradle file and add this line:
You can read about this problem in the following GeneXus SAC.
0 Votos
0 Comentarios
Iniciar sesión o Registrarse para publicar un comentario