Skip to content

Commit e086741

Browse files
ビルドの説明にlibmediaとlibsrtライブラリのコピー手順を追記しました。
1 parent fd2fc78 commit e086741

2 files changed

Lines changed: 26 additions & 20 deletions

File tree

README.md

Lines changed: 15 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -24,21 +24,30 @@ Device Connect Managerをビルドして、簡単に動作させるまでを解
2424
* Android SDK
2525

2626
## Device Connect Managerのビルド
27-
### Mac/Linux
28-
DeviceConnect-Androidのソースコードをダウンロードしてください。
27+
28+
### ソースコードの取得
29+
30+
git コマンドでソースコードをクローンします。
2931

3032
```
3133
$ git clone https://github.com/DeviceConnect/DeviceConnect-Android.git
3234
```
3335

34-
ビルド前にANDROID_SDK_ROOTの環境変数にAndroidSDKへのパスが設定されていることを確認してください。
36+
### ライブラリのインポート
37+
38+
ビルドには、libmedia-release-1.0.0.aar と libsrt-release-1.0.0.aar が必要になります。<br>
39+
GitHub の releases からダウンロードして、/DeviceConnect-Android/dConnectDevicePlugin/dConnectDeviceHost/app/libs にコピーしてください。
40+
41+
### Mac/Linux でビルド
42+
43+
ビルド前にANDROID\_SDK\_ROOTの環境変数にAndroid SDKへのパスが設定されていることを確認してください。
3544

3645
```
3746
$ echo 'export ANDROID_SDK_ROOT=<path>' >> ~/.bash_profile
3847
```
3948

4049
&lt;path&gt;には、AndroidSDKへのパスを指定してください。
41-
<br><br>
50+
4251
Device Connect Managerをビルドしてapkを作成します。
4352

4453
```
@@ -52,14 +61,9 @@ Device Connect Managerを端末にインストールします。
5261
$ adb install dconnect-manager-app/build/outputs/apk/debug/dconnect-manager-app-debug.apk
5362
```
5463

55-
### Windows
56-
DeviceConnect-Androidのソースコードをダウンロードしてください。
64+
### Windows でビルド
5765

58-
```
59-
> git clone https://github.com/DeviceConnect/DeviceConnect-Android.git
60-
```
61-
62-
ビルド前にANDROID_HOMEの環境変数にAndroidSDKへのパスが設定されていることを確認してください。
66+
ビルド前にANDROID\_HOMEの環境変数にAndroid SDKへのパスが設定されていることを確認してください。
6367

6468
```
6569
> setx ANDROID_HOME <path>
@@ -80,7 +84,6 @@ Device Connect Managerを端末にインストールします。
8084
> adb install app/build/outputs/apk/app-debug.apk
8185
```
8286

83-
8487
## Device Connect Managerの起動
8588
Android端末のアプリケーション一覧画面から、Device Connect Managerのアイコンをタップして、起動します。
8689
<div>

readme.en.md

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,22 @@ It assumes that the following commands are installed here.
2626
* Android SDK
2727

2828
## Build Device Connect Manager
29-
### Mac/Linux
29+
30+
### Get a source code
31+
3032
Download DeviceConnect-Android source code.
3133

3234
```
3335
$ git clone https://github.com/DeviceConnect/DeviceConnect-Android.git
3436
```
3537

36-
Before building, make sure the path to AndroidSDK is set to the ANDROID_SDK_ROOT environment variable.
38+
### import a library
39+
40+
The build requires libmedia-release-1.0.0.aar and libsrt-release-1.0.0.aar.<br>
41+
Download libmedia-release-1.0.0.aar and libsrt-release-1.0.0.aar from GitHub releases and copy it to /DeviceConnect-Android/dConnectDevicePlugin/dConnectDeviceHost/app/libs.
42+
43+
### Mac/Linux
44+
Before building, make sure the path to Android SDK is set to the ANDROID\_SDK\_ROOT environment variable.
3745

3846
```
3947
$ echo 'export ANDROID_SDK_ROOT=<path>' >> ~/.bash_profile
@@ -56,13 +64,8 @@ $ adb install dconnect-manager-app/build/outputs/apk/debug/dconnect-manager-app-
5664

5765

5866
### Windows
59-
Download DeviceConnect-Android source code.
60-
61-
```
62-
> git clone https://github.com/DeviceConnect/DeviceConnect-Android.git
63-
```
6467

65-
Before building, make sure the path to AndroidSDK is set to the ANDROID_HOME environment variable.
68+
Before building, make sure the path to AndroidS DK is set to the ANDROID\_HOME environment variable.
6669

6770
```
6871
> setx ANDROID_HOME <path>

0 commit comments

Comments
 (0)