-
-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Revise Android SDK and NDK versions #105
Labels
android
Android-related tasks
build system
Build scripts
continuous integration
Continuous integration
Comments
gavv
added
good first issue
Good for newcomers
help wanted
Contributions are welcome
continuous integration
Continuous integration
labels
May 13, 2023
gavv
changed the title
Update android version on CI
Update Android API and NDK versions on CI
May 13, 2023
gavv
changed the title
Update Android API and NDK versions on CI
Revise Android API and NDK versions
May 13, 2023
gavv
added
enhancement
New feature or request
and removed
continuous integration
Continuous integration
labels
May 13, 2023
gavv
changed the title
Revise Android API and NDK versions
Revise Android SDK and NDK versions
May 13, 2023
gavv
added
android
Android-related tasks
build system
Build scripts
and removed
enhancement
New feature or request
labels
May 13, 2023
gavv
removed
good first issue
Good for newcomers
help wanted
Contributions are welcome
labels
Oct 12, 2024
gavv
added a commit
to gavv/roc-java
that referenced
this issue
Oct 12, 2024
Closes: roc-streaming#72, roc-streaming#112, roc-streaming#116, roc-streaming#106, roc-streaming#107, roc-streaming#105 - Update requirements: for build: JDK 17+ for running: JRE 8+ Android API 29+ (Android 10) - Bump gradle version and fix build on recent JDK versions - CI: bump actions versions cleanup test JDK 21 and JDK 17 switch to android-actions/setup-android downgrade roc-toolkit from master to v0.2.6 automatically select best roc-toolkit git tag for release AAR - README: document version requirements cleanup build & devel instructions document where versions are hard-coded - Gradle: use io.freefair.android-lombok on Android run delombok before javadoc disable javadoc warnings switch from "maven" to "maven-publish" plugin fix cmake warnings due to incorrect invocation - Sources: fix javadoc errors exclude gradle code from javadoc
gavv
added a commit
to gavv/roc-java
that referenced
this issue
Oct 12, 2024
Closes: roc-streaming#72, roc-streaming#112, roc-streaming#116, roc-streaming#106, roc-streaming#107, roc-streaming#105 - Update requirements: for build: JDK 17+ for running: JRE 8+ Android SDK: 31+ (Android 12) Android API: 29+ (Android 10) - Bump gradle version and fix build on recent JDK versions - CI: bump actions versions cleanup test JDK 21 and JDK 17 switch to android-actions/setup-android downgrade roc-toolkit from master to v0.2.6 automatically select best roc-toolkit git tag for release AAR - README: document version requirements cleanup build & devel instructions document where versions are hard-coded - Gradle: use io.freefair.android-lombok on Android run delombok before javadoc disable javadoc warnings switch from "maven" to "maven-publish" plugin fix cmake warnings due to incorrect invocation - Sources: fix javadoc errors exclude gradle code from javadoc
Merged
gavv
added a commit
to gavv/roc-java
that referenced
this issue
Oct 12, 2024
Closes: roc-streaming#72, roc-streaming#112, roc-streaming#116, roc-streaming#106, roc-streaming#107, roc-streaming#105 - Update requirements: for build: JDK 17+ for running: JRE 8+ Android SDK: 31+ (Android 12) Android API: 29+ (Android 10) - Bump gradle version and fix build on recent JDK versions - CI: bump actions versions cleanup test JDK 21 and JDK 17 switch to android-actions/setup-android downgrade roc-toolkit from master to v0.2.6 automatically select best roc-toolkit git tag for release AAR - README: document version requirements cleanup build & devel instructions document where versions are hard-coded - Gradle: use io.freefair.android-lombok on Android run delombok before javadoc disable javadoc warnings switch from "maven" to "maven-publish" plugin fix cmake warnings due to incorrect invocation - Sources: fix javadoc errors exclude gradle code from javadoc
gavv
added a commit
to gavv/roc-java
that referenced
this issue
Oct 12, 2024
Closes: roc-streaming#72, roc-streaming#112, roc-streaming#116, roc-streaming#106, roc-streaming#107, roc-streaming#105 - Update requirements: for build: JDK 17+ for running: JRE 8+ Android SDK: 31+ (Android 12) Android API: 29+ (Android 10) - Bump gradle version and fix build on recent JDK versions - CI: bump actions versions cleanup test JDK 21 and JDK 17 switch to android-actions/setup-android downgrade roc-toolkit from master to v0.2.6 automatically select best roc-toolkit git tag for release AAR - README: document version requirements cleanup build & devel instructions document where versions are hard-coded - Gradle: use io.freefair.android-lombok on Android run delombok before javadoc disable javadoc warnings switch from "maven" to "maven-publish" plugin fix cmake warnings due to incorrect invocation - Sources: fix javadoc errors exclude gradle code from javadoc
gavv
added a commit
to gavv/roc-java
that referenced
this issue
Oct 15, 2024
Closes: roc-streaming#72, roc-streaming#112, roc-streaming#116, roc-streaming#106, roc-streaming#107, roc-streaming#105 - Update requirements: for build: JDK 17+ for running: JRE 8+ Android SDK: 31+ (Android 12) Android API: 29+ (Android 10) - Bump gradle version and fix build on recent JDK versions - CI: bump actions versions cleanup test JDK 21 and JDK 17 switch to android-actions/setup-android downgrade roc-toolkit from master to v0.2.6 automatically select best roc-toolkit git tag for release AAR - README: document version requirements cleanup build & devel instructions document where versions are hard-coded - Gradle: use io.freefair.android-lombok on Android run delombok before javadoc disable javadoc warnings switch from "maven" to "maven-publish" plugin fix cmake warnings due to incorrect invocation - Sources: fix javadoc errors exclude gradle code from javadoc
gavv
added a commit
that referenced
this issue
Oct 16, 2024
Closes: #72, #112, #116, #106, #107, #105 - Update requirements: for build: JDK 17+ for running: JRE 8+ Android SDK: 31+ (Android 12) Android API: 29+ (Android 10) - Bump gradle version and fix build on recent JDK versions - CI: bump actions versions cleanup test JDK 21 and JDK 17 switch to android-actions/setup-android downgrade roc-toolkit from master to v0.2.6 automatically select best roc-toolkit git tag for release AAR - README: document version requirements cleanup build & devel instructions document where versions are hard-coded - Gradle: use io.freefair.android-lombok on Android run delombok before javadoc disable javadoc warnings switch from "maven" to "maven-publish" plugin fix cmake warnings due to incorrect invocation - Sources: fix javadoc errors exclude gradle code from javadoc
Fixed in #132 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
android
Android-related tasks
build system
Build scripts
continuous integration
Continuous integration
There are a few android-related versions that we specify in build scripts and CI:
Android NDK version
. Does not affect runtime requirements. Generally should be set to latest available version because newer versions have more bug-fixes and optimizations.Android build-tools version
andCMake version
. Similarly, should be set to latest available version.Android API levels:
minSdkVersion
. Defines runtime requirement of the app. The app will support only systems with this version and later. Should be set to the lowest possible version.targetSdkVersion
. Affects runtime behavior of the app. Should be set to the latest API level on which the app was tested. Android runtime will take this into account and will avoid behavior that was introduced in later versions.compileSdkVersion
. Defines compile-time version of Android SDK. Generally should be set to latest available version.More info: 1, 2.
Currently,
minSdkVersion
is defined inandroid/roc-android/build.gradle
, and other versions are defined in.github/workflows/build.yml
and passed to gradle via environment variables.What we need to do:
in
scripts/android_docker.sh
:rename
API
toSDK_LEVEL
(corresponds tocompileSdkVersion
)the rename should be also reflected in:
scripts/android/build_roc.sh
scripts/android/start_emulator.sh
README.md
in
.github/workflows/build.yml
:in all jobs:
API
toSDK_LEVEL
in
android-linux
andrelease
jobs:BUILD_TOOLS_VERSION
andCMAKE_VERSION
vars (currently they're missing and we rely on defaults)in
android-linux
,android-osx
, andrelease
jobs:SDK_LEVEL
(compileSdkVersion) to the latest available versionNDK_VERSION
(Android NDK version) to the latest available versionBUILD_TOOLS_VERSION
(Android build-tools version) to the latest available versionCMAKE_VERSION
to the latest available versionin
android-linux
andandroid-osx
jobs:in addition to bumping versions as described above, keep one step with the currently used, older, versions of sdk, ndk, build-tools, and cmake; it will allow us to keep testing compatibility with older build environments
in
android-linux
we'll need to add a new step for older versions; inandroid-osx
we'll need to use the existing last step for thatin
android-linux
job:scripts/android_docker.sh build
without exporting any environment variables (SDK_LEVEL, NDK_VERSION, etc); this step will allow us to keep testing that defaults defined inandroid_docker.sh
are good and the script works when no configuration is providedIn
android/roc-android/build.gradle
:API
env var toSDK_LEVEL
apiLevel
var tosdkLevel
compileSdkVersion
andtargetSdkVersion
tosdkLevel
(obtained fromSDK_LEVEL
)The text was updated successfully, but these errors were encountered: