Giter Site home page Giter Site logo

Comments (11)

mohammad-quanit avatar mohammad-quanit commented on July 17, 2024

Here's my AndroidManifest.xml

<!-- io.flutter.app.FlutterApplication is an android.app.Application that
     calls FlutterMain.startInitialization(this); in its onCreate method.
     In most cases you can leave this as-is, but you if you want to provide
     additional functionality it is fine to subclass or reimplement
     FlutterApplication and put your custom class here. -->
<!-- "AR Required" apps must declare minSdkVersion ≥ 24 -->
<uses-sdk android:minSdkVersion="24" />

<uses-permission android:name="android.permission.CAMERA" />

<!-- Indicates that app requires ARCore ("AR Required"). Ensures app is only
    visible in the Google Play Store on devices that support ARCore.
-->
<uses-feature android:name="android.hardware.camera.ar" android:required="true" />

<application
    android:name="io.flutter.app.FlutterApplication"
    android:label="ar_app"
    android:icon="@mipmap/ic_launcher">
    <activity
        android:name=".MainActivity"
        android:launchMode="singleTop"
        android:theme="@style/LaunchTheme"
        android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
        android:hardwareAccelerated="true"
        android:windowSoftInputMode="adjustResize">
        <!-- This keeps the window background of the activity showing
             until Flutter renders its first frame. It can be removed if
             there is no splash screen (such as the default splash screen
             defined in @style/LaunchTheme). -->
        <meta-data
            android:name="io.flutter.app.android.SplashScreenUntilFirstFrame"
            android:value="true" />
        <meta-data android:name="com.google.ar.core" android:value="required" />
        <intent-filter>
            <action android:name="android.intent.action.MAIN"/>
            <category android:name="android.intent.category.LAUNCHER"/>
        </intent-filter>
    </activity>
</application>

from arcore_flutter_plugin.

scognito avatar scognito commented on July 17, 2024

Use this meta for "com.google.ar.core"

<meta-data android:name="com.google.ar.core" android:value="required" tools:replace="android:value" />

from arcore_flutter_plugin.

mohammad-quanit avatar mohammad-quanit commented on July 17, 2024

@scognito I have already added this meta but still now my app is not opening it's getting crashed whenever i try to open....

from arcore_flutter_plugin.

scognito avatar scognito commented on July 17, 2024

Paste your stacktrace

from arcore_flutter_plugin.

mohammad-quanit avatar mohammad-quanit commented on July 17, 2024

@scognito

