Giter VIP home page Giter VIP logo

Comments (14)

KamikX avatar KamikX commented on July 26, 2024 12

Hi @Zhuxf1111 check if you have this in AndroidManifest.xml inside application tag

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

from sceneform-android-sdk.

Zhuxf1111 avatar Zhuxf1111 commented on July 26, 2024

The device is Samsung Galaxy S7 edge

from sceneform-android-sdk.

Zhuxf1111 avatar Zhuxf1111 commented on July 26, 2024

@KamikX Hi , i checked my AndroidManifest.xml and it contain the codes. I used the demo hellosceneform and it worked fine before.

from sceneform-android-sdk.

malik-at-work avatar malik-at-work commented on July 26, 2024

Hi @Zhuxf1111 can you add anything in the log?
You can get the log from the log monitor window in android studio or via 'adb logcat'

The first things I would check in general if the app is not working include: the version I had installed for ArCore, and the permissions on the app just to make sure camera access is allowed.

from sceneform-android-sdk.

Zhuxf1111 avatar Zhuxf1111 commented on July 26, 2024

Hi @malik-at-work ,I have updated the ArCore version and add the permission on the app .The log is so much and i dont know which of them is you needed.So i attach all of them below

from sceneform-android-sdk.

Zhuxf1111 avatar Zhuxf1111 commented on July 26, 2024

log.txt

from sceneform-android-sdk.

malik-at-work avatar malik-at-work commented on July 26, 2024

Do any other ArCore applications work or is only Sceneform having an issue? For example try HelloAr https://developers.google.com/ar/develop/unity/tutorials/hello-ar-sample

from sceneform-android-sdk.

claywilkinson avatar claywilkinson commented on July 26, 2024

@Zhuxf1111 - Can you modify SolarActivity.java by adding the catch FatalException clause in onResume?
At line 243, add

      } catch (FatalException ex) {
        android.util.Log.e("SolarSystem", "FatalException creating session: " + ex.getMessage(), ex);
      }

And then share what is printed in the log?

from sceneform-android-sdk.

Zhuxf1111 avatar Zhuxf1111 commented on July 26, 2024

@claywilkinson I reset the mobile phone to factory .Then it works fine.

from sceneform-android-sdk.

claywilkinson avatar claywilkinson commented on July 26, 2024

Glad it is working now!

from sceneform-android-sdk.

MuhammamdArslanKhan avatar MuhammamdArslanKhan commented on July 26, 2024

Same issue I am using an emulator."Failed to create AE session"
emulator version
27.3.10-4969155

Android version
8.1 (Oreo) - API 27

OpenGL setting

Renderer maximum
SwiftShader

from sceneform-android-sdk.

chnouman avatar chnouman commented on July 26, 2024

Same issue previously it was working and suddenly it stopped working. Tried uninstalling app and other stuff but no luck.

from sceneform-android-sdk.

nitink133 avatar nitink133 commented on July 26, 2024

Same issue here but with back camera.

from sceneform-android-sdk.

3bdar7man avatar 3bdar7man commented on July 26, 2024

Do any other ArCore applications work or is only Sceneform having an issue? For example try HelloAr https://developers.google.com/ar/develop/unity/tutorials/hello-ar-sample

Hi @malik-at-work
Is there any of this in the form of an application(apk)?

from sceneform-android-sdk.

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.