Paolodc
Member
Hello experts!
Can anyone tell me why when my application is released it can't connect to the database? I'm using the JdbcSql library and the connection happens under my private network. However, with debugging it manages to connect. The problem is as follows: (NetworkOnMainThreadException) android.os.NetworkOnMainThreadException.
What is the problem and how can I solve it?
Can anyone tell me why when my application is released it can't connect to the database? I'm using the JdbcSql library and the connection happens under my private network. However, with debugging it manages to connect. The problem is as follows: (NetworkOnMainThreadException) android.os.NetworkOnMainThreadException.
What is the problem and how can I solve it?