Thank you for your attention to my problem. What did I do wrong? The log outputs more info:
onReceive
widget onReceive ->InfoAlarmWidget.action.widget.news.scroll
Starting: Intent { act=android.intent.action.MAIN flg=0x30000000 cmp=b4a.example/.main } from pid 2264
HistoryRecord{40b54838 b4a.example/.main} failed creating starting window
java.lang.RuntimeException: Binary XML file line #25: You must supply a layout_height attribute.
at android.content.res.TypedArray.getLayoutDimension(TypedArray.java:491)
at android.view.ViewGroup$LayoutParams.setBaseAttributes(ViewGroup.java:3599)
at android.view.ViewGroup$MarginLayoutParams.<init>(ViewGroup.java:3678)
at android.widget.LinearLayout$LayoutParams.<init>(LinearLayout.java:1400)
at android.widget.LinearLayout.generateLayoutParams(LinearLayout.java:1326)
at android.widget.LinearLayout.generateLayoutParams(LinearLayout.java:47)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:625)
at android.view.LayoutInflater.inflate(LayoutInflater.java:408)
at android.view.LayoutInflater.inflate(LayoutInflater.java:320)
at android.view.LayoutInflater.inflate(LayoutInflater.java:276)
at com.android.internal.policy.impl.PhoneWindow.generateLayout(PhoneWindow.java:2400)
at com.android.internal.policy.impl.PhoneWindow.installDecor(PhoneWindow.java:2455)
at com.android.internal.policy.impl.PhoneWindow.getDecorView(PhoneWindow.java:1621)
at com.android.internal.policy.impl.PhoneWindowManager.addStartingWindow(PhoneWindowManager.java:1092)
at com.android.server.WindowManagerService$H.handleMessage(WindowManagerService.java:8182)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:130)
at com.android.server.WindowManagerService$WMThread.run(WindowManagerService.java:576)
** Activity (main) Pause, UserClosed = false **
Start proc b4a.example for activity b4a.example/.main: pid=2796 uid=10097 gids={1015, 3003}
setHidden false
Could not find method android.view.ViewGroup.addChildrenForAccessibility, referenced from method anywheresoftware.b4a.BALayout.addChildrenForAccessibility
VFY: unable to resolve virtual method 319: Landroid/view/ViewGroup;.addChildrenForAccessibility (Ljava/util/ArrayList
V
VFY: replacing opcode 0x6f at 0x0009
VFY: dead code 0x000c-000c in Lanywheresoftware/b4a/BALayout;.addChildrenForAccessibility (Ljava/util/ArrayList
V
setHidden false
Could not find method android.view.View.setPivotX, referenced from method anywheresoftware.b4a.objects.ViewWrapper.AnimateFrom
VFY: unable to resolve virtual method 313: Landroid/view/View;.setPivotX (F)V
VFY: replacing opcode 0x6e at 0x0025
VFY: dead code 0x0028-018e in Lanywheresoftware/b4a/objects/ViewWrapper;.AnimateFrom (Landroid/view/View;IIIII)V
VFY: dead code 0x0190-0192 in Lanywheresoftware/b4a/objects/ViewWrapper;.AnimateFrom (Landroid/view/View;IIIII)V
Could not find method android.animation.ValueAnimator.ofFloat, referenced from method anywheresoftware.b4a.objects.ViewWrapper.SetColorAnimated
VFY: unable to resolve static method 12: Landroid/animation/ValueAnimator;.ofFloat ([F)Landroid/animation/ValueAnimator;
VFY: replacing opcode 0x71 at 0x004c
VFY: dead code 0x004f-0089 in Lanywheresoftware/b4a/objects/ViewWrapper;.SetColorAnimated (III)V
Could not find method android.animation.ObjectAnimator.ofFloat, referenced from method anywheresoftware.b4a.objects.ViewWrapper.SetVisibleAnimated
VFY: unable to resolve static method 7: Landroid/animation/ObjectAnimator;.ofFloat (Ljava/lang/Object;Ljava/lang/String;[F)Landroid/animation/ObjectAnimator;
VFY: replacing opcode 0x71 at 0x0029
Could not find method android.animation.ObjectAnimator.ofFloat, referenced from method anywheresoftware.b4a.objects.ViewWrapper.SetVisibleAnimated
VFY: unable to resolve static method 7: Landroid/animation/ObjectAnimator;.ofFloat (Ljava/lang/Object;Ljava/lang/String;[F)Landroid/animation/ObjectAnimator;
VFY: replacing opcode 0x71 at 0x0059
VFY: dead code 0x002c-004e in Lanywheresoftware/b4a/objects/ViewWrapper;.SetVisibleAnimated (IZ)V
VFY: dead code 0x005c-005e in Lanywheresoftware/b4a/objects/ViewWrapper;.SetVisibleAnimated (IZ)V
GC_EXTERNAL_ALLOC freed 82K, 47% free 2963K/5575K, external 2462K/2652K, paused 20ms
setHidden false
Displayed b4a.example/.main: +449ms
setHidden false
** Activity (main) Create, isFirst = true **
setHidden false
Here - getText()
setHidden false
No JNI_OnLoad found in /system/lib/libc.so 0x40513ed0, skipping init
No JNI_OnLoad found in /system/lib/libm.so 0x40513ed0, skipping init
No JNI_OnLoad found in /system/lib/libz.so 0x40513ed0, skipping init
setHidden false
No JNI_OnLoad found in /system/lib/libdl.so 0x40513ed0, skipping init
No JNI_OnLoad found in /system/lib/liblog.so 0x40513ed0, skipping init
Trying to load lib /data/data/b4a.example/lib/liblept.so 0x40513ed0
Added shared lib /data/data/b4a.example/lib/liblept.so 0x40513ed0
No JNI_OnLoad found in /data/data/b4a.example/lib/liblept.so 0x40513ed0, skipping init
Trying to load lib /data/data/b4a.example/lib/libjnilept.so 0x40513ed0
setHidden false
Added shared lib /data/data/b4a.example/lib/libjnilept.so 0x40513ed0
setHidden false
Trying to load lib /data/data/b4a.example/lib/libtesseract.so 0x40513ed0
setHidden false
Added shared lib /data/data/b4a.example/lib/libtesseract.so 0x40513ed0
No JNI_OnLoad found in /data/data/b4a.example/lib/libtesseract.so 0x40513ed0, skipping init
setHidden false
Trying to load lib /data/data/b4a.example/lib/libjnitesseract.so 0x40513ed0
Added shared lib /data/data/b4a.example/lib/libjnitesseract.so 0x40513ed0
setHidden false
Before Init
setHidden false
RETCODE =-1
Could not initialize tesseract.
setHidden false
...