What is the meaning of the IntelliJ android-validator error?

Does anyone know what this message means? Unable to create release of Android artifacts in the "do before launch" session. Release Artifacts

+4
source share
4 answers

I got the same error. All I had to do was go into my manifest and delete the minSDK requirement that I had 4. For some reason this took care of the error. Did you find another solution?

0
source

I had the same error.

In the dialog box for the artifact of the project settings, I selected "Build on Make". In the run dialog, I selected Expand Custom Artifact.

To fix the error, in the project options artifacts dialog box, I did not select "Build on Make". but in the runtime dialog box I made sure that it still says โ€œExpand custom artifactโ€. But at the bottom of the launch dialog, make sure that it says "Build your_artifact_name artifact."

Then it worked :)

+5
source

I have the same problem after changing the project SDK to another version of Android. I fix this by removing โ€œmakeโ€ before launch and creating an unsigned artifact that unfolds in the Android emulator.

0
source

I fixed this by implementing something similar to user2934013 answer, but I will try to explain in more detail:

My problem was that I was trying to run unit tests and I saw a "make before run" error. Removing minSDK is not possible for me because I rely on backward compatibility. I just started to see the problem after upgrading to Intellij 13.

It looks like I created an Artifact for my Android project and checked "Build on Make". For some reason, this ran counter to unit tests (but not regular builds for an emulator or device). I unchecked the artifact settings and the problem disappeared.

There is probably a way to fix the build order, so this works correctly, but I'm not good enough at setting up the Artifact build to know how to do this.

0
source

Source: https://habr.com/ru/post/1487295/


All Articles