webrtc/examples/androidtests
Mirko Bonadei a5d543ce21 Set minSdkVersion to 16 for AppRTCMobile_stubbed_video_io_test_apk.
After [1], the Chromium Roll into WebRTC fails with the following error:

FAILED: gen/examples/ \
AppRTCMobile_stubbed_video_io_test_apk__apk_manifest/AndroidManifest.xml

uses-sdk:minSdkVersion 13 cannot be smaller than version 14 declared in
library [...]/android_arch_lifecycle_runtime_java/AndroidManifest.xml
as the library might be using APIs not available in 13
	Suggestion: use a compatible library with a minSdk of at most 13,
		or increase this project's minSdk version to at least 14,
		or use tools:overrideLibrary="android.arch.lifecycle" to force
        usage (may lead to runtime failures)

[1] - https://chromium-review.googlesource.com/c/chromium/src/+/1298342

Bug: None
Change-Id: I839dd9dbb346d8f40c25f6a6b93b5d5fc1c26ae9
Reviewed-on: https://webrtc-review.googlesource.com/c/108080
Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org>
Reviewed-by: Sami Kalliomäki <sakal@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#25381}
2018-10-26 09:05:01 +00:00
..
src/org/appspot/apprtc/test Remove redundant initializers from WebRTC Java code. 2018-09-11 09:58:10 +00:00
third_party Moving src/webrtc into src/. 2017-09-15 04:25:06 +00:00
AndroidManifest.xml Set minSdkVersion to 16 for AppRTCMobile_stubbed_video_io_test_apk. 2018-10-26 09:05:01 +00:00
ant.properties Moving src/webrtc into src/. 2017-09-15 04:25:06 +00:00
build.xml Moving src/webrtc into src/. 2017-09-15 04:25:06 +00:00
gradle_project_test.py Roll chromium_revision f93b8b19f2..adf969a7cb (513366:514871) and more. 2017-11-08 21:42:48 +00:00
OWNERS Add phoglund@ to various OWNERS and remove kjellander@ 2017-10-19 09:21:12 +00:00
project.properties Moving src/webrtc into src/. 2017-09-15 04:25:06 +00:00
README Rename rtc_instrumentation_test_apk targets to end with _test_apk. 2018-08-03 12:44:40 +00:00
video_quality_loopback_test.py Reland "Remove deprecated barcode scanning functionality" 2018-10-22 21:30:58 +00:00

This directory contains an example unit test for Android AppRTCMobile.

Example of building & using the app:

- Build Android AppRTCMobile and AppRTCMobile unit test:
cd <path/to/webrtc>/src
ninja -C out/Debug AppRTCMobile_test_apk

- Install AppRTCMobile and AppRTCMobileTest:
adb install -r out/Debug/apks/AppRTCMobile.apk
adb install -r out/Debug/apks/AppRTCMobileTest.apk

- Run unit tests:
adb shell am instrument -w org.appspot.apprtc.test/android.test.InstrumentationTestRunner