AgoraIO-Usecase / Video-Calling

Calling Interface + Connection Service on top of Agora RTM + RTC for Video Calling Example
MIT License
61 stars 43 forks source link

Unable to make a call in Android #16

Open ravidudi opened 4 years ago

ravidudi commented 4 years ago

i have added my App Id and token. But after entering the other persons identifier code nothing happens.

plutoless commented 4 years ago

could you pls provide your log?

sfrcnayds commented 4 years ago

I have same issue. rtm client login failed:LOGIN_ERR_INVALID_TOKEN

plutoless commented 4 years ago

@sfrcnayds this indicate you are not providing a valid token for rtm login. please check out corresponding docs here: https://docs.agora.io/en/Real-time-Messaging/rtm_token?platform=All%20Platforms

AparnaManjalavil commented 3 years ago

I have the same problem. Log is below:- 01/18 18:12:34: Launching 'app' on Physical Device. App restart successful without requiring a re-install. $ adb shell am start -n "io.agora.openduo/io.agora.openduo.activities.MainActivity" -a android.intent.action.MAIN -c android.intent.category.LAUNCHER Connected to process 26749 on device 'oppo-cph1919-c35cdd0'. Capturing and displaying logcat messages from application. This behavior can be disabled in the "Logcat output" section of the "Debugger" settings page. E/Zygote: GL_OOM reserved vma failed, errno:22 I/o.agora.opendu: Late-enabling -Xcheck:jni E/o.agora.opendu: Unknown bits set in runtime_flags: 0x28000 E/libc: Access denied finding property "persist.sys.theme" I/Perf: Connecting to perf service. I/OcsBase: AFLog, sIsLogOn = false, sIsDebugTagOn = false E/OcsBase.d: init color client impl I/OcsBase.BaseClient: connect state false retry I/OcsBase.BaseClient: connect state false retry I/OcsBase.BaseClient: connect state false retry I/OcsBase.BaseClient: connect state false retry V/SensorManager: RegisterListener lsm6dsm Accelerometer Non-wakeup type:1 delay:66667us by android.view.OrientationEventListener$SensorEventListenerImpl I/AudioManager: In isBluetoothScoOn(), calling application: io.agora.openduo E/CheckPermission: _bluetooth code = 1 E/CheckPermission: _bluetooth code = 3 D/BluetoothHeadset: Binding service... E/CheckPermission: _bluetooth code = 11 D/agora-jni: android bridge create done... E/libc: Access denied finding property "vendor.camera.aux.packagelist" E/AGORA_SDK: directory not exist and create directory failed: /storage/emulated/0/io.agora.openduo, err=13 cannot open log file for writing: /storage/emulated/0/io.agora.openduo/agorartm.log, err=2 E/AGORA_SDK: directory not exist and create directory failed: /storage/emulated/0/io.agora.openduo, err=13 cannot open log file for writing: /storage/emulated/0/io.agora.openduo/agorartm.log, err=2 W/AGORA_SDK: log file size is too small, resize it to : 524288 I/OpenDuoApplication: rtm client login failed:LOGIN_ERR_INVALID_TOKEN E/Perf: Fail to get file list io.agora.openduo getFolderSize() : Exception_1 = java.lang.NullPointerException: Attempt to get length of null array W/o.agora.opendu: Accessing hidden method Landroid/view/View;->computeFitSystemWindows(Landroid/graphics/Rect;Landroid/graphics/Rect;)Z (greylist, reflection, allowed) W/o.agora.opendu: Accessing hidden method Landroid/view/ViewGroup;->makeOptionalFitsSystemWindows()V (greylist, reflection, allowed) D/WindowManager: Add to mViews: DecorView@872aab4[MainActivity], this = android.view.WindowManagerGlobal@40db6dd,pkg= io.agora.openduo I/AdrenoGLES: QUALCOMM build : 4c93a20, Ia11ce2d146 Build Date : 09/05/20 OpenGL ES Shader Compiler Version: EV031.27.05.02 Local Branch : Remote Branch : refs/tags/AU_LINUX_ANDROID_LA.UM.8.1.R1.10.00.00.529.108 Remote Branch : NONE Reconstruct Branch : NOTHING Build Config : S P 8.0.12 AArch64 I/AdrenoGLES: PFP: 0x016ee187, ME: 0x00000000 W/AdrenoUtils: : Failed to open /sys/class/kgsl/kgsl-3d0/gpu_model