W/Adreno-ES20(31558): <get_gpu_clk:229>: open failed: errno 13
W/.example.ar_app(31558): type=1400 audit(0.0:671523): avc: denied { read } for name="gpuclk" dev="sysfs" ino=10212 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:sysfs:s0 tclass=file permissive=0
I/Filament(31558): FEngine (32 bits) created at 0x80600000 (threading is enabled)
D/Filament(31558): FEngine resolved backend: OpenGL
W/Adreno-ES20(31558): <get_gpu_clk:229>: open failed: errno 13
I/SceneView(31558): Optional library com.google.ar.sceneform.animation not present. Sceneform animation disabled
W/art (31558): Verification of void com.difrancescogianmarco.arcore_flutter_plugin.utils.ArCoreUtils$Companion.(kotlin.jvm.internal.DefaultConstructorMarker) took 223.484ms
W/art (31558): Verification of void androidx.core.app.ActivityCompat.requestPermissions(android.app.Activity, java.lang.String[], int) took 455.896ms
W/art (31558): Verification of void androidx.core.app.ActivityCompat.setEnterSharedElementCallback(android.app.Activity, androidx.core.app.SharedElementCallback) took 937.722ms
I/com.difrancescogianmarco.arcore_flutter_plugin.ArCoreView(31558): onActivityPaused
I/com.difrancescogianmarco.arcore_flutter_plugin.ArCoreView(31558): arScenViewInit
I/flutter (31558): {dartType: ArCoreNode, shape: {radius: 0.2, dartType: ArCoreSphere, materials: [{color: [255, 103, 58, 183]}]}, position: {x: 0.0, y: 0.0, z: -1.0}, name: ^jgYfftp\wyhjZg_, children: []}
I/com.difrancescogianmarco.arcore_flutter_plugin.ArCoreView(31558): addArCoreNode
W/art (31558): Verification of void com.difrancescogianmarco.arcore_flutter_plugin.RenderableCustomFactory$Companion.makeMaterial(android.content.Context, com.difrancescogianmarco.arcore_flutter_plugin.flutter_models.FlutterArCoreNode, kotlin.jvm.functions.Function2) took 686.052ms
I/com.difrancescogianmarco.arcore_flutter_plugin.ArCoreView(31558): onActivityResumed
I/com.difrancescogianmarco.arcore_flutter_plugin.ArCoreView(31558): onActivityPaused
D/AndroidRuntime(31558): Shutting down VM
E/AndroidRuntime(31558): FATAL EXCEPTION: main
E/AndroidRuntime(31558): Process: com.example.ar_app, PID: 31558
E/AndroidRuntime(31558): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.ar_app/com.google.ar.core.InstallActivity}: java.lang.IllegalArgumentException: Parameter specified as non-null is null: method kotlin.jvm.internal.Intrinsics.checkParameterIsNotNull, parameter savedInstanceState
E/AndroidRuntime(31558): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2665)
E/AndroidRuntime(31558): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2726)
E/AndroidRuntime(31558): at android.app.ActivityThread.-wrap12(ActivityThread.java)
E/AndroidRuntime(31558): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1477)
E/AndroidRuntime(31558): at android.os.Handler.dispatchMessage(Handler.java:102)
E/AndroidRuntime(31558): at android.os.Looper.loop(Looper.java:154)
E/AndroidRuntime(31558): at android.app.ActivityThread.main(ActivityThread.java:6119)
E/AndroidRuntime(31558): at java.lang.reflect.Method.invoke(Native Method)
E/AndroidRuntime(31558): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:886)
E/AndroidRuntime(31558): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:776)
E/AndroidRuntime(31558): Caused by: java.lang.IllegalArgumentException: Parameter specified as non-null is null: method kotlin.jvm.internal.Intrinsics.checkParameterIsNotNull, parameter savedInstanceState
E/AndroidRuntime(31558): at com.difrancescogianmarco.arcore_flutter_plugin.ArCoreView$setupLifeCycle$1.onActivityCreated(ArCoreView.kt)
E/AndroidRuntime(31558): at android.app.Application.dispatchActivityCreated(Application.java:197)
E/AndroidRuntime(31558): at android.app.Activity.onCreate(Activity.java:972)
E/AndroidRuntime(31558): at com.google.ar.core.InstallActivity.onCreate(InstallActivity.java:4)
E/AndroidRuntime(31558): at android.app.Activity.performCreate(Activity.java:6747)
E/AndroidRuntime(31558): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1119)
E/AndroidRuntime(31558): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2618)
E/AndroidRuntime(31558): ... 9 more
Lost connection to device.

from arcore_flutter_plugin.

mohammad-quanit avatar mohammad-quanit commented on July 17, 2024

Screenshot_20190720-135100

from arcore_flutter_plugin.

scognito avatar scognito commented on July 17, 2024

Send the code too, and both build.gradle (app and project) just to try to replicate. Have you followed exactly the instructions to enable arcore?

https://medium.com/@difrancescogianmarco/arcore-flutter-plugin-configurations-3ee53f2dc749

from arcore_flutter_plugin.

zxj17815 avatar zxj17815 commented on July 17, 2024

I have encountered the same situation, but I was able to run it before. It is not working now. I have not done any changes, except for upgrading Flutter.

from arcore_flutter_plugin.

zxj17815 avatar zxj17815 commented on July 17, 2024

