Build failed due to an error in the activities stage

Hi,

I can’t compile, I have this message, what should I do ? Thank you

Build failed! Error: Your build failed due to an error in the Activities stage, not because of an error in your program. Error: Your build failed due to an error when compiling Screen1.

You have maybe red erorros in screen one. or you have changed the packed name or the icon has a wrong pixes value, there can be a lot of problems, why you cant compile to a apk. make a screen shot of the error and post that here

1 Like

How did you solve this problem?

I have the same issue.

I did change the package name, and after the problem occurred.

Here the message I have.

you might have used an invalid package name?
so which package name did you use? see also

Taifun

1 Like

I solved by editing the file google-services.json with the correct package name and upload into the assets.

Regards,

MS

I am also getting error
YAIL compiler - AAPT execution failed.
some time it says
Build failed! Error: Your build failed due to an error in the AAPT stage, not because of an error in your program.

and some time it give error
build server is not compatible with this version of Kodular .

Please tell me how to solve this problem.

Check your package name or perhaps project in a project issue

Very likely do to web cache