Kernel-GREEN localDeploy: "Incompatible App"

Hello

I am working with Kernel-GREEN, but i have trouble deploying applications.
Whenever i try the localDeploy on my app project, i get the same error:

Deployment Failed. Response Code: 500
Error Details: {"error": "Incompatible App"}

I tried rebuilding the kernel again, but still, the app seems to never be compatible.

So i monitored the kernel binary and noticed that it was rebuilt everytime even when i only want to rebuild my apps, is this expected ?

> Task vee:kernel:buildApplicationObjectFile
Deleting stale output file: C:\git\Kernel-GREEN\src\main\vee\build\application\object
Deleting stale output file: C:\git\Kernel-GREEN\src\main\vee\build\application\object\bsp\lib\microejapp.o
Deleting stale output file: C:\git\Kernel-GREEN\src\main\vee\build\application\applicationObjectBuildFiles.zip

Looking forward for your insights on this

Julian

Hello,

It is not expected, the Kernel should not be rebuilt if nothing has changed in the Kernel project.
How does your project structured? This kind of message may happen when 2 different versions of Gradle are used for the 2 builds. For example, when your Application and your Kernel are in 2 dedicated projects, with their own Gradle Wrapper, and the Kernel project is included with includeBuild in the Application project, if the 2 Gradle Wrapper are different, Gradle considers something has changed and rebuilt the artifacts.
If this is your case, try to align the Gradle Wrapper versions.

Hope this helps.

Hello

So i was indeed working with a fork of GitHub - MicroEJ/Example-IOT: This project gathers simple applications using IoT libraries. which has a different gradle wrapper version than GitHub - MicroEJ/Kernel-GREEN: This repository contains a Kernel code template that offers basic services for developing Sandboxed Applications.

I aligned them with the latest one, and this fixed my issue !

thank you for your support

Julian