-
Notifications
You must be signed in to change notification settings - Fork 124
Run the Android Project
srs888001 edited this page May 12, 2020
·
2 revisions
其他语言版本:简体中文
This page introduces how to run the Android sample project.
- Make sure you have made the preparations mentioned in the Agora e-Education Guide.
- Prepare the development environment:
- JDK
- Android Studio 2.0 or later
- Real Android devices, such as Nexus 5X. We recommend using real devices because some function may not work well on simulators or you may encounter performance issues.
Follow these steps to run the sample project:
1.Clone the repository to your local machine.
git clone https://github.com/AgoraIO-Usecase/eEducation
2.Enter the directory of the Android project.
cd eEducation/education_Android/
3.Open the Android project with Android Studio.
4.Configure keys.
Pass the following parameters in app/src/normal/res/values/string_configs.xml
:
- The Agora App ID that you get.
- The
Authorization
parameter that you have generated for basic HTTP authentication.
For details, see the prerequisites in Agora E-education Guide.
<string name="agora_app_id"><#YOUR APP ID#></string>
<string name="agora_auth"><#YOUR HTTP AUTHORIZATION#></string>
5.Run the project.
- You can read the full set of documentations and API reference at Agora Developer Portal.
- You can ask for technical support by submitting tickets in Agora Console.
- You can submit an issue if you find any bug in the sample project.
Distributed under the MIT License. See LICENSE
for more information.