: Failed to read chip ID from gpu_model. Fallback to use the GSL path W/Gralloc3: mapper 3.x is not supported I/Choreographer: Skipped 1 frames! The application may be doing too much work on its main thread. D/ColorViewRootUtil: nav bar mode ignore false downX 547 downY 1321 mScreenHeight 2340 mScreenWidth 1080 mStatusBarHeight 54 globalScale 1.125 nav mode 0 rotation 0 event MotionEvent { action=ACTION_DOWN, actionButton=0, id[0]=0, x[0]=547.0, y[0]=1321.0, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaState=0, flags=0x0, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=186575907, downTime=186575907, deviceId=6, source=0x1002, displayId=0 } W/ActivityThread: handleWindowVisibility: no activity for token android.os.BinderProxy@5051477 D/WindowManager: Add to mViews: DecorView@3cd1f6b[DialerActivity], this = android.view.WindowManagerGlobal@40db6dd,pkg= io.agora.openduo D/ColorViewRootUtil: nav bar mode ignore false downX 541 downY 943 mScreenHeight 2340 mScreenWidth 1080 mStatusBarHeight 54 globalScale 1.125 nav mode 0 rotation 0 event MotionEvent { action=ACTION_DOWN, actionButton=0, id[0]=0, x[0]=541.0, y[0]=943.0, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaState=0, flags=0x0, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=186578281, downTime=186578281, deviceId=6, source=0x1002, displayId=0 } D/ColorViewRootUtil: nav bar mode ignore false downX 842 downY 700 mScreenHeight 2340 mScreenWidth 1080 mStatusBarHeight 54 globalScale 1.125 nav mode 0 rotation 0 event MotionEvent { action=ACTION_DOWN, actionButton=0, id[0]=0, x[0]=842.0, y[0]=700.0, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaState=0, flags=0x0, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=186578760, downTime=186578760, deviceId=6, source=0x1002, displayId=0 } D/ColorViewRootUtil: nav bar mode ignore false downX 536 downY 1498 mScreenHeight 2340 mScreenWidth 1080 mStatusBarHeight 54 globalScale 1.125 nav mode 0 rotation 0 event MotionEvent { action=ACTION_DOWN, actionButton=0, id[0]=0, x[0]=536.0, y[0]=1498.0, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaState=0, flags=0x0, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=186579619, downTime=186579619, deviceId=6, source=0x1002, displayId=0 } D/ColorViewRootUtil: nav bar mode ignore false downX 871 downY 750 mScreenHeight 2340 mScreenWidth 1080 mStatusBarHeight 54 globalScale 1.125 nav mode 0 rotation 0 event MotionEvent { action=ACTION_DOWN, actionButton=0, id[0]=0, x[0]=871.0, y[0]=750.0, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaState=0, flags=0x0, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=186580369, downTime=186580369, deviceId=6, source=0x1002, displayId=0 } D/ColorViewRootUtil: nav bar mode ignore false downX 544 downY 1772 mScreenHeight 2340 mScreenWidth 1080 mStatusBarHeight 54 globalScale 1.125 nav mode 0 rotation 0 event MotionEvent { action=ACTION_DOWN, actionButton=0, id[0]=0, x[0]=544.0, y[0]=1772.0, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaState=0, flags=0x0, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=186585848, downTime=186585848, deviceId=6, source=0x1002, displayId=0 }
chanjungkim commented 2 years ago

@AparnaManjalavil Have you solved this issue?