android - Twilio: Video call connecting device with computer through ngrok -
i follow [twilio quickstart-android] [1]: https://www.twilio.com/docs/api/video/guide/quickstart-android when put identity give @ url : htp://0fd251a7.ngrok.io/video-quickstart-php-master/token.php inside poupup (invite participant) , when click send @ end of screen show onlocalvideotrackadded , black small squere @ end , closed 30-40 sec. @ url http://0fd251a7.ngrok.io/video-quickstart-php-master/ camera turn on , dont invitation request send app.
and problem compile 'com.twilio:conversations-android:0.12.2' @ build.gradle(module:app) in dependencies , not @ build.gradle(project:video-quickstart-php-master_test)
// top-level build file can add configuration options common sub-projects/modules. buildscript { repositories { jcenter() } dependencies { classpath 'com.android.tools.build:gradle:2.1.2' } } allprojects { repositories { jcenter() } } /* have comment becouse give me error @ android studio build file missing gradle plugin. */ //compile 'com.twilio:conversations-android:0.12.2'
this build.gradle(module:app)
apply plugin: 'com.android.application' android { compilesdkversion 23 buildtoolsversion "23.0.2" defaultconfig { applicationid "com.twilio.conversations.quickstart" minsdkversion 16 targetsdkversion 23 versioncode 1 versionname "1.0" } buildtypes { release { minifyenabled true proguardfiles getdefaultproguardfile('proguard-android.txt'), 'proguard-rules.pro' } } } dependencies { testcompile 'junit:junit:4.12' compile 'com.koushikdutta.ion:ion:2.1.7' compile 'com.twilio:conversations-android:0.12.2' compile 'com.android.support:appcompat-v7:23.1.1' compile 'com.android.support:design:23.1.1' }
Comments
Post a Comment