arcore_flutter_plugin icon indicating copy to clipboard operation
arcore_flutter_plugin copied to clipboard

Issue with plugin

Open aimankhan602 opened this issue 3 years ago • 3 comments
trafficstars

I imported your project from github but when I run the app it gave me errors which i resolved somehow but at the end i got stuck with this error.

e: C:\Users\shera\StudioProjects\arcore_flutter_plugin-master\android\src\main\kotlin\com\difrancescogianmarco\arcore_flutter_plugin\ArCoreViewFactory.kt: (12, 1): Class 'ArCoreViewFactory' is not abstract and does not implement abstract base class member public abstract fun create(p0: Context?, p1: Int, p2: Any?): PlatformView defined in io.flutter.plugin.platform.PlatformViewFactory e: C:\Users\shera\StudioProjects\arcore_flutter_plugin-master\android\src\main\kotlin\com\difrancescogianmarco\arcore_flutter_plugin\ArCoreViewFactory.kt: (14, 5): 'create' overrides nothing e: C:\Users\shera\StudioProjects\arcore_flutter_plugin-master\android\src\main\kotlin\com\difrancescogianmarco\arcore_flutter_plugin\ArcoreFlutterPlugin.kt: (32, 74): Type mismatch: inferred type is Activity? but Activity was expected

Any solution?

aimankhan602 avatar Jun 15 '22 10:06 aimankhan602

same issue

steevedevops avatar Jun 15 '22 15:06 steevedevops

Hi @giandifra Can you address this issue. It's in your example app and if I create a new app it still persists.

aimankhan602 avatar Jun 15 '22 16:06 aimankhan602

try this Screen Shot 2022-06-18 at 07 55 08 line 246 override fun onActivityCreated(activity: Activity? , savedInstanceState: Bundle?) should become override fun onActivityCreated(activity: Activity , savedInstanceState: Bundle?)

sciphergfx avatar Jun 18 '22 05:06 sciphergfx