Index: platform_tools/android/app/src/com/skia/SkiaSampleActivity.java |
diff --git a/platform_tools/android/app/src/com/skia/SkiaSampleActivity.java b/platform_tools/android/app/src/com/skia/SkiaSampleActivity.java |
index 62f81a58f5808086a28d6f2446f6cae8c29a4bfe..0a7a569728d51512c64bf8d0f6e895aa2fdda310 100644 |
--- a/platform_tools/android/app/src/com/skia/SkiaSampleActivity.java |
+++ b/platform_tools/android/app/src/com/skia/SkiaSampleActivity.java |
@@ -43,6 +43,11 @@ public class SkiaSampleActivity extends Activity |
try { |
System.loadLibrary("skia_android"); |
+ } catch (UnsatisfiedLinkError e) { |
+ // This might be because skia was linked to SampleApp statically. |
+ } |
+ |
+ try { |
System.loadLibrary("SampleApp"); |
LinearLayout holder = (LinearLayout) findViewById(R.id.holder); |