I'm using the Autofill Service, defined in the manifest and also some code to define the view to be a Autofill type view.
When running the app, and touching into the view, the app immediately crashes with this error.
Can anyone explain why this happens and how to fix it?
When running the app, and touching into the view, the app immediately crashes with this error.
Can anyone explain why this happens and how to fix it?
B4X:
java.lang.RuntimeException: Unable to instantiate service com.mfstuart.autofill_demo.MyAutofillService: java.lang.ClassNotFoundException: Didn't find class "com.mfstuart.autofill_demo.MyAutofillService" on path: DexPathList[[zip file "/data/app/com.mfstuart.autofill_demo-fmehVsDnOETFQrOSdcdFJw==/base.apk"],nativeLibraryDirectories=[/data/app/com.mfstuart.autofill_demo-fmehVsDnOETFQrOSdcdFJw==/lib/arm, /system/lib, /system/vendor/lib]]
at android.app.ActivityThread.handleCreateService(ActivityThread.java:3791)
at android.app.ActivityThread.access$1500(ActivityThread.java:248)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1846)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:216)
at android.app.ActivityThread.main(ActivityThread.java:7266)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:494)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:975)
Caused by: java.lang.ClassNotFoundException: Didn't find class "com.mfstuart.autofill_demo.MyAutofillService" on path: DexPathList[[zip file "/data/app/com.mfstuart.autofill_demo-fmehVsDnOETFQrOSdcdFJw==/base.apk"],nativeLibraryDirectories=[/data/app/com.mfstuart.autofill_demo-fmehVsDnOETFQrOSdcdFJw==/lib/arm, /system/lib, /system/vendor/lib]]
at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:134)
at java.lang.ClassLoader.loadClass(ClassLoader.java:379)
at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
at android.app.AppComponentFactory.instantiateService(AppComponentFactory.java:103)
at android.app.ActivityThread.handleCreateService(ActivityThread.java:3786)
... 8 more