D/EGL_emulation( 3609): eglCreateContext: 0x7e1bd3c83a20: maj 3 min 1 rcv 4
D/EGL_emulation( 3609): eglMakeCurrent: 0x7e1bd3c83a20: ver 3 1 (tinfo 0x7e1beedd7a00)
E/eglCodecCommon( 3609): glUtilsParamSize: unknow param 0x000082da
E/eglCodecCommon( 3609): glUtilsParamSize: unknow param 0x000082da
I/Filament( 3609): FEngine (64 bits) created at 0x7e1bcea00000 (threading is enabled)
D/Filament( 3609): Using ASurfaceTexture
D/Filament( 3609): FEngine resolved backend: OpenGL
D/ ( 3609): HostConnection::get() New Host Connection established 0x7e1bf2241940, tid 3641
D/EGL_emulation( 3609): eglCreateContext: 0x7e1bf22b66e0: maj 3 min 1 rcv 4
D/EGL_emulation( 3609): eglMakeCurrent: 0x7e1bf22b66e0: ver 3 1 (tinfo 0x7e1bd85fd140)
E/eglCodecCommon( 3609): glUtilsParamSize: unknow param 0x000082da
E/eglCodecCommon( 3609): glUtilsParamSize: unknow param 0x000082da
E/eglCodecCommon( 3609): glUtilsParamSize: unknow param 0x00008a30
E/eglCodecCommon( 3609): glUtilsParamSize: unknow param 0x00008a30
D/ ( 3609): HostConnection::get() New Host Connection established 0x7e1bf8193980, tid 3621
I/SceneView( 3609): Optional library com.google.ar.sceneform.animation not present. Sceneform animation disabled
D/ ( 3609): HostConnection::get() New Host Connection established 0x7e1be0e786a0, tid 3623
I/flutter ( 3609): {dartType: ArCoreNode, shape: {radius: 0.1, dartType: ArCoreSphere, materials: [{color: [120, 66, 134, 244], texture: earth.jpg}]}, position: {x: 0.0, y: 0.0, z: -1.5}, name: jaqfn[o]Yvombfha, children: []}
I/flutter ( 3609): {dartType: ArCoreNode, shape: {height: 0.5, radius: 0.3, dartType: ArCoreCylinder, materials: [{color: [255, 244, 67, 54], reflectance: 1.0}]}, position: {x: 0.0, y: -0.5, z: -2.0}, name: xndhidvsprhchm\, children: []} I/flutter ( 3609): {dartType: ArCoreNode, shape: {size: {x: 0.5, y: 0.5, z: 0.5}, dartType: ArCoreCube, materials: [{color: [120, 66, 134, 244], metallic: 1.0}]}, position: {x: -0.5, y: 0.5, z: -3.5}, name: ptembh[epZy\pgk, children: []}
I/com.difrancescogianmarco.arcore_flutter_plugin.ArCoreView( 3609): arScenViewInit
I/com.difrancescogianmarco.arcore_flutter_plugin.ArCoreView( 3609): addArCoreNode
I/com.difrancescogianmarco.arcore_flutter_plugin.ArCoreView( 3609): dartType: ArCoreNode
I/com.difrancescogianmarco.arcore_flutter_plugin.ArCoreView( 3609): name: jaqfn[o]Yvombfha
I/com.difrancescogianmarco.arcore_flutter_plugin.ArCoreView( 3609): shape: dartType: ArCoreSphere
I/com.difrancescogianmarco.arcore_flutter_plugin.ArCoreView( 3609): radius: 0.1
I/com.difrancescogianmarco.arcore_flutter_plugin.ArCoreView( 3609): size: [x=0.0, y=0.0, z=0.0]
I/com.difrancescogianmarco.arcore_flutter_plugin.ArCoreView( 3609): height: null
I/com.difrancescogianmarco.arcore_flutter_plugin.ArCoreView( 3609): material: color: 2017625844
I/com.difrancescogianmarco.arcore_flutter_plugin.ArCoreView( 3609): argb: [120, 66, 134, 244]
I/com.difrancescogianmarco.arcore_flutter_plugin.ArCoreView( 3609): texture: earth.jpg
I/com.difrancescogianmarco.arcore_flutter_plugin.ArCoreView( 3609): metallic: null
I/com.difrancescogianmarco.arcore_flutter_plugin.ArCoreView( 3609): roughness: null
I/com.difrancescogianmarco.arcore_flutter_plugin.ArCoreView( 3609): reflectance: null
I/com.difrancescogianmarco.arcore_flutter_plugin.ArCoreView( 3609): obcject3DFileName: null
I/com.difrancescogianmarco.arcore_flutter_plugin.ArCoreView( 3609): objectUrl: null
I/com.difrancescogianmarco.arcore_flutter_plugin.ArCoreView( 3609): position: [x=0.0, y=0.0, z=-1.5]
I/com.difrancescogianmarco.arcore_flutter_plugin.ArCoreView( 3609): scale: [x=1.0, y=1.0, z=1.0]
I/com.difrancescogianmarco.arcore_flutter_plugin.ArCoreView( 3609): rotation: [x=0.0, y=0.0, z=0.0, w=1.0]
I/com.difrancescogianmarco.arcore_flutter_plugin.ArCoreView( 3609): parentNodeName: null
I/com.difrancescogianmarco.arcore_flutter_plugin.NodeFactory( 3609): dartType: ArCoreNode
I/com.difrancescogianmarco.arcore_flutter_plugin.NodeFactory( 3609): name: jaqfn[o]Yvombfha
I/com.difrancescogianmarco.arcore_flutter_plugin.NodeFactory( 3609): shape: dartType: ArCoreSphere
I/com.difrancescogianmarco.arcore_flutter_plugin.NodeFactory( 3609): radius: 0.1
I/com.difrancescogianmarco.arcore_flutter_plugin.NodeFactory( 3609): size: [x=0.0, y=0.0, z=0.0]
I/com.difrancescogianmarco.arcore_flutter_plugin.NodeFactory( 3609): height: null
I/com.difrancescogianmarco.arcore_flutter_plugin.NodeFactory( 3609): material: color: 2017625844
I/com.difrancescogianmarco.arcore_flutter_plugin.NodeFactory( 3609): argb: [120, 66, 134, 244]
I/com.difrancescogianmarco.arcore_flutter_plugin.NodeFactory( 3609): texture: earth.jpg
I/com.difrancescogianmarco.arcore_flutter_plugin.NodeFactory( 3609): metallic: null
I/com.difrancescogianmarco.arcore_flutter_plugin.NodeFactory( 3609): roughness: null
I/com.difrancescogianmarco.arcore_flutter_plugin.NodeFactory( 3609): reflectance: null
I/com.difrancescogianmarco.arcore_flutter_plugin.NodeFactory( 3609): obcject3DFileName: null
I/com.difrancescogianmarco.arcore_flutter_plugin.NodeFactory( 3609): objectUrl: null
I/com.difrancescogianmarco.arcore_flutter_plugin.NodeFactory( 3609): position: [x=0.0, y=0.0, z=-1.5]
I/com.difrancescogianmarco.arcore_flutter_plugin.NodeFactory( 3609): scale: [x=1.0, y=1.0, z=1.0]
I/com.difrancescogianmarco.arcore_flutter_plugin.NodeFactory( 3609): rotation: [x=0.0, y=0.0, z=0.0, w=1.0]
I/com.difrancescogianmarco.arcore_flutter_plugin.NodeFactory( 3609): parentNodeName: null
I/com.difrancescogianmarco.arcore_flutter_plugin.ArCoreView( 3609): addArCoreNode
I/com.difrancescogianmarco.arcore_flutter_plugin.ArCoreView( 3609): dartType: ArCoreNode
I/com.difrancescogianmarco.arcore_flutter_plugin.ArCoreView( 3609): name: xndhidvsprhchm\ I/com.difrancescogianmarco.arcore_flutter_plugin.ArCoreView( 3609): shape: dartType: ArCoreCylinder I/com.difrancescogianmarco.arcore_flutter_plugin.ArCoreView( 3609): radius: 0.3 I/com.difrancescogianmarco.arcore_flutter_plugin.ArCoreView( 3609): size: [x=0.0, y=0.0, z=0.0] I/com.difrancescogianmarco.arcore_flutter_plugin.ArCoreView( 3609): height: 0.5 I/com.difrancescogianmarco.arcore_flutter_plugin.ArCoreView( 3609): material: color: -769226 I/com.difrancescogianmarco.arcore_flutter_plugin.ArCoreView( 3609): argb: [255, 244, 67, 54] I/com.difrancescogianmarco.arcore_flutter_plugin.ArCoreView( 3609): texture: null I/com.difrancescogianmarco.arcore_flutter_plugin.ArCoreView( 3609): metallic: null I/com.difrancescogianmarco.arcore_flutter_plugin.ArCoreView( 3609): roughness: null I/com.difrancescogianmarco.arcore_flutter_plugin.ArCoreView( 3609): reflectance: 1.0 I/com.difrancescogianmarco.arcore_flutter_plugin.ArCoreView( 3609): obcject3DFileName: null I/com.difrancescogianmarco.arcore_flutter_plugin.ArCoreView( 3609): objectUrl: null I/com.difrancescogianmarco.arcore_flutter_plugin.ArCoreView( 3609): position: [x=0.0, y=-0.5, z=-2.0] I/com.difrancescogianmarco.arcore_flutter_plugin.ArCoreView( 3609): scale: [x=1.0, y=1.0, z=1.0] I/com.difrancescogianmarco.arcore_flutter_plugin.ArCoreView( 3609): rotation: [x=0.0, y=0.0, z=0.0, w=1.0] I/com.difrancescogianmarco.arcore_flutter_plugin.ArCoreView( 3609): parentNodeName: null I/com.difrancescogianmarco.arcore_flutter_plugin.NodeFactory( 3609): dartType: ArCoreNode I/com.difrancescogianmarco.arcore_flutter_plugin.NodeFactory( 3609): name: xndhidvsprhchm
I/com.difrancescogianmarco.arcore_flutter_plugin.NodeFactory( 3609): shape: dartType: ArCoreCylinder
I/com.difrancescogianmarco.arcore_flutter_plugin.NodeFactory( 3609): radius: 0.3
I/com.difrancescogianmarco.arcore_flutter_plugin.NodeFactory( 3609): size: [x=0.0, y=0.0, z=0.0]
I/com.difrancescogianmarco.arcore_flutter_plugin.NodeFactory( 3609): height: 0.5
I/com.difrancescogianmarco.arcore_flutter_plugin.NodeFactory( 3609): material: color: -769226
I/com.difrancescogianmarco.arcore_flutter_plugin.NodeFactory( 3609): argb: [255, 244, 67, 54]
I/com.difrancescogianmarco.arcore_flutter_plugin.NodeFactory( 3609): texture: null
I/com.difrancescogianmarco.arcore_flutter_plugin.NodeFactory( 3609): metallic: null
I/com.difrancescogianmarco.arcore_flutter_plugin.NodeFactory( 3609): roughness: null
I/com.difrancescogianmarco.arcore_flutter_plugin.NodeFactory( 3609): reflectance: 1.0
I/com.difrancescogianmarco.arcore_flutter_plugin.NodeFactory( 3609): obcject3DFileName: null
I/com.difrancescogianmarco.arcore_flutter_plugin.NodeFactory( 3609): objectUrl: null
I/com.difrancescogianmarco.arcore_flutter_plugin.NodeFactory( 3609): position: [x=0.0, y=-0.5, z=-2.0]
I/com.difrancescogianmarco.arcore_flutter_plugin.NodeFactory( 3609): scale: [x=1.0, y=1.0, z=1.0]
I/com.difrancescogianmarco.arcore_flutter_plugin.NodeFactory( 3609): rotation: [x=0.0, y=0.0, z=0.0, w=1.0]
I/com.difrancescogianmarco.arcore_flutter_plugin.NodeFactory( 3609): parentNodeName: null
E/Texture ( 3609): Unable to load Texture registryId='earth.jpg'
E/Texture ( 3609): java.util.concurrent.CompletionException: java.lang.IllegalStateException: java.io.FileNotFoundException: earth.jpg (No such file or directory)
E/Texture ( 3609): at java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:276)
E/Texture ( 3609): at java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:282)
E/Texture ( 3609): at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1627)
E/Texture ( 3609): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
E/Texture ( 3609): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
E/Texture ( 3609): at java.lang.Thread.run(Thread.java:764)
E/Texture ( 3609): Caused by: java.lang.IllegalStateException: java.io.FileNotFoundException: earth.jpg (No such file or directory)
E/Texture ( 3609): at com.google.ar.sceneform.rendering.Texture$Builder.lambda$makeBitmap$1(Texture.java:307)
E/Texture ( 3609): at com.google.ar.sceneform.rendering.-$$Lambda$Texture$Builder$PQhMkAC8RpUQI2LwxlzpROjt7l8.get(Unknown Source:4)
E/Texture ( 3609): at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1625)
E/Texture ( 3609): ... 3 more
E/Texture ( 3609): Caused by: java.io.FileNotFoundException: earth.jpg (No such file or directory)
E/Texture ( 3609): at java.io.FileInputStream.open0(Native Method)
E/Texture ( 3609): at java.io.FileInputStream.open(FileInputStream.java:231)
E/Texture ( 3609): at java.io.FileInputStream.(FileInputStream.java:165)
E/Texture ( 3609): at com.google.ar.sceneform.utilities.LoadHelper.lambda$fileUriToInputStreamCreator$1$LoadHelper(SourceFile:76)
E/Texture ( 3609): at com.google.ar.sceneform.utilities.b.call(Unknown Source:6)
E/Texture ( 3609): at com.google.ar.sceneform.rendering.Texture$Builder.lambda$makeBitmap$1(Texture.java:304)
E/Texture ( 3609): ... 5 more
I/com.difrancescogianmarco.arcore_flutter_plugin.ArCoreView( 3609): addArCoreNode
I/com.difrancescogianmarco.arcore_flutter_plugin.ArCoreView( 3609): dartType: ArCoreNode
I/com.difrancescogianmarco.arcore_flutter_plugin.ArCoreView( 3609): name: ptembh[epZy\pgk I/com.difrancescogianmarco.arcore_flutter_plugin.ArCoreView( 3609): shape: dartType: ArCoreCube I/com.difrancescogianmarco.arcore_flutter_plugin.ArCoreView( 3609): radius: null I/com.difrancescogianmarco.arcore_flutter_plugin.ArCoreView( 3609): size: [x=0.5, y=0.5, z=0.5] I/com.difrancescogianmarco.arcore_flutter_plugin.ArCoreView( 3609): height: null I/com.difrancescogianmarco.arcore_flutter_plugin.ArCoreView( 3609): material: color: 2017625844 I/com.difrancescogianmarco.arcore_flutter_plugin.ArCoreView( 3609): argb: [120, 66, 134, 244] I/com.difrancescogianmarco.arcore_flutter_plugin.ArCoreView( 3609): texture: null I/com.difrancescogianmarco.arcore_flutter_plugin.ArCoreView( 3609): metallic: 1.0 I/com.difrancescogianmarco.arcore_flutter_plugin.ArCoreView( 3609): roughness: null I/com.difrancescogianmarco.arcore_flutter_plugin.ArCoreView( 3609): reflectance: null I/com.difrancescogianmarco.arcore_flutter_plugin.ArCoreView( 3609): obcject3DFileName: null I/com.difrancescogianmarco.arcore_flutter_plugin.ArCoreView( 3609): objectUrl: null I/com.difrancescogianmarco.arcore_flutter_plugin.ArCoreView( 3609): position: [x=-0.5, y=0.5, z=-3.5] I/com.difrancescogianmarco.arcore_flutter_plugin.ArCoreView( 3609): scale: [x=1.0, y=1.0, z=1.0] I/com.difrancescogianmarco.arcore_flutter_plugin.ArCoreView( 3609): rotation: [x=0.0, y=0.0, z=0.0, w=1.0] I/com.difrancescogianmarco.arcore_flutter_plugin.ArCoreView( 3609): parentNodeName: null I/com.difrancescogianmarco.arcore_flutter_plugin.NodeFactory( 3609): dartType: ArCoreNode I/com.difrancescogianmarco.arcore_flutter_plugin.NodeFactory( 3609): name: ptembh[epZy\pgk
I/com.difrancescogianmarco.arcore_flutter_plugin.NodeFactory( 3609): shape: dartType: ArCoreCube
I/com.difrancescogianmarco.arcore_flutter_plugin.NodeFactory( 3609): radius: null
I/com.difrancescogianmarco.arcore_flutter_plugin.NodeFactory( 3609): size: [x=0.5, y=0.5, z=0.5]
I/com.difrancescogianmarco.arcore_flutter_plugin.NodeFactory( 3609): height: null
I/com.difrancescogianmarco.arcore_flutter_plugin.NodeFactory( 3609): material: color: 2017625844
I/com.difrancescogianmarco.arcore_flutter_plugin.NodeFactory( 3609): argb: [120, 66, 134, 244]
I/com.difrancescogianmarco.arcore_flutter_plugin.NodeFactory( 3609): texture: null
I/com.difrancescogianmarco.arcore_flutter_plugin.NodeFactory( 3609): metallic: 1.0
I/com.difrancescogianmarco.arcore_flutter_plugin.NodeFactory( 3609): roughness: null
I/com.difrancescogianmarco.arcore_flutter_plugin.NodeFactory( 3609): reflectance: null
I/com.difrancescogianmarco.arcore_flutter_plugin.NodeFactory( 3609): obcject3DFileName: null
I/com.difrancescogianmarco.arcore_flutter_plugin.NodeFactory( 3609): objectUrl: null
I/com.difrancescogianmarco.arcore_flutter_plugin.NodeFactory( 3609): position: [x=-0.5, y=0.5, z=-3.5]
I/com.difrancescogianmarco.arcore_flutter_plugin.NodeFactory( 3609): scale: [x=1.0, y=1.0, z=1.0]
I/com.difrancescogianmarco.arcore_flutter_plugin.NodeFactory( 3609): rotation: [x=0.0, y=0.0, z=0.0, w=1.0]
I/com.difrancescogianmarco.arcore_flutter_plugin.NodeFactory( 3609): parentNodeName: null
I/com.difrancescogianmarco.arcore_flutter_plugin.ArCoreView( 3609): onActivityPaused
D/skia ( 3609): Shader compilation error
D/skia ( 3609): ------------------------
D/skia ( 3609): Errors:
D/skia ( 3609):
I/com.difrancescogianmarco.arcore_flutter_plugin.RenderableCustomFactory( 3609): material not null
I/com.difrancescogianmarco.arcore_flutter_plugin.ArCoreView( 3609): inserted xndhidvsprhchm\ I/com.difrancescogianmarco.arcore_flutter_plugin.ArCoreView( 3609): addNodeToSceneWithGeometry: NOT PARENT_NODE_NAME I/com.difrancescogianmarco.arcore_flutter_plugin.RenderableCustomFactory( 3609): material not null I/com.difrancescogianmarco.arcore_flutter_plugin.ArCoreView( 3609): inserted ptembh[epZy\pgk
I/com.difrancescogianmarco.arcore_flutter_plugin.ArCoreView( 3609): addNodeToSceneWithGeometry: NOT PARENT_NODE_NAME
W/ActivityThread( 3609): handleWindowVisibility: no activity for token android.os.BinderProxy@8b80c62
D/AndroidRuntime( 3609): Shutting down VM
E/AndroidRuntime( 3609): FATAL EXCEPTION: main
E/AndroidRuntime( 3609): Process: com.example.arcore, PID: 3609
E/AndroidRuntime( 3609): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.arcore/com.google.ar.core.InstallActivity}: java.lang.IllegalArgumentException: Parameter specified as non-null is null: method kotlin.jvm.internal.Intrinsics.checkParameterIsNotNull, parameter savedInstanceState
E/AndroidRuntime( 3609): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2913)
E/AndroidRuntime( 3609): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3048)
E/AndroidRuntime( 3609): at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:78)
E/AndroidRuntime( 3609): at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:108)
E/AndroidRuntime( 3609): at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:68)
E/AndroidRuntime( 3609): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1808)
E/AndroidRuntime( 3609): at android.os.Handler.dispatchMessage(Handler.java:106)
E/AndroidRuntime( 3609): at android.os.Looper.loop(Looper.java:193)
E/AndroidRuntime( 3609): at android.app.ActivityThread.main(ActivityThread.java:6669)
E/AndroidRuntime( 3609): at java.lang.reflect.Method.invoke(Native Method)
E/AndroidRuntime( 3609): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
E/AndroidRuntime( 3609): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
E/AndroidRuntime( 3609): Caused by: java.lang.IllegalArgumentException: Parameter specified as non-null is null: method kotlin.jvm.internal.Intrinsics.checkParameterIsNotNull, parameter savedInstanceState
E/AndroidRuntime( 3609): at com.difrancescogianmarco.arcore_flutter_plugin.ArCoreView$setupLifeCycle$1.onActivityCreated(Unknown Source:7)
E/AndroidRuntime( 3609): at android.app.Application.dispatchActivityCreated(Application.java:220)
E/AndroidRuntime( 3609): at android.app.Activity.onCreate(Activity.java:1048)
E/AndroidRuntime( 3609): at com.google.ar.core.InstallActivity.onCreate(InstallActivity.java:4)
E/AndroidRuntime( 3609): at android.app.Activity.performCreate(Activity.java:7136)
E/AndroidRuntime( 3609): at android.app.Activity.performCreate(Activity.java:7127)
E/AndroidRuntime( 3609): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1271)
E/AndroidRuntime( 3609): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2893)
E/AndroidRuntime( 3609): ... 11 more
I/Process ( 3609): Sending signal. PID: 3609 SIG: 9
Lost connection to device.
Exited (sigterm)

