APK builds broken in Unity 6 and above

I have issues creating apks for android in Unity 6 and above.

  1. I start a blank project in unity 6.1 (6000.1.5f1) or Unity 6 (6000.03gf1)
  2. Build to android
  3. When installing APK my test phone (Samsung A13) returns “App not installed as app isn’t compatible with your phone”

I tried the same procedure with an older unity version 2022.3.62f1 and it builds and installs without a problem on the same phone.

Please, submit a bug report and we will look into it.

Thanks

I would double check the Target Architectures under Project Settings > Player > Configuration, and ensure they are the same in both versions

Thank you. That indeed solved it!

2022 is set to ArmV7 and scripting backend Mono

Unity 6 is set to ARM64 and scripting backend IL2CPP.

By switching to 2022 settings build install works.

Great, no problem!