In 3.2 of the Android SDK EULA, it says that I am not supposed to develop for non-CTS compliant versions of Android. Does that mean I can't test on a phone that's not CTS-compliant, or does that mean my intended target device should be CTS compliant? Thanks in advance.
Here are the exact wordings of the relevant parts of the agreement
1.3 A "compatible implementation" means any Android device that (i) complies with the Android Compatibility Definition document, which can be found at the Android compatibility website (http://source.android.com/compatibility) and which may be updated from time to time; and (ii) successfully passes the Android Compatibility Test Suite (CTS).
3.2 You may not use this SDK to develop applications for other platforms (including non-compatible implementations of Android) or to develop another SDK. You are of course free to develop applications for other platforms, including non-compatible implementations of Android, provided that this SDK is not used for that purpose.
(My issue is that I use a MI5s running the developer rom, which does not past the cts because it is not the stable release. I'm pretty sure the stable version does pass the CTS tests because xiaomi does have google installed on the global roms)