hi,
download B4A 10.7, Compile with no change of (relevante) Code.
Compile, Install, Crash
the Crash is in this, line 2:
i have add this (very) long time bevore to have a Checkbox with special Text Aligment.
It Works in previous Versions fine.
- the XML File ist locate in Objects/res/layout (i hope thats rigth)
- inside:
download B4A 10.7, Compile with no change of (relevante) Code.
Compile, Install, Crash
the Crash is in this, line 2:
B4X:
Dim xml As XmlLayoutBuilder
xml.LoadXmlLayout(Panel_chk_gps, "checkbox")
chk_always_on= xml.GetView("chk1")
i have add this (very) long time bevore to have a Checkbox with special Text Aligment.
It Works in previous Versions fine.
- the XML File ist locate in Objects/res/layout (i hope thats rigth)
- inside:
XML:
<?xml version="1.0" encoding="utf-8"?>
<CheckBox xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/chk1"
android:layout_width="85dip"
android:layout_height="55dip"
android:button="@null"
android:drawableRight="?android:attr/listChoiceIndicatorMultiple"
android:tag="chk1" />
main$ResumableSub_Activity_Createresume (java line: 1981)
android.content.res.Resources$NotFoundException: File res/layout/checkbox from xml type layout resource ID #0x7f080000
at android.content.res.ResourcesImpl.loadXmlResourceParser(ResourcesImpl.java:1254)
at android.content.res.Resources.loadXmlResourceParser(Resources.java:2283)
at android.content.res.Resources.getLayout(Resources.java:1175)
at android.view.LayoutInflater.inflate(LayoutInflater.java:532)
at android.view.LayoutInflater.inflate(LayoutInflater.java:481)
at anywheresoftware.b4a.object.XmlLayoutBuilder.LoadXmlLayout(XmlLayoutBuilder.java:49)
at de.udxsoft.udxlog.main$ResumableSub_Activity_Create.resume(main.java:1981)
at de.udxsoft.udxlog.main._activity_create(main.java:1425)
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:213)
at de.udxsoft.udxlog.main.afterFirstLayout(main.java:105)
at de.udxsoft.udxlog.main.access$000(main.java:17)
at de.udxsoft.udxlog.main$WaitForLayout.run(main.java:83)
at android.os.Handler.handleCallback(Handler.java:883)
at android.os.Handler.dispatchMessage(Handler.java:100)
at android.os.Looper.loop(Looper.java:241)
at android.app.ActivityThread.main(ActivityThread.java:7582)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:941)
Caused by: java.io.FileNotFoundException: Corrupt XML binary file
at android.content.res.AssetManager.nativeOpenXmlAsset(Native Method)
at android.content.res.AssetManager.openXmlBlockAsset(AssetManager.java:1041)
at android.content.res.ResourcesImpl.loadXmlResourceParser(ResourcesImpl.java:1238)
... 19 more
android.content.res.Resources$NotFoundException: File res/layout/checkbox from xml type layout resource ID #0x7f080000
at android.content.res.ResourcesImpl.loadXmlResourceParser(ResourcesImpl.java:1254)
at android.content.res.Resources.loadXmlResourceParser(Resources.java:2283)
at android.content.res.Resources.getLayout(Resources.java:1175)
at android.view.LayoutInflater.inflate(LayoutInflater.java:532)
at android.view.LayoutInflater.inflate(LayoutInflater.java:481)
at anywheresoftware.b4a.object.XmlLayoutBuilder.LoadXmlLayout(XmlLayoutBuilder.java:49)
at de.udxsoft.udxlog.main$ResumableSub_Activity_Create.resume(main.java:1981)
at de.udxsoft.udxlog.main._activity_create(main.java:1425)
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:213)
at de.udxsoft.udxlog.main.afterFirstLayout(main.java:105)
at de.udxsoft.udxlog.main.access$000(main.java:17)
at de.udxsoft.udxlog.main$WaitForLayout.run(main.java:83)
at android.os.Handler.handleCallback(Handler.java:883)
at android.os.Handler.dispatchMessage(Handler.java:100)
at android.os.Looper.loop(Looper.java:241)
at android.app.ActivityThread.main(ActivityThread.java:7582)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:941)
Caused by: java.io.FileNotFoundException: Corrupt XML binary file
at android.content.res.AssetManager.nativeOpenXmlAsset(Native Method)
at android.content.res.AssetManager.openXmlBlockAsset(AssetManager.java:1041)
at android.content.res.ResourcesImpl.loadXmlResourceParser(ResourcesImpl.java:1238)
... 19 more
android.content.res.Resources$NotFoundException: File res/layout/checkbox from xml type layout resource ID #0x7f080000
at android.content.res.ResourcesImpl.loadXmlResourceParser(ResourcesImpl.java:1254)
at android.content.res.Resources.loadXmlResourceParser(Resources.java:2283)
at android.content.res.Resources.getLayout(Resources.java:1175)
at android.view.LayoutInflater.inflate(LayoutInflater.java:532)
at android.view.LayoutInflater.inflate(LayoutInflater.java:481)
at anywheresoftware.b4a.object.XmlLayoutBuilder.LoadXmlLayout(XmlLayoutBuilder.java:49)
at de.udxsoft.udxlog.main$ResumableSub_Activity_Create.resume(main.java:1981)
at de.udxsoft.udxlog.main._activity_create(main.java:1425)
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:213)
at de.udxsoft.udxlog.main.afterFirstLayout(main.java:105)
at de.udxsoft.udxlog.main.access$000(main.java:17)
at de.udxsoft.udxlog.main$WaitForLayout.run(main.java:83)
at android.os.Handler.handleCallback(Handler.java:883)
at android.os.Handler.dispatchMessage(Handler.java:100)
at android.os.Looper.loop(Looper.java:241)
at android.app.ActivityThread.main(ActivityThread.java:7582)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:941)
Caused by: java.io.FileNotFoundException: Corrupt XML binary file
at android.content.res.AssetManager.nativeOpenXmlAsset(Native Method)
at android.content.res.AssetManager.openXmlBlockAsset(AssetManager.java:1041)
at android.content.res.ResourcesImpl.loadXmlResourceParser(ResourcesImpl.java:1238)
... 19 more
android.content.res.Resources$NotFoundException: File res/layout/checkbox from xml type layout resource ID #0x7f080000
at android.content.res.ResourcesImpl.loadXmlResourceParser(ResourcesImpl.java:1254)
at android.content.res.Resources.loadXmlResourceParser(Resources.java:2283)
at android.content.res.Resources.getLayout(Resources.java:1175)
at android.view.LayoutInflater.inflate(LayoutInflater.java:532)
at android.view.LayoutInflater.inflate(LayoutInflater.java:481)
at anywheresoftware.b4a.object.XmlLayoutBuilder.LoadXmlLayout(XmlLayoutBuilder.java:49)
at de.udxsoft.udxlog.main$ResumableSub_Activity_Create.resume(main.java:1981)
at de.udxsoft.udxlog.main._activity_create(main.java:1425)
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:213)
at de.udxsoft.udxlog.main.afterFirstLayout(main.java:105)
at de.udxsoft.udxlog.main.access$000(main.java:17)
at de.udxsoft.udxlog.main$WaitForLayout.run(main.java:83)
at android.os.Handler.handleCallback(Handler.java:883)
at android.os.Handler.dispatchMessage(Handler.java:100)
at android.os.Looper.loop(Looper.java:241)
at android.app.ActivityThread.main(ActivityThread.java:7582)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:941)
Caused by: java.io.FileNotFoundException: Corrupt XML binary file
at android.content.res.AssetManager.nativeOpenXmlAsset(Native Method)
at android.content.res.AssetManager.openXmlBlockAsset(AssetManager.java:1041)
at android.content.res.ResourcesImpl.loadXmlResourceParser(ResourcesImpl.java:1238)
... 19 more
android.content.res.Resources$NotFoundException: File res/layout/checkbox from xml type layout resource ID #0x7f080000
at android.content.res.ResourcesImpl.loadXmlResourceParser(ResourcesImpl.java:1254)
at android.content.res.Resources.loadXmlResourceParser(Resources.java:2283)
at android.content.res.Resources.getLayout(Resources.java:1175)
at android.view.LayoutInflater.inflate(LayoutInflater.java:532)
at android.view.LayoutInflater.inflate(LayoutInflater.java:481)
at anywheresoftware.b4a.object.XmlLayoutBuilder.LoadXmlLayout(XmlLayoutBuilder.java:49)
at de.udxsoft.udxlog.main$ResumableSub_Activity_Create.resume(main.java:1981)
at de.udxsoft.udxlog.main._activity_create(main.java:1425)
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:213)
at de.udxsoft.udxlog.main.afterFirstLayout(main.java:105)
at de.udxsoft.udxlog.main.access$000(main.java:17)
at de.udxsoft.udxlog.main$WaitForLayout.run(main.java:83)
at android.os.Handler.handleCallback(Handler.java:883)
at android.os.Handler.dispatchMessage(Handler.java:100)
at android.os.Looper.loop(Looper.java:241)
at android.app.ActivityThread.main(ActivityThread.java:7582)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:941)
Caused by: java.io.FileNotFoundException: Corrupt XML binary file
at android.content.res.AssetManager.nativeOpenXmlAsset(Native Method)
at android.content.res.AssetManager.openXmlBlockAsset(AssetManager.java:1041)
at android.content.res.ResourcesImpl.loadXmlResourceParser(ResourcesImpl.java:1238)
... 19 more
android.content.res.Resources$NotFoundException: File res/layout/checkbox from xml type layout resource ID #0x7f080000
at android.content.res.ResourcesImpl.loadXmlResourceParser(ResourcesImpl.java:1254)
at android.content.res.Resources.loadXmlResourceParser(Resources.java:2283)
at android.content.res.Resources.getLayout(Resources.java:1175)
at android.view.LayoutInflater.inflate(LayoutInflater.java:532)
at android.view.LayoutInflater.inflate(LayoutInflater.java:481)
at anywheresoftware.b4a.object.XmlLayoutBuilder.LoadXmlLayout(XmlLayoutBuilder.java:49)
at de.udxsoft.udxlog.main$ResumableSub_Activity_Create.resume(main.java:1981)
at de.udxsoft.udxlog.main._activity_create(main.java:1425)
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:213)
at de.udxsoft.udxlog.main.afterFirstLayout(main.java:105)
at de.udxsoft.udxlog.main.access$000(main.java:17)
at de.udxsoft.udxlog.main$WaitForLayout.run(main.java:83)
at android.os.Handler.handleCallback(Handler.java:883)
at android.os.Handler.dispatchMessage(Handler.java:100)
at android.os.Looper.loop(Looper.java:241)
at android.app.ActivityThread.main(ActivityThread.java:7582)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:941)
Caused by: java.io.FileNotFoundException: Corrupt XML binary file
at android.content.res.AssetManager.nativeOpenXmlAsset(Native Method)
at android.content.res.AssetManager.openXmlBlockAsset(AssetManager.java:1041)
at android.content.res.ResourcesImpl.loadXmlResourceParser(ResourcesImpl.java:1238)
... 19 more
Last edited: