How can I resolve the error “The minCompileSdk (31) specified in a dependency’s AAR metadata” in native Java or Kotlin? [duplicate]

This question already has answers here: Android app won’t build — The minCompileSdk (31) specified in a dependency’s (26 answers) Closed 8 months ago. The community reviewed whether to reopen this question last month and left it closed: Original close reason(s) were not resolved The error message: The minCompileSdk (31) specified in a dependency’s … Read more

In Kotlin, what is the idiomatic way to deal with nullable values, referencing or converting them

If I have a nullable type Xyz?, I want to reference it or convert it to a non-nullable type Xyz. What is the idiomatic way of doing so in Kotlin? For example, this code is in error: val something: Xyz? = createPossiblyNullXyz() // Error: “Only safe (?.) or non-null asserted (!!.) calls are allowed … Read more

How to allow all Network connection types HTTP and HTTPS in Android (9) Pie?

From Android 9 Pie now, requests without encryption will never work. And by default, the System will expect you to use TLS by default.You can read this feature here So if you only make requests via HTTPS you are safe. But what about apps that make requests through different sites, for instance, browser-like apps. How … Read more