JDAI-CV / dabnn

dabnn is an accelerated binary neural networks inference framework for mobile platform
Other
769 stars 102 forks source link

There is a problem when running dabnn example whose original .dab file was replaced by my file #50

Closed Sakulaki closed 5 years ago

Sakulaki commented 5 years ago

08/22 13:25:11: Launching app $ adb install-multiple -r -t /home/lxj/Desktop/dabnn-example0.2.0/dabnn-example-master/app/build/intermediates/instant-run-apk/debug/app-debug.apk /home/lxj/Desktop/dabnn-example0.2.0/dabnn-example-master/app/build/intermediates/split-apk/debug/dep/dependencies.apk /home/lxj/Desktop/dabnn-example0.2.0/dabnn-example-master/app/build/intermediates/split-apk/debug/slices/slice_3.apk /home/lxj/Desktop/dabnn-example0.2.0/dabnn-example-master/app/build/intermediates/split-apk/debug/slices/slice_8.apk /home/lxj/Desktop/dabnn-example0.2.0/dabnn-example-master/app/build/intermediates/split-apk/debug/slices/slice_9.apk /home/lxj/Desktop/dabnn-example0.2.0/dabnn-example-master/app/build/intermediates/split-apk/debug/slices/slice_6.apk /home/lxj/Desktop/dabnn-example0.2.0/dabnn-example-master/app/build/intermediates/split-apk/debug/slices/slice_0.apk /home/lxj/Desktop/dabnn-example0.2.0/dabnn-example-master/app/build/intermediates/split-apk/debug/slices/slice_1.apk /home/lxj/Desktop/dabnn-example0.2.0/dabnn-example-master/app/build/intermediates/split-apk/debug/slices/slice_2.apk /home/lxj/Desktop/dabnn-example0.2.0/dabnn-example-master/app/build/intermediates/resources/instant-run/debug/resources-debug.apk /home/lxj/Desktop/dabnn-example0.2.0/dabnn-example-master/app/build/intermediates/split-apk/debug/slices/slice_7.apk /home/lxj/Desktop/dabnn-example0.2.0/dabnn-example-master/app/build/intermediates/split-apk/debug/slices/slice_4.apk /home/lxj/Desktop/dabnn-example0.2.0/dabnn-example-master/app/build/intermediates/split-apk/debug/slices/slice_5.apk Split APKs installed in 9 s 573 ms $ adb shell am start -n "me.daquexian.dabnnexample/me.daquexian.dabnn.CameraActivity" -a android.intent.action.MAIN -c android.intent.category.LAUNCHER Client not ready yet..Waiting for process to come online Connected to process 12148 on device xiaomi-mi_8_se-9b4644a Capturing and displaying logcat messages from application. This behavior can be disabled in the "Logcat output" section of the "Debugger" settings page. W/ResourceType: No package identifier when getting name for resource number 0x00000000 I/InstantRun: starting instant run server: is main process W/ResourceType: No package identifier when getting name for resource number 0x00000000 W/ResourceType: No package identifier when getting name for resource number 0x00000000 I/zygote64: The ClassLoaderContext is a special shared library. W/Binder:intercep: type=1400 audit(0.0:952596): avc: denied { getattr } for path="/data/data/com.miui.contentcatcher" dev="mmcblk0p81" ino=1785894 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:system_app_data_file:s0 tclass=dir permissive=0 D/ViewContentFactory: initViewContentFetcherClass getInterceptorPackageInfo D/ViewContentFactory: getInitialApplication took 2ms packageInfo.packageName: com.miui.catcherpatch D/AccessibilityManager: AccessibilityManager status: mPackageName = me.daquexian.dabnnexample, mOptimizeEnabled = false, mIsEnabled = false, mIsUiAutomationEnabled = false, mIsInterestedPackage =false W/ResourceType: No package identifier when getting name for resource number 0x00000000 W/Binder:intercep: type=1400 audit(0.0:952598): avc: denied { getattr } for path="/data/data/com.miui.catcherpatch" dev="mmcblk0p81" ino=2065103 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:system_app_data_file:s0 tclass=dir permissive=0 D/ViewContentFactory: initViewContentFetcherClass took 25ms I/ContentCatcher: ViewContentFetcher : ViewContentFetcher D/ViewContentFactory: createInterceptor took 26ms I/ContentCatcher: Interceptor : Catcher list invalid for me.daquexian.dabnnexample@me.daquexian.dabnn.CameraActivity@251097207 Interceptor : Get featureInfo from config pick_mode I/zygote64: Rejecting re-init on previously-failed class java.lang.Class<android.support.v4.view.ViewCompat$OnUnhandledKeyEventListenerWrapper>: java.lang.NoClassDefFoundError: Failed resolution of: Landroid/view/View$OnUnhandledKeyEventListener; at void android.support.v4.view.ViewCompat.setBackground(android.view.View, android.graphics.drawable.Drawable) (ViewCompat.java:2341) at void android.support.v7.widget.ActionBarContainer.(android.content.Context, android.util.AttributeSet) (ActionBarContainer.java:62) at java.lang.Object java.lang.reflect.Constructor.newInstance0(java.lang.Object[]) (Constructor.java:-2) at java.lang.Object java.lang.reflect.Constructor.newInstance(java.lang.Object[]) (Constructor.java:334) at android.view.View android.view.LayoutInflater.createView(java.lang.String, java.lang.String, android.util.AttributeSet) (LayoutInflater.java:651) at android.view.View android.view.LayoutInflater.createViewFromTag(android.view.View, java.lang.String, android.content.Context, android.util.AttributeSet, boolean) (LayoutInflater.java:794) at android.view.View android.view.LayoutInflater.createViewFromTag(android.view.View, java.lang.String, android.content.Context, android.util.AttributeSet) (LayoutInflater.java:734) at void android.view.LayoutInflater.rInflate(org.xmlpull.v1.XmlPullParser, android.view.View, android.content.Context, android.util.AttributeSet, boolean) (LayoutInflater.java:867) at void android.view.LayoutInflater.rInflateChildren(org.xmlpull.v1.XmlPullParser, android.view.View, android.util.AttributeSet, boolean) (LayoutInflater.java:828) at android.view.View android.view.LayoutInflater.inflate(org.xmlpull.v1.XmlPullParser, android.view.ViewGroup, boolean) (LayoutInflater.java:519) at android.view.View android.view.LayoutInflater.inflate(int, android.view.ViewGroup, boolean) (LayoutInflater.java:427) at android.view.View android.view.LayoutInflater.inflate(int, android.view.ViewGroup) (LayoutInflater.java:374) at android.view.ViewGroup android.support.v7.app.AppCompatDelegateImpl.createSubDecor() (AppCompatDelegateImpl.java:607) at void android.support.v7.app.AppCompatDelegateImpl.ensureSubDecor() (AppCompatDelegateImpl.java:518) at void android.support.v7.app.AppCompatDelegateImpl.setContentView(int) (AppCompatDelegateImpl.java:466) at void android.support.v7.app.AppCompatActivity.setContentView(int) (AppCompatActivity.java:140) at void me.daquexian.dabnn.CameraActivity.onCreate(android.os.Bundle) (CameraActivity.java:72) at void android.app.Activity.performCreate(android.os.Bundle, android.os.PersistableBundle) (Activity.java:7088) at void android.app.Activity.performCreate(android.os.Bundle) (Activity.java:7079) at void android.app.Instrumentation.callActivityOnCreate(android.app.Activity, android.os.Bundle) (Instrumentation.java:1215) at android.app.Activity android.app.ActivityThread.performLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent) (ActivityThread.java:2770) at void android.app.ActivityThread.handleLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent, java.lang.String) (ActivityThread.java:2895) at void android.app.ActivityThread.-wrap11(android.app.ActivityThread, android.app.ActivityThread$ActivityClientRecord, android.content.Intent, java.lang.String) (ActivityThread.java:-1) at void android.app.ActivityThread$H.handleMessage(android.os.Message) (ActivityThread.java:1616) at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:106) at void android.os.Looper.loop() (Looper.java:176) at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:6651) at java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[]) (Method.java:-2) at void com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run() (RuntimeInit.java:547) at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:824) Caused by: java.lang.ClassNotFoundException: Didn't find class "android.view.View$OnUnhandledKeyEventListener" on path: DexPathList[[zip file "/data/app/me.daquexian.dabnnexample-NMJV3d_53pM9AQuCiC63XA==/base.apk", zip file "/data/app/me.daquexian.dabnnexample-NMJV3d_53pM9AQuCiC63XA==/split_lib_dependencies_apk.apk", zip file "/data/app/me.daquexian.dabnnexample-NMJV3d_53pM9AQuCiC63XA==/split_lib_resources_apk.apk", zip file "/data/app/me.daquexian.dabnnexample-NMJV3d_53pM9AQuCiC63XA==/split_lib_slice_0_apk.apk", zip file "/data/app/me.daquexian.dabnnexample-NMJV3d_53pM9AQuCiC63XA==/split_lib_slice_1_apk.apk", zip file "/data/app/me.daquexian.dabnnexample-NMJV3d_53pM9AQuCiC63XA==/split_lib_slice_2_apk.apk", zip file "/data/app/me.daquexian.dabnnexample-NMJV3d_53pM9AQuCiC63XA==/split_lib_slice_3_apk.apk", zip file "/data/app/me.daquexian.dabnnexample-NMJV3d_53pM9AQuCiC63XA==/split_lib_slice_4_apk.apk", zip file "/data/app/me.daquexian.dabnnexample-NMJV3d_53pM9AQuCiC63XA==/split_lib_slice_5_apk.apk", zip file at java.lang.Class dalvik.system.BaseDexClassLoader.findClass(java.lang.String) (BaseDexClassLoader.java:125) at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String, boolean) (ClassLoader.java:379) at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String) (ClassLoader.java:312) at void android.support.v4.view.ViewCompat.setBackground(android.view.View, android.graphics.drawable.Drawable) (ViewCompat.java:2341) at void android.support.v7.widget.ActionBarContainer.(android.content.Context, android.util.AttributeSet) (ActionBarContainer.java:62) at java.lang.Object java.lang.reflect.Constructor.newInstance0(java.lang.Object[]) (Constructor.java:-2) at java.lang.Object java.lang.reflect.Constructor.newInstance(java.lang.Object[]) (Constructor.java:334) at android.view.View android.view.LayoutInflater.createView(java.lang.String, java.lang.String, android.util.AttributeSet) (LayoutInflater.java:651) at android.view.View android.view.LayoutInflater.createViewFromTag(android.view.View, java.lang.String, android.content.Context, android.util.AttributeSet, boolean) (LayoutInflater.java:794) I/zygote64: at android.view.View android.view.LayoutInflater.createViewFromTag(android.view.View, java.lang.String, android.content.Context, android.util.AttributeSet) (LayoutInflater.java:734) at void android.view.LayoutInflater.rInflate(org.xmlpull.v1.XmlPullParser, android.view.View, android.content.Context, android.util.AttributeSet, boolean) (LayoutInflater.java:867) at void android.view.LayoutInflater.rInflateChildren(org.xmlpull.v1.XmlPullParser, android.view.View, android.util.AttributeSet, boolean) (LayoutInflater.java:828) at android.view.View android.view.LayoutInflater.inflate(org.xmlpull.v1.XmlPullParser, android.view.ViewGroup, boolean) (LayoutInflater.java:519) at android.view.View android.view.LayoutInflater.inflate(int, android.view.ViewGroup, boolean) (LayoutInflater.java:427) at android.view.View android.view.LayoutInflater.inflate(int, android.view.ViewGroup) (LayoutInflater.java:374) at android.view.ViewGroup android.support.v7.app.AppCompatDelegateImpl.createSubDecor() (AppCompatDelegateImpl.java:607) at void android.support.v7.app.AppCompatDelegateImpl.ensureSubDecor() (AppCompatDelegateImpl.java:518) at void android.support.v7.app.AppCompatDelegateImpl.setContentView(int) (AppCompatDelegateImpl.java:466) at void android.support.v7.app.AppCompatActivity.setContentView(int) (AppCompatActivity.java:140) at void me.daquexian.dabnn.CameraActivity.onCreate(android.os.Bundle) (CameraActivity.java:72) at void android.app.Activity.performCreate(android.os.Bundle, android.os.PersistableBundle) (Activity.java:7088) at void android.app.Activity.performCreate(android.os.Bundle) (Activity.java:7079) at void android.app.Instrumentation.callActivityOnCreate(android.app.Activity, android.os.Bundle) (Instrumentation.java:1215) at android.app.Activity android.app.ActivityThread.performLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent) (ActivityThread.java:2770) at void android.app.ActivityThread.handleLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent, java.lang.String) (ActivityThread.java:2895) at void android.app.ActivityThread.-wrap11(android.app.ActivityThread, android.app.ActivityThread$ActivityClientRecord, android.content.Intent, java.lang.String) (ActivityThread.java:-1) at void android.app.ActivityThread$H.handleMessage(android.os.Message) (ActivityThread.java:1616) at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:106) at void android.os.Looper.loop() (Looper.java:176) at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:6651) at java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[]) (Method.java:-2) at void com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run() (RuntimeInit.java:547) at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:824) Rejecting re-init on previously-failed class java.lang.Class<android.support.v4.view.ViewCompat$OnUnhandledKeyEventListenerWrapper>: java.lang.NoClassDefFoundError: Failed resolution of: Landroid/view/View$OnUnhandledKeyEventListener; at void android.support.v4.view.ViewCompat.setBackground(android.view.View, android.graphics.drawable.Drawable) (ViewCompat.java:2341) at void android.support.v7.widget.ActionBarContainer.(android.content.Context, android.util.AttributeSet) (ActionBarContainer.java:62) at java.lang.Object java.lang.reflect.Constructor.newInstance0(java.lang.Object[]) (Constructor.java:-2) at java.lang.Object java.lang.reflect.Constructor.newInstance(java.lang.Object[]) (Constructor.java:334) at android.view.View android.view.LayoutInflater.createView(java.lang.String, java.lang.String, android.util.AttributeSet) (LayoutInflater.java:651) at android.view.View android.view.LayoutInflater.createViewFromTag(android.view.View, java.lang.String, android.content.Context, android.util.AttributeSet, boolean) (LayoutInflater.java:794) at android.view.View android.view.LayoutInflater.createViewFromTag(android.view.View, java.lang.String, android.content.Context, android.util.AttributeSet) (LayoutInflater.java:734) at void android.view.LayoutInflater.rInflate(org.xmlpull.v1.XmlPullParser, android.view.View, android.content.Context, android.util.AttributeSet, boolean) (LayoutInflater.java:867) at void android.view.LayoutInflater.rInflateChildren(org.xmlpull.v1.XmlPullParser, android.view.View, android.util.AttributeSet, boolean) (LayoutInflater.java:828) at android.view.View android.view.LayoutInflater.inflate(org.xmlpull.v1.XmlPullParser, android.view.ViewGroup, boolean) (LayoutInflater.java:519) at android.view.View android.view.LayoutInflater.inflate(int, android.view.ViewGroup, boolean) (LayoutInflater.java:427) at android.view.View android.view.LayoutInflater.inflate(int, android.view.ViewGroup) (LayoutInflater.java:374) at android.view.ViewGroup android.support.v7.app.AppCompatDelegateImpl.createSubDecor() (AppCompatDelegateImpl.java:607) at void android.support.v7.app.AppCompatDelegateImpl.ensureSubDecor() (AppCompatDelegateImpl.java:518) at void android.support.v7.app.AppCompatDelegateImpl.setContentView(int) (AppCompatDelegateImpl.java:466) at void android.support.v7.app.AppCompatActivity.setContentView(int) (AppCompatActivity.java:140) at void me.daquexian.dabnn.CameraActivity.onCreate(android.os.Bundle) (CameraActivity.java:72) at void android.app.Activity.performCreate(android.os.Bundle, android.os.PersistableBundle) (Activity.java:7088) at void android.app.Activity.performCreate(android.os.Bundle) (Activity.java:7079) at void android.app.Instrumentation.callActivityOnCreate(android.app.Activity, android.os.Bundle) (Instrumentation.java:1215) at android.app.Activity android.app.ActivityThread.performLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent) (ActivityThread.java:2770) at void android.app.ActivityThread.handleLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent, java.lang.String) (ActivityThread.java:2895) at void android.app.ActivityThread.-wrap11(android.app.ActivityThread, android.app.ActivityThread$ActivityClientRecord, android.content.Intent, java.lang.String) (ActivityThread.java:-1) at void android.app.ActivityThread$H.handleMessage(android.os.Message) (ActivityThread.java:1616) at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:106) at void android.os.Looper.loop() (Looper.java:176) at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:6651) at java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[]) (Method.java:-2) at void com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run() (RuntimeInit.java:547) at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:824) Caused by: java.lang.ClassNotFoundException: Didn't find class "android.view.View$OnUnhandledKeyEventListener" on path: DexPathList[[zip file "/data/app/me.daquexian.dabnnexample-NMJV3d_53pM9AQuCiC63XA==/base.apk", zip file "/data/app/me.daquexian.dabnnexample-NMJV3d_53pM9AQuCiC63XA==/split_lib_dependencies_apk.apk", zip file "/data/app/me.daquexian.dabnnexample-NMJV3d_53pM9AQuCiC63XA==/split_lib_resources_apk.apk", zip file "/data/app/me.daquexian.dabnnexample-NMJV3d_53pM9AQuCiC63XA==/split_lib_slice_0_apk.apk", zip file "/data/app/me.daquexian.dabnnexample-NMJV3d_53pM9AQuCiC63XA==/split_lib_slice_1_apk.apk", zip file "/data/app/me.daquexian.dabnnexample-NMJV3d_53pM9AQuCiC63XA==/split_lib_slice_2_apk.apk", zip file "/data/app/me.daquexian.dabnnexample-NMJV3d_53pM9AQuCiC63XA==/split_lib_slice_3_apk.apk", zip file "/data/app/me.daquexian.dabnnexample-NMJV3d_53pM9AQuCiC63XA==/split_lib_slice_4_apk.apk", zip file "/data/app/me.daquexian.dabnnexample-NMJV3d_53pM9AQuCiC63XA==/split_lib_slice_5_apk.apk", zip file at java.lang.Class dalvik.system.BaseDexClassLoader.findClass(java.lang.String) (BaseDexClassLoader.java:125) at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String, boolean) (ClassLoader.java:379) at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String) (ClassLoader.java:312) at void android.support.v4.view.ViewCompat.setBackground(android.view.View, android.graphics.drawable.Drawable) (ViewCompat.java:2341) at void android.support.v7.widget.ActionBarContainer.(android.content.Context, android.util.AttributeSet) (ActionBarContainer.java:62) at java.lang.Object java.lang.reflect.Constructor.newInstance0(java.lang.Object[]) (Constructor.java:-2) at java.lang.Object java.lang.reflect.Constructor.newInstance(java.lang.Object[]) (Constructor.java:334) at android.view.View android.view.LayoutInflater.createView(java.lang.String, java.lang.String, android.util.AttributeSet) (LayoutInflater.java:651) at android.view.View android.view.LayoutInflater.createViewFromTag(android.view.View, java.lang.String, android.content.Context, android.util.AttributeSet, boolean) (LayoutInflater.java:794) at android.view.View android.view.LayoutInflater.createViewFromTag(android.view.View, java.lang.String, android.content.Context, android.util.AttributeSet) (LayoutInflater.java:734) at void android.view.LayoutInflater.rInflate(org.xmlpull.v1.XmlPullParser, android.view.View, android.content.Context, android.util.AttributeSet, boolean) (LayoutInflater.java:867) at void android.view.LayoutInflater.rInflateChildren(org.xmlpull.v1.XmlPullParser, android.view.View, android.util.AttributeSet, boolean) (LayoutInflater.java:828) at android.view.View android.view.LayoutInflater.inflate(org.xmlpull.v1.XmlPullParser, android.view.ViewGroup, boolean) (LayoutInflater.java:519) at android.view.View android.view.LayoutInflater.inflate(int, android.view.ViewGroup, boolean) (LayoutInflater.java:427) at android.view.View android.view.LayoutInflater.inflate(int, android.view.ViewGroup) (LayoutInflater.java:374) at android.view.ViewGroup android.support.v7.app.AppCompatDelegateImpl.createSubDecor() (AppCompatDelegateImpl.java:607) at void android.support.v7.app.AppCompatDelegateImpl.ensureSubDecor() (AppCompatDelegateImpl.java:518) at void android.support.v7.app.AppCompatDelegateImpl.setContentView(int) (AppCompatDelegateImpl.java:466) at void android.support.v7.app.AppCompatActivity.setContentView(int) (AppCompatActivity.java:140) at void me.daquexian.dabnn.CameraActivity.onCreate(android.os.Bundle) (CameraActivity.java:72) at void android.app.Activity.performCreate(android.os.Bundle, android.os.PersistableBundle) (Activity.java:7088) at void android.app.Activity.performCreate(android.os.Bundle) (Activity.java:7079) at void android.app.Instrumentation.callActivityOnCreate(android.app.Activity, android.os.Bundle) (Instrumentation.java:1215) at android.app.Activity android.app.ActivityThread.performLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent) (ActivityThread.java:2770) at void android.app.ActivityThread.handleLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent, java.lang.String) (ActivityThread.java:2895) at void android.app.ActivityThread.-wrap11(android.app.ActivityThread, android.app.ActivityThread$ActivityClientRecord, android.content.Intent, java.lang.String) (ActivityThread.java:-1) at void android.app.ActivityThread$H.handleMessage(android.os.Message) (ActivityThread.java:1616) at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:106) at void android.os.Looper.loop() (Looper.java:176) at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:6651) at java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[]) (Method.java:-2) I/zygote64: at void com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run() (RuntimeInit.java:547) at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:824) Rejecting re-init on previously-failed class java.lang.Class<android.support.v4.view.ViewCompat$OnUnhandledKeyEventListenerWrapper>: java.lang.NoClassDefFoundError: Failed resolution of: Landroid/view/View$OnUnhandledKeyEventListener; at void android.support.v4.view.ViewCompat.setBackground(android.view.View, android.graphics.drawable.Drawable) (ViewCompat.java:2341) at void android.support.v7.widget.ActionBarContainer.(android.content.Context, android.util.AttributeSet) (ActionBarContainer.java:62) at java.lang.Object java.lang.reflect.Constructor.newInstance0(java.lang.Object[]) (Constructor.java:-2) at java.lang.Object java.lang.reflect.Constructor.newInstance(java.lang.Object[]) (Constructor.java:334) at android.view.View android.view.LayoutInflater.createView(java.lang.String, java.lang.String, android.util.AttributeSet) (LayoutInflater.java:651) at android.view.View android.view.LayoutInflater.createViewFromTag(android.view.View, java.lang.String, android.content.Context, android.util.AttributeSet, boolean) (LayoutInflater.java:794) at android.view.View android.view.LayoutInflater.createViewFromTag(android.view.View, java.lang.String, android.content.Context, android.util.AttributeSet) (LayoutInflater.java:734) at void android.view.LayoutInflater.rInflate(org.xmlpull.v1.XmlPullParser, android.view.View, android.content.Context, android.util.AttributeSet, boolean) (LayoutInflater.java:867) at void android.view.LayoutInflater.rInflateChildren(org.xmlpull.v1.XmlPullParser, android.view.View, android.util.AttributeSet, boolean) (LayoutInflater.java:828) at android.view.View android.view.LayoutInflater.inflate(org.xmlpull.v1.XmlPullParser, android.view.ViewGroup, boolean) (LayoutInflater.java:519) at android.view.View android.view.LayoutInflater.inflate(int, android.view.ViewGroup, boolean) (LayoutInflater.java:427) at android.view.View android.view.LayoutInflater.inflate(int, android.view.ViewGroup) (LayoutInflater.java:374) at android.view.ViewGroup android.support.v7.app.AppCompatDelegateImpl.createSubDecor() (AppCompatDelegateImpl.java:607) at void android.support.v7.app.AppCompatDelegateImpl.ensureSubDecor() (AppCompatDelegateImpl.java:518) at void android.support.v7.app.AppCompatDelegateImpl.setContentView(int) (AppCompatDelegateImpl.java:466) at void android.support.v7.app.AppCompatActivity.setContentView(int) (AppCompatActivity.java:140) at void me.daquexian.dabnn.CameraActivity.onCreate(android.os.Bundle) (CameraActivity.java:72) at void android.app.Activity.performCreate(android.os.Bundle, android.os.PersistableBundle) (Activity.java:7088) at void android.app.Activity.performCreate(android.os.Bundle) (Activity.java:7079) at void android.app.Instrumentation.callActivityOnCreate(android.app.Activity, android.os.Bundle) (Instrumentation.java:1215) at android.app.Activity android.app.ActivityThread.performLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent) (ActivityThread.java:2770) at void android.app.ActivityThread.handleLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent, java.lang.String) (ActivityThread.java:2895) at void android.app.ActivityThread.-wrap11(android.app.ActivityThread, android.app.ActivityThread$ActivityClientRecord, android.content.Intent, java.lang.String) (ActivityThread.java:-1) at void android.app.ActivityThread$H.handleMessage(android.os.Message) (ActivityThread.java:1616) at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:106) at void android.os.Looper.loop() (Looper.java:176) at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:6651) at java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[]) (Method.java:-2) at void com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run() (RuntimeInit.java:547) at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:824) Caused by: java.lang.ClassNotFoundException: Didn't find class "android.view.View$OnUnhandledKeyEventListener" on path: DexPathList[[zip file "/data/app/me.daquexian.dabnnexample-NMJV3d_53pM9AQuCiC63XA==/base.apk", zip file "/data/app/me.daquexian.dabnnexample-NMJV3d_53pM9AQuCiC63XA==/split_lib_dependencies_apk.apk", zip file "/data/app/me.daquexian.dabnnexample-NMJV3d_53pM9AQuCiC63XA==/split_lib_resources_apk.apk", zip file "/data/app/me.daquexian.dabnnexample-NMJV3d_53pM9AQuCiC63XA==/split_lib_slice_0_apk.apk", zip file "/data/app/me.daquexian.dabnnexample-NMJV3d_53pM9AQuCiC63XA==/split_lib_slice_1_apk.apk", zip file "/data/app/me.daquexian.dabnnexample-NMJV3d_53pM9AQuCiC63XA==/split_lib_slice_2_apk.apk", zip file "/data/app/me.daquexian.dabnnexample-NMJV3d_53pM9AQuCiC63XA==/split_lib_slice_3_apk.apk", zip file "/data/app/me.daquexian.dabnnexample-NMJV3d_53pM9AQuCiC63XA==/split_lib_slice_4_apk.apk", zip file "/data/app/me.daquexian.dabnnexample-NMJV3d_53pM9AQuCiC63XA==/split_lib_slice_5_apk.apk", zip file at java.lang.Class dalvik.system.BaseDexClassLoader.findClass(java.lang.String) (BaseDexClassLoader.java:125) at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String, boolean) (ClassLoader.java:379) at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String) (ClassLoader.java:312) at void android.support.v4.view.ViewCompat.setBackground(android.view.View, android.graphics.drawable.Drawable) (ViewCompat.java:2341) at void android.support.v7.widget.ActionBarContainer.(android.content.Context, android.util.AttributeSet) (ActionBarContainer.java:62) at java.lang.Object java.lang.reflect.Constructor.newInstance0(java.lang.Object[]) (Constructor.java:-2) at java.lang.Object java.lang.reflect.Constructor.newInstance(java.lang.Object[]) (Constructor.java:334) at android.view.View android.view.LayoutInflater.createView(java.lang.String, java.lang.String, android.util.AttributeSet) (LayoutInflater.java:651) at android.view.View android.view.LayoutInflater.createViewFromTag(android.view.View, java.lang.String, android.content.Context, android.util.AttributeSet, boolean) (LayoutInflater.java:794) at android.view.View android.view.LayoutInflater.createViewFromTag(android.view.View, java.lang.String, android.content.Context, android.util.AttributeSet) (LayoutInflater.java:734) at void android.view.LayoutInflater.rInflate(org.xmlpull.v1.XmlPullParser, android.view.View, android.content.Context, android.util.AttributeSet, boolean) (LayoutInflater.java:867) at void android.view.LayoutInflater.rInflateChildren(org.xmlpull.v1.XmlPullParser, android.view.View, android.util.AttributeSet, boolean) (LayoutInflater.java:828) at android.view.View android.view.LayoutInflater.inflate(org.xmlpull.v1.XmlPullParser, android.view.ViewGroup, boolean) (LayoutInflater.java:519) at android.view.View android.view.LayoutInflater.inflate(int, android.view.ViewGroup, boolean) (LayoutInflater.java:427) at android.view.View android.view.LayoutInflater.inflate(int, android.view.ViewGroup) (LayoutInflater.java:374) at android.view.ViewGroup android.support.v7.app.AppCompatDelegateImpl.createSubDecor() (AppCompatDelegateImpl.java:607) at void android.support.v7.app.AppCompatDelegateImpl.ensureSubDecor() (AppCompatDelegateImpl.java:518) at void android.support.v7.app.AppCompatDelegateImpl.setContentView(int) (AppCompatDelegateImpl.java:466) at void android.support.v7.app.AppCompatActivity.setContentView(int) (AppCompatActivity.java:140) at void me.daquexian.dabnn.CameraActivity.onCreate(android.os.Bundle) (CameraActivity.java:72) at void android.app.Activity.performCreate(android.os.Bundle, android.os.PersistableBundle) (Activity.java:7088) at void android.app.Activity.performCreate(android.os.Bundle) (Activity.java:7079) at void android.app.Instrumentation.callActivityOnCreate(android.app.Activity, android.os.Bundle) (Instrumentation.java:1215) at android.app.Activity android.app.ActivityThread.performLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent) (ActivityThread.java:2770) at void android.app.ActivityThread.handleLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent, java.lang.String) (ActivityThread.java:2895) at void android.app.ActivityThread.-wrap11(android.app.ActivityThread, android.app.ActivityThread$ActivityClientRecord, android.content.Intent, java.lang.String) (ActivityThread.java:-1) at void android.app.ActivityThread$H.handleMessage(android.os.Message) (ActivityThread.java:1616) at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:106) at void android.os.Looper.loop() (Looper.java:176) at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:6651) at java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[]) (Method.java:-2) at void com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run() (RuntimeInit.java:547) at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:824) D/CameraBridge: Attr count: 10 E/libc++abi: terminating with uncaught exception of type std::runtime_error: c > 0 is not satisfied! 0 A/libc: Fatal signal 6 (SIGABRT), code -6 in tid 12148 (an.dabnnexample), pid 12148 (an.dabnnexample) Application terminated.

daquexian commented 5 years ago

Fixed in #51