Hi,
I added this plugin to my cordova app and everything is working fine.
I released an open beta and there's an error only on Galaxy S3 Android 4.3 (App is working well with newer devices).
Is there a compatibility problem with Android 4.3? Or a problem with Galaxy S3?
This is the stacktrace from PreLaunch Report:
FATAL EXCEPTION: main java.lang.NoClassDefFoundError: com.chariotsolutions.nfc.plugin.NfcPlugin$1 at com.chariotsolutions.nfc.plugin.NfcPlugin.<init>(NfcPlugin.java:232) at java.lang.Class.newInstanceImpl(Native Method) at java.lang.Class.newInstance(Class.java:1130) at org.apache.cordova.PluginManager.instantiatePlugin(PluginManager.java:492) at org.apache.cordova.PluginManager.getPlugin(PluginManager.java:169) at org.apache.cordova.PluginManager.startupPlugins(PluginManager.java:97) at org.apache.cordova.PluginManager.init(PluginManager.java:86) at org.apache.cordova.CordovaWebViewImpl.init(CordovaWebViewImpl.java:115) at org.apache.cordova.CordovaActivity.init(CordovaActivity.java:149) at org.apache.cordova.CordovaActivity.loadUrl(CordovaActivity.java:224) at org.lh.cfpapp.MainActivity.onCreate(MainActivity.java:39) at android.app.Activity.performCreate(Activity.java:5372) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1104) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2257) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2349) at android.app.ActivityThread.access$700(ActivityThread.java:159) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1316) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loop(Looper.java:176) at android.app.ActivityThread.main(ActivityThread.java:5419) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:525) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1046) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:862) at dalvik.system.NativeStart.main(Native Method)
FATAL EXCEPTION: Thread-939 java.lang.NoClassDefFoundError: java.util.Objects at androidx.test.tools.crawler.platform.uiautomator.UiAutomatorInteractionController.launchPackage(UiAutomatorInteractionController.java:39) at androidx.test.tools.crawler.platform.hybrid.HybridInteractionController.launchPackage(HybridInteractionController.java:48) at androidx.test.tools.crawler.platform.ActionExecutor.execute(ActionExecutor.java:33) at androidx.test.tools.crawler.platform.RemotePlatform.performAction(RemotePlatform.java:67) at androidx.test.tools.crawler.platform.RemotePlatform.handlePerformAction(RemotePlatform.java:19) at androidx.test.tools.crawler.platform.RemotePlatform.messageLoop(RemotePlatform.java:61) at androidx.test.tools.crawler.platform.RemotePlatform.lambda$startCrawlAndWaitUntilFinished$0$RemotePlatform(RemotePlatform.java) at androidx.test.tools.crawler.platform.RemotePlatform$$Lambda$0.run(Unknown Source) at java.lang.Thread.run(Thread.java:841)
Hi, I added this plugin to my cordova app and everything is working fine. I released an open beta and there's an error only on Galaxy S3 Android 4.3 (App is working well with newer devices).
Is there a compatibility problem with Android 4.3? Or a problem with Galaxy S3?
This is the stacktrace from PreLaunch Report:
FATAL EXCEPTION: main java.lang.NoClassDefFoundError: com.chariotsolutions.nfc.plugin.NfcPlugin$1 at com.chariotsolutions.nfc.plugin.NfcPlugin.<init>(NfcPlugin.java:232) at java.lang.Class.newInstanceImpl(Native Method) at java.lang.Class.newInstance(Class.java:1130) at org.apache.cordova.PluginManager.instantiatePlugin(PluginManager.java:492) at org.apache.cordova.PluginManager.getPlugin(PluginManager.java:169) at org.apache.cordova.PluginManager.startupPlugins(PluginManager.java:97) at org.apache.cordova.PluginManager.init(PluginManager.java:86) at org.apache.cordova.CordovaWebViewImpl.init(CordovaWebViewImpl.java:115) at org.apache.cordova.CordovaActivity.init(CordovaActivity.java:149) at org.apache.cordova.CordovaActivity.loadUrl(CordovaActivity.java:224) at org.lh.cfpapp.MainActivity.onCreate(MainActivity.java:39) at android.app.Activity.performCreate(Activity.java:5372) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1104) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2257) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2349) at android.app.ActivityThread.access$700(ActivityThread.java:159) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1316) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loop(Looper.java:176) at android.app.ActivityThread.main(ActivityThread.java:5419) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:525) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1046) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:862) at dalvik.system.NativeStart.main(Native Method)
FATAL EXCEPTION: Thread-939 java.lang.NoClassDefFoundError: java.util.Objects at androidx.test.tools.crawler.platform.uiautomator.UiAutomatorInteractionController.launchPackage(UiAutomatorInteractionController.java:39) at androidx.test.tools.crawler.platform.hybrid.HybridInteractionController.launchPackage(HybridInteractionController.java:48) at androidx.test.tools.crawler.platform.ActionExecutor.execute(ActionExecutor.java:33) at androidx.test.tools.crawler.platform.RemotePlatform.performAction(RemotePlatform.java:67) at androidx.test.tools.crawler.platform.RemotePlatform.handlePerformAction(RemotePlatform.java:19) at androidx.test.tools.crawler.platform.RemotePlatform.messageLoop(RemotePlatform.java:61) at androidx.test.tools.crawler.platform.RemotePlatform.lambda$startCrawlAndWaitUntilFinished$0$RemotePlatform(RemotePlatform.java) at androidx.test.tools.crawler.platform.RemotePlatform$$Lambda$0.run(Unknown Source) at java.lang.Thread.run(Thread.java:841)