Hi Roman,
On Thu, May 14, 2015 at 4:02 AM, Roman Tsisyk <[email protected]> wrote:
> Hi!
>
> I have sproblems with GeckoViewExample error on Android 2.3
>
Your link error looks a little like binaries are not being found;
specifically, the function listed would be in libmozglue.so.
How are you producing the GVE APK? Can you post the APK somewhere? I
wonder if you're just asking for an Android API 11+ APK, or downloading
such an APK, and therefore seeing an issue. Or running on the wrong
architecture (running an Arm APK on an x86 device or emulator)?
Nick
> -----
> I/ActivityManager( 196): Starting: Intent {
> act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER]
> flg=0x10200000 cmp=org.mozilla.geckoviewexample/.GeckoViewExample }
> from pid 374
> I/ActivityManager( 196): Start proc org.mozilla.geckoviewexample for
> activity org.mozilla.geckoviewexample/.GeckoViewExample: pid=11337
> uid=10057 gids={3003}
> D/dalvikvm( 196): GC_CONCURRENT freed 2767K, 52% free 5323K/10951K,
> external 280K/512K, paused 15ms+39ms
> D/szipinf (11337): Initializing inflate state
> D/dalvikvm(11337): GC_EXTERNAL_ALLOC freed 126K, 47% free 2962K/5575K,
> external 0K/0K, paused 71ms
> W/dalvikvm(11337): Unable to resolve superclass of
> Lorg/mozilla/gecko/GeckoActivity; (262)
> W/dalvikvm(11337): Link of class 'Lorg/mozilla/gecko/GeckoActivity;' failed
> E/dalvikvm(11337): Could not find class
> 'org.mozilla.gecko.GeckoActivity', referenced from method
> org.mozilla.gecko.GeckoView.init
> W/dalvikvm(11337): VFY: unable to resolve instanceof 1971
> (Lorg/mozilla/gecko/GeckoActivity;) in Lorg/mozilla/gecko/GeckoView;
> D/dalvikvm(11337): VFY: replacing opcode 0x20 at 0x001f
> I/dalvikvm(11337): Could not find method
> android.view.TextureView.getSurfaceTexture, referenced from method
> org.mozilla.gecko.gfx.LayerView.getNativeWindow
> W/dalvikvm(11337): VFY: unable to resolve virtual method 1564:
> Landroid/view/TextureView;.getSurfaceTexture
> ()Landroid/graphics/SurfaceTexture;
> D/dalvikvm(11337): VFY: replacing opcode 0x6e at 0x000d
> D/dalvikvm(11337): VFY: dead code 0x0010-0011 in
> Lorg/mozilla/gecko/gfx/LayerView;.getNativeWindow ()Ljava/lang/Object;
> E/dalvikvm(11337): Could not find class 'android.view.TextureView',
> referenced from method
> org.mozilla.gecko.gfx.LayerView.onAttachedToWindow
> W/dalvikvm(11337): VFY: unable to resolve new-instance 387
> (Landroid/view/TextureView;) in Lorg/mozilla/gecko/gfx/LayerView;
> D/dalvikvm(11337): VFY: replacing opcode 0x22 at 0x0008
> D/dalvikvm(11337): VFY: dead code 0x000a-0026 in
> Lorg/mozilla/gecko/gfx/LayerView;.onAttachedToWindow ()V
> D/libEGL (11337): loaded /system/lib/egl/libGLES_android.so
> W/dalvikvm(11337): Unable to resolve superclass of
> Lorg/mozilla/gecko/GeckoActivity; (262)
> W/dalvikvm(11337): Link of class 'Lorg/mozilla/gecko/GeckoActivity;' failed
> D/libEGL (11337): loaded /system/lib/egl/libEGL_adreno200.so
> W/dalvikvm(11337): Unable to resolve superclass of
> Lorg/mozilla/gecko/GeckoApp; (1971)
> W/dalvikvm(11337): Link of class 'Lorg/mozilla/gecko/GeckoApp;' failed
> I/dalvikvm(11337): Could not find method
> org.mozilla.gecko.GeckoApp.getTempDirectory, referenced from method
> org.mozilla.gecko.GeckoAppShell.downloadImageForIntent
> W/dalvikvm(11337): VFY: unable to resolve static method 12006:
> Lorg/mozilla/gecko/GeckoApp;.getTempDirectory ()Ljava/io/File;
> D/dalvikvm(11337): VFY: replacing opcode 0x71 at 0x000e
> D/dalvikvm(11337): VFY: dead code 0x0011-00f1 in
> Lorg/mozilla/gecko/GeckoAppShell;.downloadImageForIntent
> (Landroid/content/Intent;)V
> D/libEGL (11337): loaded /system/lib/egl/libGLESv1_CM_adreno200.so
> D/libEGL (11337): loaded /system/lib/egl/libGLESv2_adreno200.so
> I/dalvikvm(11337): Could not find method
> android.app.ActivityManager.getLauncherLargeIconSize, referenced from
> method org.mozilla.gecko.GeckoAppShell.getPreferredIconSize
> W/dalvikvm(11337): VFY: unable to resolve virtual method 49:
> Landroid/app/ActivityManager;.getLauncherLargeIconSize ()I
> D/dalvikvm(11337): VFY: replacing opcode 0x6e at 0x0010
> E/GeckoCrashHandler(11337): at
>
> com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:213)
> E/GeckoCrashHandler(11337): at
> android.app.Activity.setContentView(Activity.java:1657)
> E/GeckoCrashHandler(11337): at
>
> org.mozilla.geckoviewexample.GeckoViewExample.onCreate(GeckoViewExample.java:13)
> E/GeckoCrashHandler(11337): at
> android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
> E/GeckoCrashHandler(11337): at
> android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1722)
> E/GeckoCrashHandler(11337): at
> android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1784)
> E/GeckoCrashHandler(11337): at
> org.mozilla.gecko.GeckoView.<init>(GeckoView.java:118)
> [15/1828]
> E/GeckoCrashHandler(11337): at
> java.lang.reflect.Constructor.constructNative(Native Method)
> [14/1828]
> E/GeckoCrashHandler(11337): at
> java.lang.reflect.Constructor.newInstance(Constructor.java:415)
> [13/1828]
> E/GeckoCrashHandler(11337): at
> android.view.LayoutInflater.createView(LayoutInflater.java:505)
> [12/1828]
> E/GeckoCrashHandler(11337): at
> android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:570)
> [11/1828]
> E/GeckoCrashHandler(11337): at
> android.view.LayoutInflater.rInflate(LayoutInflater.java:623)
> [10/1828]
> E/GeckoCrashHandler(11337): at
> android.view.LayoutInflater.inflate(LayoutInflater.java:408)
> [9/1828]
> E/GeckoCrashHandler(11337): at
> android.view.LayoutInflater.inflate(LayoutInflater.java:320)
> [8/1828]
> E/GeckoCrashHandler(11337): at
> android.view.LayoutInflater.inflate(LayoutInflater.java:276)
> [7/1828]
> E/GeckoCrashHandler(11337): at
>
> com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:213)
> [6/1828]
> E/GeckoCrashHandler(11337): at
> android.app.Activity.setContentView(Activity.java:1657)
> [5/1828]
> E/GeckoCrashHandler(11337): at
>
> org.mozilla.geckoviewexample.GeckoViewExample.onCreate(GeckoViewExample.java:13)
> [4/1828]
> E/GeckoCrashHandler(11337): at
> android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
> [3/1828]
> E/GeckoCrashHandler(11337): at
> android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1722)
> [2/1828]
> E/GeckoCrashHandler(11337): at
> android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1784)
> [1/1828]
> E/GeckoCrashHandler(11337): at
> android.app.ActivityThread.access$1500(ActivityThread.java:123)
> E/GeckoCrashHandler(11337): at
> android.app.ActivityThread$H.handleMessage(ActivityThread.java:939)
> E/GeckoCrashHandler(11337): at
> android.os.Handler.dispatchMessage(Handler.java:99)
> E/GeckoCrashHandler(11337): at android.os.Looper.loop(Looper.java:130)
> E/GeckoCrashHandler(11337): at
> android.app.ActivityThread.main(ActivityThread.java:3835)
> E/GeckoCrashHandler(11337): at
> java.lang.reflect.Method.invokeNative(Native Method)
> E/GeckoCrashHandler(11337): at
> java.lang.reflect.Method.invoke(Method.java:507)
> E/GeckoCrashHandler(11337): at
>
> com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:864)
> E/GeckoCrashHandler(11337): at
> com.android.internal.os.ZygoteInit.main(ZygoteInit.java:622)
> E/GeckoCrashHandler(11337): at dalvik.system.NativeStart.main(Native
> Method)
> W/dalvikvm(11337): No implementation found for native
> Lorg/mozilla/gecko/GeckoAppShell;.reportJavaCrash
> (Ljava/lang/String;)V
> E/AndroidRuntime(11337): FATAL EXCEPTION: main
> E/AndroidRuntime(11337): java.lang.UnsatisfiedLinkError:
> nativeAllocateDirectBuffer
> E/AndroidRuntime(11337): at
>
> org.mozilla.gecko.mozglue.DirectBufferAllocator.nativeAllocateDirectBuffer(Native
> Method)
> E/AndroidRuntime(11337): at
>
> org.mozilla.gecko.mozglue.DirectBufferAllocator.allocate(DirectBufferAllocator.java:24)
> E/AndroidRuntime(11337): at
> org.mozilla.gecko.gfx.BufferedImage.<init>(BufferedImage.java:34)
> E/AndroidRuntime(11337): at
> org.mozilla.gecko.gfx.ScrollbarLayer.<init>(ScrollbarLayer.java:73)
> E/AndroidRuntime(11337): at
> org.mozilla.gecko.gfx.LayerRenderer.<init>(LayerRenderer.java:157)
> E/AndroidRuntime(11337): at
> org.mozilla.gecko.gfx.LayerView.initializeView(LayerView.java:133)
> E/AndroidRuntime(11337): at
> org.mozilla.gecko.GeckoView.init(GeckoView.java:126)
> E/AndroidRuntime(11337): at
> org.mozilla.gecko.GeckoView.<init>(GeckoView.java:118)
> E/AndroidRuntime(11337): at
> java.lang.reflect.Constructor.constructNative(Native Method)
> E/AndroidRuntime(11337): at
> java.lang.reflect.Constructor.newInstance(Constructor.java:415)
> E/AndroidRuntime(11337): at
> android.view.LayoutInflater.createView(LayoutInflater.java:505)
> E/AndroidRuntime(11337): at
> android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:570)
> E/AndroidRuntime(11337): at
> android.view.LayoutInflater.rInflate(LayoutInflater.java:623)
> E/AndroidRuntime(11337): at
> android.view.LayoutInflater.inflate(LayoutInflater.java:408)
> E/AndroidRuntime(11337): at
> android.view.LayoutInflater.inflate(LayoutInflater.java:320)
> E/AndroidRuntime(11337): at
> android.view.LayoutInflater.inflate(LayoutInflater.java:276)
> E/AndroidRuntime(11337): at
>
> com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:213)
> E/AndroidRuntime(11337): at
> android.app.Activity.setContentView(Activity.java:1657)
> E/AndroidRuntime(11337): at
>
> org.mozilla.geckoviewexample.GeckoViewExample.onCreate(GeckoViewExample.java:13)
> E/AndroidRuntime(11337): at
> android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
> E/AndroidRuntime(11337): at
> android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1722)
> E/AndroidRuntime(11337): at
> android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1784)
> E/AndroidRuntime(11337): at
> android.app.ActivityThread.access$1500(ActivityThread.java:123)
> E/AndroidRuntime(11337): at
> android.app.ActivityThread$H.handleMessage(ActivityThread.java:939)
> E/AndroidRuntime(11337): at
> android.os.Handler.dispatchMessage(Handler.java:99)
> E/AndroidRuntime(11337): at android.os.Looper.loop(Looper.java:130)
> E/AndroidRuntime(11337): at
> android.app.ActivityThread.main(ActivityThread.java:3835)
> E/AndroidRuntime(11337): at
> java.lang.reflect.Method.invokeNative(Native Method)
> E/AndroidRuntime(11337): at
> java.lang.reflect.Method.invoke(Method.java:507)
> E/AndroidRuntime(11337): at
>
> com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:864)
> E/AndroidRuntime(11337): at
> com.android.internal.os.ZygoteInit.main(ZygoteInit.java:622)
> E/AndroidRuntime(11337): at dalvik.system.NativeStart.main(Native
> Method)
> W/ActivityManager( 196): Force finishing activity
> org.mozilla.geckoviewexample/.GeckoViewExample
> -----
>
> Any ideas?
>
> --
> WBR,
> Roman Tsisyk <[email protected]>
> _______________________________________________
> mobile-firefox-dev mailing list
> [email protected]
> https://mail.mozilla.org/listinfo/mobile-firefox-dev
>
_______________________________________________
mobile-firefox-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/mobile-firefox-dev