Open ngocdaothanh opened 11 years ago
This line uses Arrays.copyOfRange which is only available on Android 2.3+: https://github.com/codebutler/android-websockets/blob/master/src/com/codebutler/android_websockets/HybiParser.java#L337
Replacing it with this will make this library be compilable on Android under 2.3: http://stackoverflow.com/questions/7970486/porting-arrays-copyofrange-from-java-6-to-java-5
This line uses Arrays.copyOfRange which is only available on Android 2.3+: https://github.com/codebutler/android-websockets/blob/master/src/com/codebutler/android_websockets/HybiParser.java#L337
Replacing it with this will make this library be compilable on Android under 2.3: http://stackoverflow.com/questions/7970486/porting-arrays-copyofrange-from-java-6-to-java-5