Commit 391c31cf065ff6f343d8b9275096f9c1194567bc

Philipp Wiesemann 2014-10-23T16:33:27

Fixed writing new errors to standard output instead of error output on Android.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
diff --git a/android-project/src/org/libsdl/app/SDLActivity.java b/android-project/src/org/libsdl/app/SDLActivity.java
index f4bdf3c..ea03dda 100644
--- a/android-project/src/org/libsdl/app/SDLActivity.java
+++ b/android-project/src/org/libsdl/app/SDLActivity.java
@@ -112,10 +112,10 @@ public class SDLActivity extends Activity {
         try {
             loadLibraries();
         } catch(UnsatisfiedLinkError e) {
-            System.out.println(e.getMessage());
+            System.err.println(e.getMessage());
             mBrokenLibraries = true;
         } catch(Exception e) {
-            System.out.println(e.getMessage());
+            System.err.println(e.getMessage());
             mBrokenLibraries = true;
         }