Android error: "Your hardware does not support this application, sorry!"

Good day,
I am currently developing an android application that uses of an Unity activity in it. I started the project on Unity and it is working correctly, then I exported it to Android Studio and ran it on my Android. So far so good, it runs perfectly without any problem and I can scrap off the idea that my device cannot run a pure Unity app.

Now is where it gets problematic. When I add that activity, assets and whatnot to another Android Studio project correctly, it will perfectly compile and build on my android, where I can safely debug on my phone. The problem occurs when I try to reach the Unity activity, I put the intent and change into the Unity activity, where it will instantly display the error:

Failure to Initialize!
Your hardware does not support this application, sorry!

And crashes before the unity activity can even display the unity splash screen. This is a little bit confusing for me since my phone has been able to load the Unity when it isn’t part of another application. I started testing other phones to see if it was only the current phone problem, and found out that there are others will run correctly.

The current test phone (a Samsung Galaxy S7 edge, Android version 6.0.1) will have this error, meanwhile, a Moto G with version 5.1 of Android will switch activities into unity just fine. I performed some more tests and found that Moto G (2nd Gen) with Android version 6.0 will also run correctly. I tried using device emulators to check if it could be just the device hardware and found out that the same error appear there too.

I’m not sure if it is the device, the android versions or that I’m missing something obvious. All devices used can run an only Unity activity application, but only some won’t crash when you try to switch from an activity into an unity activity in a Android Studio application.

Does anyone else have this error? Is there any fix?

Thank you for your help, if something is confusing or more information is required, please tell me so I can clear things up.

Hi! I have the same problem. With 1 game that I want to play on my phone, Now gives me what your getting. The only difference is mine was from updating something. I’m not even sure what I updated…
The best I can give you is, What unity is the phone or phones that won’t Add the assets Or, (Give you the error ) I currently have, use, a Unity 4. But, The game I want doesn’t work on a Unity 5 which is now what I currently run due to an unwanted update. (NOTE- there are different meanings and types of Unities) I don’t have an answer to help, the most I can do for you is Give you a list of all the phones that have that exact problem incase your still testing and need an answer.

We are having the exact same problem. The game works fine as an application on its own but when we integrate it with another Android Studio project, this happens. Also @Eclisps , that list would be great.

all right it works fine but when i into like flurry it just
Your hardware does not support this application, sorry

Hi fmendesm, I would like to request you to please help me on this, I am facing same problem (Failure to initialize! Your hardware does not support this application, sorry!) in Android 13, if anyone have any ideas, please help me.

In Project Settings > Other Settings see if you’re using Mono or IL2CPP, probably your device is only capable of running apps under ARM7 target architecture, it should support ARM64, however with the latest update of Unity there’s ARM9 security option that’s troublesome sometimes. See if you marked it and remove the check.

I am facing the same issue on unity 2020.3.30f1, any solution available?