from arcore_flutter_plugin.

giandifra avatar giandifra commented on July 17, 2024

Have you check if your smartphone support Android ArCore?

from arcore_flutter_plugin.

mohammad-quanit avatar mohammad-quanit commented on July 17, 2024

These are the devices which support arCore and my device is not on the list. #sedlyf
Asus Zenfone AR
Asus Zenfone Ares
Google Nexus 5X
Google Nexus 6P
Google Pixel, Pixel XL
Google Pixel 2, Pixel 2 XL
Google Pixel 3, Pixel 3 XL
Nokia 6 (2018)
Nokia 6.1 Plus
Nokia 7 Plus
Nokia 8
Nokia 7.1
Nokia 8 Sirocco
Honor 8X
Honor View 10 Lite
Honor 10
Honor V20
Nova 3, Nova 3i
Huawei Mate 20 Lite
Huawei Mate 20 Pro
Huawei Mate 20 X
Nova 4
Huawei y9 (2019)
Huawei P20, P20 Pro
Huawei Mate RS Porsche Design
LG G6
LG G7 One
LG G7 ThinQ
LG V30, V30+, V30+ JOJO
LG V35 ThinQ
LG Q6
LG V40
LG Q8
Moto G5S Plus
Moto G6
Moto Z2 Force
Moto Z3
Moto Z3 Play
Moto Z2 Force
Moto X4
Moto One
Moto One Power
OnePlus 3T
OnePlus 5
OnePlus 6
OnePlus 6T
Samsung Galaxy A5 (2017)
Samsung Galaxy A7 (2017)
Samsung Galaxy A8, Samsung Galaxy A8+ (2018)
Samsung Galaxy Note 8
Samsung Galaxy S7, Galaxy S7 Edge
Samsung Galaxy S8, Galaxy S8+
Samsung Galaxy S9, Galaxy S9+
Galaxy Tab S3
Galaxy Tab S4
Xiaomi Mi Mix 2S
Xiaomi Mi 8
Xiaomi Mi 8 SE
Mi Mix 3
Pocofone F1
Vivo Nex S
Vivo Nex dual display
Sony Xperia XZ Premium
Xperia XZ1, Xperia XZ1 Compact
Xperia XZ2, Xperia XZ2 Compact, Xperia XZ2 Premium
Xperia XZ3

from arcore_flutter_plugin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.