Closed Maxwell77HH closed 6 years ago
Can you check which model your S7 Edge is? Is that model on the supported devices list? It might related to this issue: https://github.com/google-ar/arcore-android-sdk/issues/197
The name of my device: SM-G935F
Can you sent me a logcat? Also what is your Android version?
How can I create a logcat? My Android version: 7.0
Here is how to capture a logcat:
For details, see https://developer.android.google.cn/studio/command-line/logcat.html
Also do you have the ARCore apk installed from the playstore? If not, do you see the pop up to tell you to install ARCore when you first launch the app?
Hi, yes, I installed the ARcore.apk.
Here is the log:
03-05 18:56:36.728 3781 22233 I ActivityManager: START u0 {act=android.intent.action.MAIN typ=null flg=0x10200000 cmp=ComponentInfo{com.google.ar.core.examples.unreal.helloar/com.epicgames.ue4.GameActivity}} from uid 10069 on display 0
03-05 18:56:36.731 3781 22233 D ActivityManager: ActivityRecord() Constructor : multiScreenAttrs=MultiScreenAttrs{mDisplayId=0, mBaseDisplayId=0, mBaseActivity=false}
03-05 18:56:36.732 3781 22233 D CustomFrequencyManagerService: acquireDVFSLockLocked : type : DVFS_MIN_LIMIT frequency : 1560000 uid : 1000 pid : 3781 pkgName : AMS_RESUME@CPU_MIN@7
03-05 18:56:36.732 3781 22233 D ActivityManager: mActivityResumeBooster.acquire()
03-05 18:56:36.732 3781 22233 D ActivityManager: computeStackFocus: stackId=1
03-05 18:56:36.732 3781 22233 D ActivityManager: computeStackFocus: New stack r=ActivityRecord{675f01ad0 u0 com.google.ar.core.examples.unreal.helloar/com.epicgames.ue4.GameActivity t-1} stackId=1
03-05 18:56:36.733 3781 22233 I MultiWindowManagerService: setTaskDimensions: Task=TaskRecord{2f2f3e6d0 #18833 A=com.google.ar.core.examples.unreal.helloar U=0 StackId=1 sz=1} minWidth=-1 minHeight=-1 maxWidth=-1 maxHeight=-1
03-05 18:56:36.735 3781 22233 D ActivityManager: moveToFront() : reason=startedActivity setFocusedActivity isAttached=true TaskRecord{2f2f3e6d0 #18833 A=com.google.ar.core.examples.unreal.helloar U=0 StackId=1 sz=1}
03-05 18:56:36.735 3781 22233 D ActivityManager: setFocusStackUnchecked: reason=startedActivity setFocusedActivity focusCandidate=ActivityStack{7468837d0 stackId=1, 17 tasks} caller=com.android.server.am.ActivityStack.moveToFront:875 com.android.server.am.ActivityStackSupervisor.moveActivityStackToFront:1995
03-05 18:56:36.735 3781 22233 D InputDispatcher: Focused application set to: xxxx
03-05 18:56:36.736 3781 22233 D InputDispatcher: Focus left window: 5210
03-05 18:56:36.736 3781 22233 D ActivityManager: resumeTopActivityInnerLocked() : #1 prevTask=TaskRecord{2f2f3e6d0 #18833 A=com.google.ar.core.examples.unreal.helloar U=0 StackId=1 sz=1} next=ActivityRecord{675f01ad0 u0 com.google.ar.core.examples.unreal.helloar/com.epicgames.ue4.GameActivity t18833} mFocusedStack=ActivityStack{7468837d0 stackId=1, 17 tasks}
03-05 18:56:36.736 3781 22233 D ActivityTrigger: ActivityTrigger activityPauseTrigger
03-05 18:56:36.737 3781 22233 D GameManagerService: sem_perfomance_mode: 0
03-05 18:56:36.741 3781 3859 D WindowManager: addWindow: android.view.ViewRootImpl$W@cf98140 displayId=0
03-05 18:56:36.742 3781 3859 D InputTransport: Input channel constructed: fd=438
03-05 18:56:36.742 3781 3859 D InputTransport: Input channel constructed: fd=502
03-05 18:56:36.742 3781 3859 D ViewRootImpl@aea6872[helloar]: setView = DecorView@87299be[helloar] touchMode=true
03-05 18:56:36.742 5210 5210 D Launcher: onPause, Launcher: 199719967
03-05 18:56:36.742 5210 5210 D Launcher.HomeView: onPause
03-05 18:56:36.742 5210 5210 D Launcher.Workspace: exitWidgetResizeMode. isClearResizeFrame is false
03-05 18:56:36.744 3781 7935 D ActivityManager: resumeTopActivityInnerLocked() : #1 prevTask=TaskRecord{4e870a8d0 #18692 A=com.sec.android.app.launcher U=0 StackId=0 sz=1} next=ActivityRecord{675f01ad0 u0 com.google.ar.core.examples.unreal.helloar/com.epicgames.ue4.GameActivity t18833} mFocusedStack=ActivityStack{7468837d0 stackId=1, 17 tasks}
03-05 18:56:36.744 3781 7935 E ActivityManager: applyOptionsLocked: pendingOptions.getStartX()=27pendingOptions.getStartY()=859
03-05 18:56:36.745 3781 7935 D MountService: getExternalStorageMountMode : 3
03-05 18:56:36.745 3781 7935 D MountService: getExternalStorageMountMode : 3
03-05 18:56:36.745 3781 7935 D MountService: getExternalStorageMountMode : final mountMode=3, uid : 10333, packageName : com.google.ar.core.examples.unreal.helloar
03-05 18:56:36.752 3781 3859 V WindowManager: Relayout Window{31db879d0 u0 Starting com.google.ar.core.examples.unreal.helloar}: viewVisibility=0 req=1079x1856 WM.LayoutParams{(0,0)(fillxfill) sim=#20 ty=3 fl=#1830518 pfl=0x20011 wanim=0x1030001 vsysui=0x400 needsMenuKey=2 naviIconColor=0}
03-05 18:56:36.757 5914 5914 E Zygote : v2
03-05 18:56:36.757 5914 5914 I libpersona: KNOX_SDCARD checking this for 10333
03-05 18:56:36.757 5914 5914 I libpersona: KNOX_SDCARD not a persona
03-05 18:56:36.758 3781 7935 I ActivityManager: Start proc 5914:com.google.ar.core.examples.unreal.helloar/u0a333 for activity com.google.ar.core.examples.unreal.helloar/com.epicgames.ue4.GameActivity
03-05 18:56:36.758 5914 5914 E Zygote : accessInfo : 0
03-05 18:56:36.759 5914 5914 W SELinux : SELinux selinux_android_compute_policy_index : Policy Index[2], Con:u:r:zygote:s0 SPD:SEPF_SECMOBILE_7.0_0006 RAM:SEPF_SECMOBILE_7.0_0009, [-1 -1 -9 -1 0 1]
03-05 18:56:36.759 3200 3200 I SurfaceFlinger: id=4722 createSurf (1x1),1 flag=404, ielloar
03-05 18:56:36.760 5914 5914 I SELinux : SELinux: seapp_context_lookup: seinfo=untrusted, level=s0:c512,c768, pkgname=com.google.ar.core.examples.unreal.helloar
03-05 18:56:36.762 5914 5914 I art : Late-enabling -Xcheck:jni
03-05 18:56:36.772 5210 5210 D ViewRootImpl@4f535b3[LauncherActivity]: MSG_WINDOW_FOCUS_CHANGED 0
03-05 18:56:36.780 5914 5914 D TimaKeyStoreProvider: TimaSignature is unavailable
03-05 18:56:36.780 5914 5914 D ActivityThread: Added TimaKeyStore provider
03-05 18:56:36.781 3781 8467 I ActivityManager: DSS on for com.google.ar.core.examples.unreal.helloar and scale is 1.0
03-05 18:56:36.786 3781 8467 D GameManagerService: sem_perfomance_mode: 0
03-05 18:56:36.786 3781 3781 D GameManagerService: NotifyRunnable. pkg: com.google.ar.core.examples.unreal.helloar, type: 4, isMinimized: false, isTunableApp: false
03-05 18:56:36.787 3781 3781 D GameManagerService: do nothing. mKillNotiCount: 3
03-05 18:56:36.791 5086 15597 D ForegroundUtils: could not check pending caller
03-05 18:56:36.792 3781 7469 D GameManagerService: identifyGamePackage. com.google.ar.core.examples.unreal.helloar
03-05 18:56:36.792 3781 7469 D GameManagerService: identifyGamePackage. com.google.ar.core.examples.unreal.helloar
03-05 18:56:36.792 30175 30192 I ServiceManager: [#CMH#] IPService already paused:
03-05 18:56:36.792 30175 30192 I ServiceManager: [#CMH#] StoryService already paused:
03-05 18:56:36.792 30175 30192 I ServiceManager: [#CMH#] FaceService already paused:
03-05 18:56:36.793 3781 3859 D WindowManager: finishDrawingWindow: Window{31db879d0 u0 Starting com.google.ar.core.examples.unreal.helloar} mDrawState=DRAW_PENDING
03-05 18:56:36.798 3781 3838 D WindowManager: set systemUiVisibility of statusbar : vis= 0x408
03-05 18:56:36.799 4199 4301 D WallpaperService: resized:[frame]Rect(0, 0 - 1080, 1920) [newConfig] is null
03-05 18:56:36.799 4199 4199 D WallpaperService: MSG_WINDOW_RESIZED
03-05 18:56:36.799 4199 4199 D WallpaperService: updateSurface forceRelayout=true redrawNeeded=false myWidth=1080 myHeight=1920 fixedSize=true mWidth=1080 mHeight=1920
03-05 18:56:36.799 4199 4199 V WallpaperService: Changes: creating=false format=false size=false
03-05 18:56:36.799 3781 4071 D WindowManager: adjustSystemUiVisibilityLw : vis= 0x408
03-05 18:56:36.799 3781 5131 V WindowManager: Relayout Window{f4cb8cdd0 u0 com.android.systemui.ImageWallpaper}: viewVisibility=0 req=1080x1920 WM.LayoutParams{(0,0)(1080x1920) gr=#800033 ty=2013 fl=#318 fmt=2 wanim=0x10302f2 naviIconColor=0}
03-05 18:56:36.801 4199 4199 V WallpaperService: New surface=Surface(name=null)/@0x2dfd2aa, frame=Rect(0, 0 - 1080, 1920),relayoutResult=1, mConfiguration={0 1.0 themeSeq = 0 showBtnBg = -1 ?mcc?mnc ?localeList ?layoutDir ?swdp ?wdp ?hdp ?density ?lsize ?long ?orien ?uimode ?night ?touch ?keyb/?/? ?nav/? mkbd/?}
03-05 18:56:36.801 4199 4199 V WallpaperService: Wallpaper size has changed: (1080, 1920
03-05 18:56:36.801 4199 4199 V WallpaperService: Layout: x=0 y=0 w=1080 h=1920
03-05 18:56:36.802 4199 4199 V WallpaperService: Offsets change in com.android.systemui.ImageWallpaper$DrawableEngine@9401d4c: 0.0,0.0
03-05 18:56:36.802 4199 4199 D ImageWallpaper: onOffsetsChanged: xOffset=0.0, yOffset=0.0, xOffsetStep=0.0, yOffsetStep=0.0, xPixels=0, yPixels=0
03-05 18:56:36.803 4199 4199 D ImageWallpaper: drawFrame=false rotation=0 mLastRotation=0
03-05 18:56:36.803 4199 4199 D ImageWallpaper: drawFrame:[frame.width()]1080[frame.height()]1920
03-05 18:56:36.803 4199 4199 D ImageWallpaper: surfaceDimensionsChanged=false mLastSurfaceRotation=0 mDisplayWidth=-1 mDisplayHeight=-1
03-05 18:56:36.803 4199 4199 D ImageWallpaper: mNewKeyboard : 0 mLastKeyboard : 0 mForceDraw : false
03-05 18:56:36.803 4199 4199 D ImageWallpaper: redrawNeeded = false, mOffsetsChanged = false
03-05 18:56:36.803 4199 4199 D ImageWallpaper: Suppressed drawFrame since redraw is not needed and offsets have not changed.
03-05 18:56:36.804 3781 7469 D GameManagerService: identifyGamePackage. com.google.ar.core.examples.unreal.helloar
03-05 18:56:36.805 3781 7469 D GameManagerService: identifyGamePackage. com.google.ar.core.examples.unreal.helloar
03-05 18:56:36.805 3781 3859 D ViewRootImpl@aea6872[helloar]: MSG_RESIZED: ci=Rect(0, 0 - 0, 0) vi=Rect(0, 0 - 0, 0) or=1
03-05 18:56:36.810 3781 3984 V WindowManager: Relayout Window{ee0ed97d0 u0 com.sec.android.app.launcher/com.sec.android.app.launcher.activities.LauncherActivity}: viewVisibility=8 req=1080x1920 WM.LayoutParams{(0,0)(fillxfill) sim=#30 ty=1 fl=#81910d02 pfl=0x20000 fmt=-2 wanim=0x103038a vsysui=0x600 needsMenuKey=2 dimDuration=300 naviIconColor=0 sfl=0x40}
03-05 18:56:36.814 4199 4199 D SwipeDoorsillDetector: reset()com.android.systemui.statusbar.phone.NotificationPanelView.resetViews:812 com.android.systemui.statusbar.phone.PanelBar.collapsePanel:173 com.android.systemui.statusbar.phone.PhoneStatusBar.setWindowState:4069 com.android.systemui.statusbar.CommandQueue$H.handleMessage:680
03-05 18:56:36.826 5914 5914 D ContextRelationMgrBrdg: loadKlass() : caller=com.samsung.android.bridge.multiscreen.common.ContextRelationManagerBridge.
Did you include everything in the logcat? It looks like the log ended when it asked for the camera permission. Can you check if there is more logs after you grant the permission?
Hi, here is the full log: Microsoft Windows [Version 10.0.16299.248] (c) 2017 Microsoft Corporation. Alle Rechte vorbehalten.
C:\NVPACK\android-sdk-windows\platform-tools>adb logcat -c
C:\NVPACK\android-sdk-windows\platform-tools>adb logcat -c
C:\NVPACK\android-sdk-windows\platform-tools>adb logcat -c
C:\NVPACK\android-sdk-windows\platform-tools>adb logcat
--------- beginning of main
03-06 19:13:26.540 11849 12120 D com.facebook.appevents.AppEventsLogger: Got unexpected exception: java.io.WriteAbortedException: writing aborted; java.io.NotSerializableException: org.json.JSONObject
--------- beginning of system
03-06 19:13:26.827 3781 3899 D SamsungAlarmManager: Expired : 8
03-06 19:13:26.828 3781 3899 I SamsungAlarmManager: setLocked to kernel - T:3 / 20180306T191329, SetElapsed=420376933, nowELAPSED=420373926
03-06 19:13:26.829 3781 3899 V SamsungAlarmManager: Sending to uid : 1000 action=com.android.server.action.UPDATE_TWILIGHT_STATE alarm=Alarm{b8002a5 type 1 when 600000 android}
03-06 19:13:26.842 3781 3781 D SamsungAlarmManager: Cancel Alarm calling from uid:1000 pid :3781 / op:PendingIntent{6ed967a: PendingIntentRecord{9d1cd85 android broadcastIntent}}
03-06 19:13:26.854 3781 3781 D SamsungAlarmManager: setExact Intent (T:1/F:9/AC:false) 19700101T011000 - CU:1000/CP:3781
03-06 19:13:26.855 3781 3781 I SamsungAlarmManager: setLocked to kernel - T:3 / 20180306T191327, SetElapsed=420374941, nowELAPSED=420373953
03-06 19:13:27.843 3781 3899 D SamsungAlarmManager: Expired : 8
03-06 19:13:27.845 3781 3899 I SamsungAlarmManager: setLocked to kernel - T:3 / 20180306T191329, SetElapsed=420376933, nowELAPSED=420374943
03-06 19:13:27.845 3781 3899 V SamsungAlarmManager: Sending to uid : 1000 action=com.android.server.action.UPDATE_TWILIGHT_STATE alarm=Alarm{35e6e2b type 1 when 600000 android}
03-06 19:13:27.858 3781 3781 D SamsungAlarmManager: Cancel Alarm calling from uid:1000 pid :3781 / op:PendingIntent{5083288: PendingIntentRecord{9d1cd85 android broadcastIntent}}
03-06 19:13:27.869 3781 3781 D SamsungAlarmManager: setExact Intent (T:1/F:9/AC:false) 19700101T011000 - CU:1000/CP:3781
03-06 19:13:27.870 3781 3781 I SamsungAlarmManager: setLocked to kernel - T:3 / 20180306T191328, SetElapsed=420375956, nowELAPSED=420374968
03-06 19:13:28.036 3781 3920 D InputReader: Input event(4): value=1 when=177928219136000
03-06 19:13:28.036 3781 3920 D InputReader: Input event(4): value=1 when=177928219136000
03-06 19:13:28.037 3781 3920 I InputReader: Touch event's action is 0x0 (deviceType=0) [pCnt=1, s=0.35672 ] when=177928219136000
03-06 19:13:28.037 3781 3920 D InputReader: lastThreadEndTime = 177905540373767, currentThreadStartTime = 177905540376882, diff = 0
03-06 19:13:28.038 3781 3919 I InputDispatcher: Delivering touch to (4199): action: 0x4, toolType: 1
03-06 19:13:28.038 3781 3919 I InputDispatcher: Delivering touch to (5210): action: 0x0, toolType: 1
03-06 19:13:28.038 3781 3919 I InputDispatcher: Delivering touch to (4199): action: 0x0, toolType: 1
03-06 19:13:28.038 4199 4199 V WallpaperService: Delivering touch event: MotionEvent { action=ACTION_DOWN, actionButton=0, id[0]=0, x[0]=356.48438, y[0]=961.875, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, metaState=0, flags=0x3, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=177928219, downTime=177928219, deviceId=4, source=0x1002 }
03-06 19:13:28.039 5210 5210 D ViewRootImpl@4f535b3[LauncherActivity]: ViewPostImeInputStage processPointer 0
03-06 19:13:28.046 4199 4199 V WallpaperService: Delivering touch event: MotionEvent { action=ACTION_MOVE, actionButton=0, id[0]=0, x[0]=356.48438, y[0]=961.40625, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, metaState=0, flags=0x3, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=177928226, downTime=177928219, deviceId=4, source=0x1002 }
03-06 19:13:28.053 3781 8102 D CustomFrequencyManagerService: acquireDVFSLockLocked : type : DVFS_MIN_LIMIT frequency : 1040000 uid : 1000 pid : 3781 pkgName : LAUNCHER_TOUCH@CPU_MIN@6
03-06 19:13:28.061 4199 4199 V WallpaperService: Delivering touch event: MotionEvent { action=ACTION_MOVE, actionButton=0, id[0]=0, x[0]=356.48438, y[0]=960.46875, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, metaState=0, flags=0x3, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=177928243, downTime=177928219, deviceId=4, source=0x1002 }
03-06 19:13:28.066 5210 5210 I Launcher.PagedView: determineScrollingStart : mTouchState=0, mIsPageMoving=false
03-06 19:13:28.070 4199 4199 V WallpaperService: Delivering touch event: MotionEvent { action=ACTION_MOVE, actionButton=0, id[0]=0, x[0]=355.95703, y[0]=959.53125, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, metaState=0, flags=0x3, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=177928251, downTime=177928219, deviceId=4, source=0x1002 }
03-06 19:13:28.077 4199 4199 V WallpaperService: Delivering touch event: MotionEvent { action=ACTION_MOVE, actionButton=0, id[0]=0, x[0]=355.4297, y[0]=958.59375, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, metaState=0, flags=0x3, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=177928259, downTime=177928219, deviceId=4, source=0x1002 }
03-06 19:13:28.086 4199 4199 V WallpaperService: Delivering touch event: MotionEvent { action=ACTION_MOVE, actionButton=0, id[0]=0, x[0]=354.90234, y[0]=957.65625, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, metaState=0, flags=0x3, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=177928267, downTime=177928219, deviceId=4, source=0x1002 }
03-06 19:13:28.088 5210 5210 I Launcher.PagedView: determineScrollingStart : mTouchState=0, mIsPageMoving=false
03-06 19:13:28.094 4199 4199 V WallpaperService: Delivering touch event: MotionEvent { action=ACTION_MOVE, actionButton=0, id[0]=0, x[0]=354.375, y[0]=956.71875, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, metaState=0, flags=0x3, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=177928276, downTime=177928219, deviceId=4, source=0x1002 }
03-06 19:13:28.100 5210 5210 I Launcher.PagedView: determineScrollingStart : mTouchState=0, mIsPageMoving=false
03-06 19:13:28.109 3781 3920 D InputReader: Input event(4): value=0 when=177928291675000
03-06 19:13:28.109 3781 3920 D InputReader: Input event(4): value=0 when=177928291675000
03-06 19:13:28.109 3781 3920 I InputReader: Touch event's action is 0x1 (deviceType=0) [pCnt=1, s=] when=177928291675000
03-06 19:13:28.109 3781 3919 I InputDispatcher: Delivering touch to (5210): action: 0x1, toolType: 1
03-06 19:13:28.109 3781 3919 I InputDispatcher: Delivering touch to (4199): action: 0x1, toolType: 1
03-06 19:13:28.110 5210 5210 D ViewRootImpl@4f535b3[LauncherActivity]: ViewPostImeInputStage processPointer 1
03-06 19:13:28.110 4199 4199 V WallpaperService: Delivering touch event: MotionEvent { action=ACTION_UP, actionButton=0, id[0]=0, x[0]=354.375, y[0]=956.71875, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, metaState=0, flags=0x3, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=177928291, downTime=177928219, deviceId=4, source=0x1002 }
03-06 19:13:28.120 3781 3966 D CustomFrequencyManagerService: releaseDVFSLockLocked : Getting Lock type frm List : DVFS_MIN_LIMIT frequency : 1040000 uid : 1000 pid : 3781 tag : LAUNCHER_TOUCH@CPU_MIN@6
03-06 19:13:28.121 5210 5210 D MenuView: visible = false isExit = false
03-06 19:13:28.140 3781 8466 D CustomFrequencyManagerService: acquireDVFSLockLocked : type : DVFS_MIN_LIMIT frequency : 2600000 uid : 1000 pid : 3781 pkgName : APP_LAUNCH@CPU_MIN@2052
03-06 19:13:28.149 3781 5525 I ActivityManager: START u0 {act=android.intent.action.MAIN typ=null flg=0x10200000 cmp=ComponentInfo{com.google.ar.core.examples.unreal.helloar/com.epicgames.ue4.GameActivity}} from uid 10069 on display 0
03-06 19:13:28.154 3781 5525 D ActivityManager: ActivityRecord() Constructor : multiScreenAttrs=MultiScreenAttrs{mDisplayId=0, mBaseDisplayId=0, mBaseActivity=false}
03-06 19:13:28.154 3781 5525 D CustomFrequencyManagerService: acquireDVFSLockLocked : type : DVFS_MIN_LIMIT frequency : 1560000 uid : 1000 pid : 3781 pkgName : AMS_RESUME@CPU_MIN@7
03-06 19:13:28.154 3781 5525 D ActivityManager: mActivityResumeBooster.acquire()
03-06 19:13:28.155 3781 5525 D ActivityManager: computeStackFocus: stackId=1
03-06 19:13:28.155 3781 5525 D ActivityManager: computeStackFocus: New stack r=ActivityRecord{c31ef34d0 u0 com.google.ar.core.examples.unreal.helloar/com.epicgames.ue4.GameActivity t-1} stackId=1
03-06 19:13:28.158 3781 5525 I MultiWindowManagerService: setTaskDimensions: Task=TaskRecord{e98caa0d0 #18877 A=com.google.ar.core.examples.unreal.helloar U=0 StackId=1 sz=1} minWidth=-1 minHeight=-1 maxWidth=-1 maxHeight=-1
03-06 19:13:28.159 3781 5525 D ActivityManager: moveToFront() : reason=startedActivity setFocusedActivity isAttached=true TaskRecord{e98caa0d0 #18877 A=com.google.ar.core.examples.unreal.helloar U=0 StackId=1 sz=1}
03-06 19:13:28.162 3781 5525 D ActivityManager: setFocusStackUnchecked: reason=startedActivity setFocusedActivity focusCandidate=ActivityStack{7468837d0 stackId=1, 17 tasks} caller=com.android.server.am.ActivityStack.moveToFront:875 com.android.server.am.ActivityStackSupervisor.moveActivityStackToFront:1995
03-06 19:13:28.163 3781 5525 D InputDispatcher: Focused application set to: xxxx
03-06 19:13:28.164 3781 5525 D InputDispatcher: Focus left window: 5210
03-06 19:13:28.164 3781 5525 D ActivityManager: resumeTopActivityInnerLocked() : #1 prevTask=TaskRecord{e98caa0d0 #18877 A=com.google.ar.core.examples.unreal.helloar U=0 StackId=1 sz=1} next=ActivityRecord{c31ef34d0 u0 com.google.ar.core.examples.unreal.helloar/com.epicgames.ue4.GameActivity t18877} mFocusedStack=ActivityStack{7468837d0 stackId=1, 17 tasks}
03-06 19:13:28.164 3781 5525 D ActivityTrigger: ActivityTrigger activityPauseTrigger
03-06 19:13:28.164 3781 5525 D GameManagerService: sem_perfomance_mode: 0
03-06 19:13:28.166 3781 3859 D WindowManager: addWindow: android.view.ViewRootImpl$W@fafdf15 displayId=0
03-06 19:13:28.168 3781 3859 D InputTransport: Input channel constructed: fd=509
03-06 19:13:28.168 3781 3859 D InputTransport: Input channel constructed: fd=515
03-06 19:13:28.170 5210 5210 D Launcher: onPause, Launcher: 199719967
03-06 19:13:28.170 3781 3859 D ViewRootImpl@acff0cc[helloar]: setView = DecorView@47b381b[helloar] touchMode=true
03-06 19:13:28.170 5210 5210 D Launcher.HomeView: onPause
03-06 19:13:28.170 5210 5210 D Launcher.Workspace: exitWidgetResizeMode. isClearResizeFrame is false
03-06 19:13:28.172 3781 8102 D ActivityManager: resumeTopActivityInnerLocked() : #1 prevTask=TaskRecord{4e870a8d0 #18692 A=com.sec.android.app.launcher U=0 StackId=0 sz=1} next=ActivityRecord{c31ef34d0 u0 com.google.ar.core.examples.unreal.helloar/com.epicgames.ue4.GameActivity t18877} mFocusedStack=ActivityStack{7468837d0 stackId=1, 17 tasks}
03-06 19:13:28.172 3781 8102 E ActivityManager: applyOptionsLocked: pendingOptions.getStartX()=232pendingOptions.getStartY()=859
03-06 19:13:28.172 3781 3859 V WindowManager: Relayout Window{318922ad0 u0 Starting com.google.ar.core.examples.unreal.helloar}: viewVisibility=0 req=1079x1856 WM.LayoutParams{(0,0)(fillxfill) sim=#20 ty=3 fl=#1830518 pfl=0x20011 wanim=0x1030001 vsysui=0x400 needsMenuKey=2 naviIconColor=0}
03-06 19:13:28.180 3200 3200 I SurfaceFlinger: id=6896 createSurf (1x1),1 flag=404, ielloar
03-06 19:13:28.191 3781 8102 D MountService: getExternalStorageMountMode : 3
03-06 19:13:28.191 3781 8102 D MountService: getExternalStorageMountMode : 3
03-06 19:13:28.191 3781 8102 D MountService: getExternalStorageMountMode : final mountMode=3, uid : 10333, packageName : com.google.ar.core.examples.unreal.helloar
03-06 19:13:28.218 3781 3859 D WindowManager: finishDrawingWindow: Window{318922ad0 u0 Starting com.google.ar.core.examples.unreal.helloar} mDrawState=DRAW_PENDING
03-06 19:13:28.229 3781 8102 I ActivityManager: Start proc 18020:com.google.ar.core.examples.unreal.helloar/u0a333 for activity com.google.ar.core.examples.unreal.helloar/com.epicgames.ue4.GameActivity
03-06 19:13:28.229 18020 18020 E Zygote : v2
03-06 19:13:28.229 18020 18020 I libpersona: KNOX_SDCARD checking this for 10333
03-06 19:13:28.229 18020 18020 I libpersona: KNOX_SDCARD not a persona
03-06 19:13:28.230 18020 18020 E Zygote : accessInfo : 0
03-06 19:13:28.230 18020 18020 W SELinux : SELinux selinux_android_compute_policy_index : Policy Index[2], Con:u:r:zygote:s0 SPD:SEPF_SECMOBILE_7.0_0006 RAM:SEPF_SECMOBILE_7.0_0009, [-1 -1 -9 -1 0 1]
03-06 19:13:28.231 18020 18020 I SELinux : SELinux: seapp_context_lookup: seinfo=untrusted, level=s0:c512,c768, pkgname=com.google.ar.core.examples.unreal.helloar
03-06 19:13:28.231 5210 5210 D ViewRootImpl@4f535b3[LauncherActivity]: MSG_WINDOW_FOCUS_CHANGED 0
03-06 19:13:28.234 18020 18020 I art : Late-enabling -Xcheck:jni
03-06 19:13:28.250 18020 18020 D TimaKeyStoreProvider: TimaSignature is unavailable
03-06 19:13:28.250 18020 18020 D ActivityThread: Added TimaKeyStore provider
03-06 19:13:28.251 3781 5507 I ActivityManager: DSS on for com.google.ar.core.examples.unreal.helloar and scale is 1.0
03-06 19:13:28.257 3781 5507 D GameManagerService: sem_perfomance_mode: 0
03-06 19:13:28.257 3781 3781 D GameManagerService: NotifyRunnable. pkg: com.google.ar.core.examples.unreal.helloar, type: 4, isMinimized: false, isTunableApp: false
03-06 19:13:28.257 3781 3781 D GameManagerService: mKillNotiCount: 1
03-06 19:13:28.257 3781 3781 D GameManagerService: changed mKillNotiCount: 2
03-06 19:13:28.257 3781 3781 D GameManagerService: before send intent to GameTools. type:1, pkgName:KILL_YOURSELF, minimized:false
03-06 19:13:28.262 4199 4803 D WallpaperService: resized:[frame]Rect(0, 0 - 1080, 1920) [newConfig] is null
03-06 19:13:28.262 4199 4199 D WallpaperService: MSG_WINDOW_RESIZED
03-06 19:13:28.262 4199 4199 D WallpaperService: updateSurface forceRelayout=true redrawNeeded=false myWidth=1080 myHeight=1920 fixedSize=true mWidth=1080 mHeight=1920
03-06 19:13:28.262 4199 4199 V WallpaperService: Changes: creating=false format=false size=false
03-06 19:13:28.263 3781 5177 V WindowManager: Relayout Window{f4cb8cdd0 u0 com.android.systemui.ImageWallpaper}: viewVisibility=0 req=1080x1920 WM.LayoutParams{(0,0)(1080x1920) gr=#800033 ty=2013 fl=#318 fmt=2 wanim=0x10302f2 naviIconColor=0}
03-06 19:13:28.263 3781 7469 D GameManagerService: identifyGamePackage. com.google.ar.core.examples.unreal.helloar
03-06 19:13:28.263 3781 7469 D GameManagerService: identifyGamePackage. com.google.ar.core.examples.unreal.helloar
03-06 19:13:28.264 3781 3838 D WindowManager: set systemUiVisibility of statusbar : vis= 0x408
03-06 19:13:28.264 5086 5099 D ForegroundUtils: could not check pending caller
03-06 19:13:28.265 3781 3781 D MountService: getExternalStorageMountMode : 3
03-06 19:13:28.265 3781 3781 D MountService: getExternalStorageMountMode : 3
03-06 19:13:28.265 3781 3781 D MountService: getExternalStorageMountMode : final mountMode=3, uid : 10019, packageName : com.samsung.android.game.gametools
03-06 19:13:28.266 4199 4199 V WallpaperService: New surface=Surface(name=null)/@0x2dfd2aa, frame=Rect(0, 0 - 1080, 1920),relayoutResult=1, mConfiguration={0 1.0 themeSeq = 0 showBtnBg = -1 ?mcc?mnc ?localeList ?layoutDir ?swdp ?wdp ?hdp ?density ?lsize ?long ?orien ?uimode ?night ?touch ?keyb/?/? ?nav/? mkbd/?}
03-06 19:13:28.266 4199 4199 V WallpaperService: Wallpaper size has changed: (1080, 1920
03-06 19:13:28.266 4199 4199 V WallpaperService: Layout: x=0 y=0 w=1080 h=1920
03-06 19:13:28.266 4199 4199 V WallpaperService: Offsets change in com.android.systemui.ImageWallpaper$DrawableEngine@9401d4c: 0.0,0.0
03-06 19:13:28.266 4199 4199 D ImageWallpaper: onOffsetsChanged: xOffset=0.0, yOffset=0.0, xOffsetStep=0.0, yOffsetStep=0.0, xPixels=0, yPixels=0
03-06 19:13:28.266 4199 4199 D ImageWallpaper: drawFrame=false rotation=0 mLastRotation=0
03-06 19:13:28.266 4199 4199 D ImageWallpaper: drawFrame:[frame.width()]1080[frame.height()]1920
03-06 19:13:28.266 4199 4199 D ImageWallpaper: surfaceDimensionsChanged=false mLastSurfaceRotation=0 mDisplayWidth=-1 mDisplayHeight=-1
03-06 19:13:28.266 4199 4199 D ImageWallpaper: mNewKeyboard : 0 mLastKeyboard : 0 mForceDraw : false
03-06 19:13:28.266 4199 4199 D ImageWallpaper: redrawNeeded = false, mOffsetsChanged = false
03-06 19:13:28.266 4199 4199 D ImageWallpaper: Suppressed drawFrame since redraw is not needed and offsets have not changed.
03-06 19:13:28.273 4199 4199 D SwipeDoorsillDetector: reset()com.android.systemui.statusbar.phone.NotificationPanelView.resetViews:812 com.android.systemui.statusbar.phone.PanelBar.collapsePanel:173 com.android.systemui.statusbar.phone.PhoneStatusBar.setWindowState:4069 com.android.systemui.statusbar.CommandQueue$H.handleMessage:680
03-06 19:13:28.277 3781 3781 I ActivityManager: Start proc 18036:com.samsung.android.game.gametools/u0a19 for service com.samsung.android.game.gametools/.externalservice.GameToolsIntentService
03-06 19:13:28.277 3781 22233 V WindowManager: Relayout Window{ee0ed97d0 u0 com.sec.android.app.launcher/com.sec.android.app.launcher.activities.LauncherActivity}: viewVisibility=8 req=1080x1920 WM.LayoutParams{(0,0)(fillxfill) sim=#30 ty=1 fl=#81910d02 pfl=0x20000 fmt=-2 wanim=0x103038a vsysui=0x600 needsMenuKey=2 dimDuration=300 naviIconColor=0 sfl=0x40}
03-06 19:13:28.278 3781 3781 D GameManagerService: after send intent to GameTools. componentName:ComponentInfo{com.samsung.android.game.gametools/com.samsung.android.game.gametools.externalservice.GameToolsIntentService}
03-06 19:13:28.278 3781 3781 D GameManagerService: before send intent to GameIntentService
03-06 19:13:28.278 18036 18036 E Zygote : v2
03-06 19:13:28.278 18036 18036 I libpersona: KNOX_SDCARD checking this for 10019
03-06 19:13:28.278 18036 18036 I libpersona: KNOX_SDCARD not a persona
03-06 19:13:28.279 18036 18036 E Zygote : accessInfo : 0
03-06 19:13:28.279 18036 18036 W SELinux : SELinux selinux_android_compute_policy_index : Policy Index[2], Con:u:r:zygote:s0 SPD:SEPF_SECMOBILE_7.0_0006 RAM:SEPF_SECMOBILE_7.0_0009, [-1 -1 -9 -1 0 1]
03-06 19:13:28.280 18036 18036 I SELinux : SELinux: seapp_context_lookup: seinfo=platform, level=s0:c512,c768, pkgname=com.samsung.android.game.gametools
03-06 19:13:28.286 3781 3859 D ViewRootImpl@acff0cc[helloar]: MSG_RESIZED: ci=Rect(0, 0 - 0, 0) vi=Rect(0, 0 - 0, 0) or=1
03-06 19:13:28.287 3781 3781 D GameManagerService: after send intent to GameIntentService
03-06 19:13:28.291 4600 18049 D GOS:GameIntentService: onHandleIntent. begin
03-06 19:13:28.291 4600 18049 D GOS:GameIntentService: onHandleIntent. GameIntentService. type 1
03-06 19:13:28.292 3781 7469 D GameManagerService: identifyGamePackage. com.google.ar.core.examples.unreal.helloar
03-06 19:13:28.292 3781 7469 D GameManagerService: identifyGamePackage. com.google.ar.core.examples.unreal.helloar
03-06 19:13:28.294 18020 18020 D ContextRelationMgrBrdg: loadKlass() : caller=com.samsung.android.bridge.multiscreen.common.ContextRelationManagerBridge.
I'm having the exact issue with my S7 Edge and the UE4 Hello AR apk.
03-06 21:07:41.698 2903 2918 E ARCore-APK: Error while checking app details and ARCore status 03-06 21:07:41.698 2903 2918 E ARCore-APK: com.google.ar.core.exceptions.FatalException: Application manifest must contain meta-data com.google.ar.core.min_apk_version 03-06 21:07:41.698 2903 2918 E ARCore-APK: at com.google.ar.core.ArCoreApkImpl.initializeAppInfo(ArCoreApkImpl.java:241) 03-06 21:07:41.698 2903 2918 E ARCore-APK: at com.google.ar.core.ArCoreApkImpl.isInstalledAndCompatible(ArCoreApkImpl.java:189) 03-06 21:07:41.698 2903 2918 E ARCore-APK: at com.google.ar.core.ArCoreApkImpl.checkAvailability(ArCoreApkImpl.java:74) 03-06 21:07:41.698 2903 2918 E ARCore-APK: at com.google.ar.core.ArCoreApkJniAdapter.checkAvailability(ArCoreApkJniAdapter.java:17)
Just with a different error log
With the SM-G935F variant of the S7 Edge, with AR Core installed (and even tested with an ARCore enabled app from the Play Store...)
I've made my own issue #11
@ClixStudios Thanks for point out the error!
@ClixStudios @Maxwell77HH Which version of Unreal Engine you are using to build the HelloAR Apk? Are you using the Unreal Engine from Epic or Google's Unreal Engine fork repo here: https://github.com/google-ar-unreal/UnrealEngine
Be aware the ARCore apk on playstore is only compatible with Google's Unreal Engine fork for now.
The forked version, built with VS2015. I'm about to make another comment to the #11 issue in a second.
I use Google´s Unreal Engine fork...
@Maxwell77HH I assume you didn't have "Enable Gradle instead of Ant" option checked in your Project Settings -> Android? If so, can you check that checkbox and try package again?
When I enable "Gradle instead of Ant" I get a build error:
UATHelper: Packaging (Android (ASTC)): ====07.03.2018 08:16:51====PERFORMING FINAL APK PACKAGE OPERATION================================================ UATHelper: Packaging (Android (ASTC)): Creating rungradle.bat to work around commandline length limit (using unused drive letter Z:) UATHelper: Packaging (Android (ASTC)): Making .apk with Gradle... UATHelper: Packaging (Android (ASTC)): Observed package id 'build-tools;25.0.3' in inconsistent location 'C:\NVPACK\android-sdk-windows\build-tools\android-7.1.1' (Expected 'C:\NVPACK\android-sdk-windows\build-tools\25.0.3') UATHelper: Packaging (Android (ASTC)): Observed package id 'build-tools;25.0.3' in inconsistent location 'C:\NVPACK\android-sdk-windows\build-tools\android-7.1.1' (Expected 'C:\NVPACK\android-sdk-windows\build-tools\25.0.3') UATHelper: Packaging (Android (ASTC)): Incremental java compilation is an incubating feature. UATHelper: Packaging (Android (ASTC)): Observed package id 'build-tools;25.0.3' in inconsistent location 'C:\NVPACK\android-sdk-windows\build-tools\android-7.1.1' (Expected 'C:\NVPACK\android-sdk-windows\build-tools\25.0.3') UATHelper: Packaging (Android (ASTC)): FAILURE: Build failed with an exception. UATHelper: Packaging (Android (ASTC)): What went wrong: UATHelper: Packaging (Android (ASTC)): A problem occurred configuring project ':app'. UATHelper: Packaging (Android (ASTC)): > Could not resolve all dependencies for configuration ':app:_debugApk'. UATHelper: Packaging (Android (ASTC)): > A problem occurred configuring project ':permission_library'. UATHelper: Packaging (Android (ASTC)): > You have not accepted the license agreements of the following SDK components: UATHelper: Packaging (Android (ASTC)): [Android Support Repository]. UATHelper: Packaging (Android (ASTC)): Before building your project, you need to accept the license agreements and complete the installation of the missing components using the Android Studio SDK Manager. UATHelper: Packaging (Android (ASTC)): Alternatively, to learn how to transfer the license agreements from one workstation to another, go to http://d.android.com/r/studio-ui/export-licenses.html UATHelper: Packaging (Android (ASTC)): Try: UATHelper: Packaging (Android (ASTC)): Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. UATHelper: Packaging (Android (ASTC)): BUILD FAILED UATHelper: Packaging (Android (ASTC)): Total time: 10.993 secs UATHelper: Packaging (Android (ASTC)): ERROR: cmd.exe failed with args /c "D:\Unreal Projects\ARCore_Prjects\arcore-unreal-sdk-v1.0.0\arcore-unreal-sdk-master\HelloARUnreal\Intermediate/Android/APK\gradle\rungradle.bat" :app:assembleDebug UATHelper: Packaging (Android (ASTC)): (see D:\UnrealEngine-4.18-arcore\Engine\Programs\AutomationTool\Saved\Logs\UAT_Log.txt for full exception trace) UATHelper: Packaging (Android (ASTC)): AutomationTool exiting with ExitCode=1 (Error_Unknown) UATHelper: Packaging (Android (ASTC)): BUILD FAILED PackagingResults: Error: Unknown Error LogSlate: Took 0.019255 seconds to synchronously load lazily loaded font '../../../Engine/Content/Editor/Slate/Fonts/DroidSansMono.ttf' (77K)
It seems that something is missing...
Please see the solution in issue #11 to see how to resolve the license agreement issue.
Thank you very much for your help! Now it works!! :-)
Hi, yesterday I compiled successfully the "Hello AR UE4" demo. But I get always an error when I try to start the program on my S7 Edge: "ARCore is not supported on this device due to unknown error"
The S7 is listed as a supported device in the documentation...
Andreas