I have deal with this problem.
Android 4.x ruan network request will throw NetworkOnMainThreadException.
when i run the login action in the background thread. the problem "StringIndexOutOfBoundsException" dispeared.
I have deal with this problem.
Android 4.x ruan network request will throw NetworkOnMainThreadException.
when i run the login action in the background thread. the problem "StringIndexOutOfBoundsException" dispeared.