Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Execution failed for task ':app:processDebugManifest'. #8

Closed
mohammad-quanit opened this issue Jul 16, 2019 · 11 comments
Closed

Execution failed for task ':app:processDebugManifest'. #8

mohammad-quanit opened this issue Jul 16, 2019 · 11 comments

Comments

@mohammad-quanit
Copy link

Hello, I have tried your library with its complete configuration but when I do run "flutter run", I am getting this error. Here's the full error stack,

 `Launching lib/main.dart on Nokia 2 in debug mode...
    Initializing gradle...                                              1.2s
    Resolving dependencies...                                           2.9s
    /home/mquanit/Documents/Projects/Mobile-Ap 
    ps/ar_app/android/app/src/debug/AndroidManifest.xml:37:58-82 Error:
    Attribute meta-data#com.google.ar.core@value value=(required) from 
    AndroidManifest.xml:37:58-82
     is also present at [:arcore_plugin] AndroidManifest.xml:24:13-37 value=(optional).
    Suggestion: add 'tools:replace="android:value"' to <meta-data> element at 
     AndroidManifest.xml:21:9-23:40 to override.
                                                                    
     FAILURE: Build failed with an exception.                                
                                                                    
      * What went wrong:                                                      
       Execution failed for task ':app:processDebugManifest'.                  
     > Manifest merger failed : Attribute meta-data#com.google.ar.core@value value=(required) 
      from AndroidManifest.xml:37:58-82
     is also present at [:arcore_plugin] AndroidManifest.xml:24:13-37 value=(optional).
     Suggestion: add 'tools:replace="android:value"' to <meta-data> element at 
       AndroidManifest.xml:21:9-23:40 to override.
                                                                    
    * Try:                                                                  
   Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get 
   more log output. Run with --scan to get full insights.
                                                                    
   * Get more help at https://help.gradle.org                              
                                                                    
      BUILD FAILED in 7s                                                      
      Running Gradle task 'assembleDebug'...                                  
       Running Gradle task 'assembleDebug'... Done                         8.5s
         Gradle task assembleDebug failed with exit code 1`
@mohammad-quanit
Copy link
Author

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>

@scognito
Copy link

scognito commented Jul 18, 2019

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

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

@mohammad-quanit
Copy link
Author

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

@scognito
Copy link

Paste your stacktrace

@mohammad-quanit
Copy link
Author

@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.

@mohammad-quanit
Copy link
Author

Screenshot_20190720-135100

@scognito
Copy link

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

@zxj17815
Copy link

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.

@zxj17815
Copy link

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)

@giandifra
Copy link
Owner

Have you check if your smartphone support Android ArCore?

@mohammad-quanit
Copy link
Author

mohammad-quanit commented Aug 26, 2019

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants