Azure-Samples / cognitive-services-face-android-detect

Android app using the Face service Java client library to detect and frame faces in an image.
MIT License
11 stars 12 forks source link

Does not run on Android 9 #2

Open dwhiteddsoft opened 5 years ago

dwhiteddsoft commented 5 years ago

Minimal steps to reproduce

Download app and try to run on an emulator based on Android 9 (API 28)

Any log messages given by the failure

I/so.facetutoria: Rejecting re-init on previously-failed class java.lang.Class: java.lang.NoClassDefFoundError: Failed resolution of: Lorg/apache/http/client/methods/HttpEntityEnclosingRequestBase; at void com.microsoft.projectoxford.face.FaceServiceRestClient.(java.lang.String, java.lang.String) (FaceServiceRestClient.java:99) at void com.contoso.facetutorial.MainActivity.() (MainActivity.java:26) at java.lang.Object java.lang.Class.newInstance() (Class.java:-2) at android.app.Activity android.app.AppComponentFactory.instantiateActivity(java.lang.ClassLoader, java.lang.String, android.content.Intent) (AppComponentFactory.java:69) at android.app.Activity android.app.Instrumentation.newActivity(java.lang.ClassLoader, java.lang.String, android.content.Intent) (Instrumentation.java:1215) at android.app.Activity android.app.ActivityThread.performLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent) (ActivityThread.java:2831) at android.app.Activity android.app.ActivityThread.handleLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.app.servertransaction.PendingTransactionActions, android.content.Intent) (ActivityThread.java:3048) at void android.app.servertransaction.LaunchActivityItem.execute(android.app.ClientTransactionHandler, android.os.IBinder, android.app.servertransaction.PendingTransactionActions) (LaunchActivityItem.java:78) I/so.facetutoria: at void android.app.servertransaction.TransactionExecutor.executeCallbacks(android.app.servertransaction.ClientTransaction) (TransactionExecutor.java:108) at void android.app.servertransaction.TransactionExecutor.execute(android.app.servertransaction.ClientTransaction) (TransactionExecutor.java:68) at void android.app.ActivityThread$H.handleMessage(android.os.Message) (ActivityThread.java:1808) at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:106) at void android.os.Looper.loop() (Looper.java:193) at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:6669) 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:493) at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:858) Caused by: java.lang.ClassNotFoundException: Didn't find class "org.apache.http.client.methods.HttpEntityEnclosingRequestBase" on path: DexPathList[[zip file "/data/app/com.contoso.facetutorial-CKuMb-HAJFtx3FqLtXiUng==/base.apk", zip file "/data/app/com.contoso.facetutorial-CKuMb-HAJFtx3FqLtXiUng==/split_lib_dependencies_apk.apk", zip file "/data/app/com.contoso.facetutorial-CKuMb-HAJFtx3FqLtXiUng==/split_lib_resources_apk.apk", zip file "/data/app/com.contoso.facetutorial-CKuMb-HAJFtx3FqLtXiUng==/split_lib_slice_0_apk.apk", zip file "/data/app/com.contoso.facetutorial-CKuMb-HAJFtx3FqLtXiUng==/split_lib_slice_1_apk.apk", zip file "/data/app/com.contoso.facetutorial-CKuMb-HAJFtx3FqLtXiUng==/split_lib_slice_2_apk.apk", zip file "/data/app/com.contoso.facetutorial-CKuMb-HAJFtx3FqLtXiUng==/split_lib_slice_3_apk.apk", zip file "/data/app/com.contoso.facetutorial-CKuMb-HAJFtx3FqLtXiUng==/split_lib_slice_4_apk.apk", zip file "/data/app/com.contoso.facetutorial-CKuMb-HAJFtx3FqLtXiUng==/split_lib_slice_5_apk.apk", zi at java.lang.Class dalvik.system.BaseDexClassLoader.findClass(java.lang.String) (BaseDexClassLoader.java:134) 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 com.microsoft.projectoxford.face.FaceServiceRestClient.(java.lang.String, java.lang.String) (FaceServiceRestClient.java:99) at void com.contoso.facetutorial.MainActivity.() (MainActivity.java:26) at java.lang.Object java.lang.Class.newInstance() (Class.java:-2) at android.app.Activity android.app.AppComponentFactory.instantiateActivity(java.lang.ClassLoader, java.lang.String, android.content.Intent) (AppComponentFactory.java:69) at android.app.Activity android.app.Instrumentation.newActivity(java.lang.ClassLoader, java.lang.String, android.content.Intent) (Instrumentation.java:1215) at android.app.Activity android.app.ActivityThread.performLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent) (ActivityThread.java:2831) at android.app.Activity android.app.ActivityThread.handleLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.app.servertransaction.PendingTransactionActions, android.content.Intent) (ActivityThread.java:3048) at void android.app.servertransaction.LaunchActivityItem.execute(android.app.ClientTransactionHandler, android.os.IBinder, android.app.servertransaction.PendingTransactionActions) (LaunchActivityItem.java:78) at void android.app.servertransaction.TransactionExecutor.executeCallbacks(android.app.servertransaction.ClientTransaction) (TransactionExecutor.java:108) at void android.app.servertransaction.TransactionExecutor.execute(android.app.servertransaction.ClientTransaction) (TransactionExecutor.java:68) at void android.app.ActivityThread$H.handleMessage(android.os.Message) (ActivityThread.java:1808) at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:106) at void android.os.Looper.loop() (Looper.java:193) at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:6669) 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:493) at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:858) I/so.facetutoria: Rejecting re-init on previously-failed class java.lang.Class: java.lang.NoClassDefFoundError: Failed resolution of: Lorg/apache/http/client/methods/HttpEntityEnclosingRequestBase; at void com.microsoft.projectoxford.face.FaceServiceRestClient.(java.lang.String, java.lang.String) (FaceServiceRestClient.java:99) at void com.contoso.facetutorial.MainActivity.() (MainActivity.java:26) at java.lang.Object java.lang.Class.newInstance() (Class.java:-2) at android.app.Activity android.app.AppComponentFactory.instantiateActivity(java.lang.ClassLoader, java.lang.String, android.content.Intent) (AppComponentFactory.java:69) at android.app.Activity android.app.Instrumentation.newActivity(java.lang.ClassLoader, java.lang.String, android.content.Intent) (Instrumentation.java:1215) at android.app.Activity android.app.ActivityThread.performLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent) (ActivityThread.java:2831) at android.app.Activity android.app.ActivityThread.handleLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.app.servertransaction.PendingTransactionActions, android.content.Intent) (ActivityThread.java:3048) at void android.app.servertransaction.LaunchActivityItem.execute(android.app.ClientTransactionHandler, android.os.IBinder, android.app.servertransaction.PendingTransactionActions) (LaunchActivityItem.java:78) at void android.app.servertransaction.TransactionExecutor.executeCallbacks(android.app.servertransaction.ClientTransaction) (TransactionExecutor.java:108) at void android.app.servertransaction.TransactionExecutor.execute(android.app.servertransaction.ClientTransaction) (TransactionExecutor.java:68) at void android.app.ActivityThread$H.handleMessage(android.os.Message) (ActivityThread.java:1808) at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:106) at void android.os.Looper.loop() (Looper.java:193) at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:6669) 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:493) at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:858) Caused by: java.lang.ClassNotFoundException: Didn't find class "org.apache.http.client.methods.HttpEntityEnclosingRequestBase" on path: DexPathList[[zip file "/data/app/com.contoso.facetutorial-CKuMb-HAJFtx3FqLtXiUng==/base.apk", zip file "/data/app/com.contoso.facetutorial-CKuMb-HAJFtx3FqLtXiUng==/split_lib_dependencies_apk.apk", zip file "/data/app/com.contoso.facetutorial-CKuMb-HAJFtx3FqLtXiUng==/split_lib_resources_apk.apk", zip file "/data/app/com.contoso.facetutorial-CKuMb-HAJFtx3FqLtXiUng==/split_lib_slice_0_apk.apk", zip file "/data/app/com.contoso.facetutorial-CKuMb-HAJFtx3FqLtXiUng==/split_lib_slice_1_apk.apk", zip file "/data/app/com.contoso.facetutorial-CKuMb-HAJFtx3FqLtXiUng==/split_lib_slice_2_apk.apk", zip file "/data/app/com.contoso.facetutorial-CKuMb-HAJFtx3FqLtXiUng==/split_lib_slice_3_apk.apk", zip file "/data/app/com.contoso.facetutorial-CKuMb-HAJFtx3FqLtXiUng==/split_lib_slice_4_apk.apk", zip file "/data/app/com.contoso.facetutorial-CKuMb-HAJFtx3FqLtXiUng==/split_lib_slice_5_apk.apk", zi at java.lang.Class dalvik.system.BaseDexClassLoader.findClass(java.lang.String) (BaseDexClassLoader.java:134) at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String, boolean) (ClassLoader.java:379) I/so.facetutoria: at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String) (ClassLoader.java:312) at void com.microsoft.projectoxford.face.FaceServiceRestClient.(java.lang.String, java.lang.String) (FaceServiceRestClient.java:99) at void com.contoso.facetutorial.MainActivity.() (MainActivity.java:26) at java.lang.Object java.lang.Class.newInstance() (Class.java:-2) at android.app.Activity android.app.AppComponentFactory.instantiateActivity(java.lang.ClassLoader, java.lang.String, android.content.Intent) (AppComponentFactory.java:69) at android.app.Activity android.app.Instrumentation.newActivity(java.lang.ClassLoader, java.lang.String, android.content.Intent) (Instrumentation.java:1215) at android.app.Activity android.app.ActivityThread.performLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent) (ActivityThread.java:2831) at android.app.Activity android.app.ActivityThread.handleLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.app.servertransaction.PendingTransactionActions, android.content.Intent) (ActivityThread.java:3048) at void android.app.servertransaction.LaunchActivityItem.execute(android.app.ClientTransactionHandler, android.os.IBinder, android.app.servertransaction.PendingTransactionActions) (LaunchActivityItem.java:78) at void android.app.servertransaction.TransactionExecutor.executeCallbacks(android.app.servertransaction.ClientTransaction) (TransactionExecutor.java:108) at void android.app.servertransaction.TransactionExecutor.execute(android.app.servertransaction.ClientTransaction) (TransactionExecutor.java:68) at void android.app.ActivityThread$H.handleMessage(android.os.Message) (ActivityThread.java:1808) at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:106) at void android.os.Looper.loop() (Looper.java:193) at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:6669) 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:493) at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:858) I/so.facetutoria: Rejecting re-init on previously-failed class java.lang.Class: java.lang.NoClassDefFoundError: Failed resolution of: Lorg/apache/http/client/methods/HttpPost; at void com.microsoft.projectoxford.face.FaceServiceRestClient.(java.lang.String, java.lang.String) (FaceServiceRestClient.java:99) I/so.facetutoria: at void com.contoso.facetutorial.MainActivity.() (MainActivity.java:26) at java.lang.Object java.lang.Class.newInstance() (Class.java:-2) at android.app.Activity android.app.AppComponentFactory.instantiateActivity(java.lang.ClassLoader, java.lang.String, android.content.Intent) (AppComponentFactory.java:69) at android.app.Activity android.app.Instrumentation.newActivity(java.lang.ClassLoader, java.lang.String, android.content.Intent) (Instrumentation.java:1215) at android.app.Activity android.app.ActivityThread.performLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent) (ActivityThread.java:2831) at android.app.Activity android.app.ActivityThread.handleLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.app.servertransaction.PendingTransactionActions, android.content.Intent) (ActivityThread.java:3048) at void android.app.servertransaction.LaunchActivityItem.execute(android.app.ClientTransactionHandler, android.os.IBinder, android.app.servertransaction.PendingTransactionActions) (LaunchActivityItem.java:78) at void android.app.servertransaction.TransactionExecutor.executeCallbacks(android.app.servertransaction.ClientTransaction) (TransactionExecutor.java:108) at void android.app.servertransaction.TransactionExecutor.execute(android.app.servertransaction.ClientTransaction) (TransactionExecutor.java:68) at void android.app.ActivityThread$H.handleMessage(android.os.Message) (ActivityThread.java:1808) at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:106) at void android.os.Looper.loop() (Looper.java:193) at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:6669) 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:493) at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:858) Caused by: java.lang.ClassNotFoundException: Didn't find class "org.apache.http.client.methods.HttpPost" on path: DexPathList[[zip file "/data/app/com.contoso.facetutorial-CKuMb-HAJFtx3FqLtXiUng==/base.apk", zip file "/data/app/com.contoso.facetutorial-CKuMb-HAJFtx3FqLtXiUng==/split_lib_dependencies_apk.apk", zip file "/data/app/com.contoso.facetutorial-CKuMb-HAJFtx3FqLtXiUng==/split_lib_resources_apk.apk", zip file "/data/app/com.contoso.facetutorial-CKuMb-HAJFtx3FqLtXiUng==/split_lib_slice_0_apk.apk", zip file "/data/app/com.contoso.facetutorial-CKuMb-HAJFtx3FqLtXiUng==/split_lib_slice_1_apk.apk", zip file "/data/app/com.contoso.facetutorial-CKuMb-HAJFtx3FqLtXiUng==/split_lib_slice_2_apk.apk", zip file "/data/app/com.contoso.facetutorial-CKuMb-HAJFtx3FqLtXiUng==/split_lib_slice_3_apk.apk", zip file "/data/app/com.contoso.facetutorial-CKuMb-HAJFtx3FqLtXiUng==/split_lib_slice_4_apk.apk", zip file "/data/app/com.contoso.facetutorial-CKuMb-HAJFtx3FqLtXiUng==/split_lib_slice_5_apk.apk", zip file "/data/app/com. at java.lang.Class dalvik.system.BaseDexClassLoader.findClass(java.lang.String) (BaseDexClassLoader.java:134) 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 com.microsoft.projectoxford.face.FaceServiceRestClient.(java.lang.String, java.lang.String) (FaceServiceRestClient.java:99) at void com.contoso.facetutorial.MainActivity.() (MainActivity.java:26) at java.lang.Object java.lang.Class.newInstance() (Class.java:-2) at android.app.Activity android.app.AppComponentFactory.instantiateActivity(java.lang.ClassLoader, java.lang.String, android.content.Intent) (AppComponentFactory.java:69) at android.app.Activity android.app.Instrumentation.newActivity(java.lang.ClassLoader, java.lang.String, android.content.Intent) (Instrumentation.java:1215) at android.app.Activity android.app.ActivityThread.performLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent) (ActivityThread.java:2831) at android.app.Activity android.app.ActivityThread.handleLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.app.servertransaction.PendingTransactionActions, android.content.Intent) (ActivityThread.java:3048) at void android.app.servertransaction.LaunchActivityItem.execute(android.app.ClientTransactionHandler, android.os.IBinder, android.app.servertransaction.PendingTransactionActions) (LaunchActivityItem.java:78) at void android.app.servertransaction.TransactionExecutor.executeCallbacks(android.app.servertransaction.ClientTransaction) (TransactionExecutor.java:108) at void android.app.servertransaction.TransactionExecutor.execute(android.app.servertransaction.ClientTransaction) (TransactionExecutor.java:68) at void android.app.ActivityThread$H.handleMessage(android.os.Message) (ActivityThread.java:1808) at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:106) at void android.os.Looper.loop() (Looper.java:193) I/so.facetutoria: at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:6669) 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:493) at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:858) Rejecting re-init on previously-failed class java.lang.Class: java.lang.NoClassDefFoundError: Failed resolution of: Lorg/apache/http/client/methods/HttpPost; at void com.microsoft.projectoxford.face.FaceServiceRestClient.(java.lang.String, java.lang.String) (FaceServiceRestClient.java:99) at void com.contoso.facetutorial.MainActivity.() (MainActivity.java:26) at java.lang.Object java.lang.Class.newInstance() (Class.java:-2) at android.app.Activity android.app.AppComponentFactory.instantiateActivity(java.lang.ClassLoader, java.lang.String, android.content.Intent) (AppComponentFactory.java:69) at android.app.Activity android.app.Instrumentation.newActivity(java.lang.ClassLoader, java.lang.String, android.content.Intent) (Instrumentation.java:1215) at android.app.Activity android.app.ActivityThread.performLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent) (ActivityThread.java:2831) at android.app.Activity android.app.ActivityThread.handleLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.app.servertransaction.PendingTransactionActions, android.content.Intent) (ActivityThread.java:3048) at void android.app.servertransaction.LaunchActivityItem.execute(android.app.ClientTransactionHandler, android.os.IBinder, android.app.servertransaction.PendingTransactionActions) (LaunchActivityItem.java:78) at void android.app.servertransaction.TransactionExecutor.executeCallbacks(android.app.servertransaction.ClientTransaction) (TransactionExecutor.java:108) at void android.app.servertransaction.TransactionExecutor.execute(android.app.servertransaction.ClientTransaction) (TransactionExecutor.java:68) at void android.app.ActivityThread$H.handleMessage(android.os.Message) (ActivityThread.java:1808) at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:106) at void android.os.Looper.loop() (Looper.java:193) at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:6669) 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:493) I/so.facetutoria: at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:858) Caused by: java.lang.ClassNotFoundException: Didn't find class "org.apache.http.client.methods.HttpPost" on path: DexPathList[[zip file "/data/app/com.contoso.facetutorial-CKuMb-HAJFtx3FqLtXiUng==/base.apk", zip file "/data/app/com.contoso.facetutorial-CKuMb-HAJFtx3FqLtXiUng==/split_lib_dependencies_apk.apk", zip file "/data/app/com.contoso.facetutorial-CKuMb-HAJFtx3FqLtXiUng==/split_lib_resources_apk.apk", zip file "/data/app/com.contoso.facetutorial-CKuMb-HAJFtx3FqLtXiUng==/split_lib_slice_0_apk.apk", zip file "/data/app/com.contoso.facetutorial-CKuMb-HAJFtx3FqLtXiUng==/split_lib_slice_1_apk.apk", zip file "/data/app/com.contoso.facetutorial-CKuMb-HAJFtx3FqLtXiUng==/split_lib_slice_2_apk.apk", zip file "/data/app/com.contoso.facetutorial-CKuMb-HAJFtx3FqLtXiUng==/split_lib_slice_3_apk.apk", zip file "/data/app/com.contoso.facetutorial-CKuMb-HAJFtx3FqLtXiUng==/split_lib_slice_4_apk.apk", zip file "/data/app/com.contoso.facetutorial-CKuMb-HAJFtx3FqLtXiUng==/split_lib_slice_5_apk.apk", zip file "/data/app/com. at java.lang.Class dalvik.system.BaseDexClassLoader.findClass(java.lang.String) (BaseDexClassLoader.java:134) 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 com.microsoft.projectoxford.face.FaceServiceRestClient.(java.lang.String, java.lang.String) (FaceServiceRestClient.java:99) at void com.contoso.facetutorial.MainActivity.() (MainActivity.java:26) at java.lang.Object java.lang.Class.newInstance() (Class.java:-2) at android.app.Activity android.app.AppComponentFactory.instantiateActivity(java.lang.ClassLoader, java.lang.String, android.content.Intent) (AppComponentFactory.java:69) at android.app.Activity android.app.Instrumentation.newActivity(java.lang.ClassLoader, java.lang.String, android.content.Intent) (Instrumentation.java:1215) at android.app.Activity android.app.ActivityThread.performLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent) (ActivityThread.java:2831) at android.app.Activity android.app.ActivityThread.handleLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.app.servertransaction.PendingTransactionActions, android.content.Intent) (ActivityThread.java:3048) at void android.app.servertransaction.LaunchActivityItem.execute(android.app.ClientTransactionHandler, android.os.IBinder, android.app.servertransaction.PendingTransactionActions) (LaunchActivityItem.java:78) at void android.app.servertransaction.TransactionExecutor.executeCallbacks(android.app.servertransaction.ClientTransaction) (TransactionExecutor.java:108) at void android.app.servertransaction.TransactionExecutor.execute(android.app.servertransaction.ClientTransaction) (TransactionExecutor.java:68) at void android.app.ActivityThread$H.handleMessage(android.os.Message) (ActivityThread.java:1808) at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:106) at void android.os.Looper.loop() (Looper.java:193) at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:6669) 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:493) at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:858)

Expected/desired behavior

I thought it would run at least

OS and Version?

OSX Mojave 10.14.5

Versions

Downloaded from master

Mention any other details that might be useful

Running on Android Studio 3.4.1


Thanks! We'll be in touch soon.

dwhiteddsoft commented 5 years ago

Looking at this one https://github.com/microsoft/Cognitive-Face-Android and getting it to run it seems the only difference was targetSdkVersion had to be 22 instead of 28. That change allows it to work but then throws a warning saying Google Play wants it to be 26 or higher. I changed to 26 and it worked but verified it failed at 28.