Actions
Epic #51
closedFeature #47: Enable mobile version of CMSDisplay
Epic #48: Enable android version for CMSDisplay
Change API_LEVEL to 31
Added by Fernando Jose Capeletto Neto over 2 years ago. Updated over 2 years ago.
Description
requirement to be published in Google Play
- https://cordova.apache.org/docs/en/11.x/guide/platforms/android/index.html (cordova-android plugin compatibility)
Updated by Fernando Jose Capeletto Neto over 2 years ago
- Status changed from New to In Progress
- % Done changed from 0 to 10
Updated by Fernando Jose Capeletto Neto over 2 years ago
- Description updated (diff)
- % Done changed from 10 to 30
We had to remove/add android platform again matching to the correct version.
cordova platform remove android
Fernando J Capeletto@COISUDINHO MINGW64 /c/workspace/CMSDisplay (20230413_cmsdisplayapp)
$ cordova platform remove android
You have been opted out of telemetry. To change this, run: cordova telemetry on.
Removing android from cordova.platforms array in package.json
Fernando J Capeletto@COISUDINHO MINGW64 /c/workspace/CMSDisplay (20230413_cmsdisplayapp)
$ cordova platform add android@11
You have been opted out of telemetry. To change this, run: cordova telemetry on.
Using cordova-fetch for cordova-android@11
Adding android project...
Creating Cordova project for the Android platform:
Path: platforms\android
Package: engineer.fernando.cms.cmsdisplay
Name: CMSDisplayApp
Activity: MainActivity
Android Target SDK: android-32
Android Compile SDK: 32
Subproject Path: CordovaLib
Subproject Path: app
Android project created with cordova-android@11.0.0
cordova platform add android@11
Updated by Fernando Jose Capeletto Neto over 2 years ago
After upgrade to cordova-android 11, we had to set enviroment variable ANDROID_HOME (ANDROID_SDK_ROOT is deprecated)
We also had this incompatibility error (we are using Java 8 for target level 30, and now is requiring Java 11)
FAILURE: Build failed with an exception.
* Where:
Build file 'C:\workspace\CMSDisplay\platforms\android\app\build.gradle' line: 20
* What went wrong:
A problem occurred evaluating project ':app'.
> Failed to apply plugin 'com.android.internal.application'.
> Android Gradle plugin requires Java 11 to run. You are currently using Java 1.8.
Your current JDK is located in C:\Java\jdk1.8.0_361\jre
You can try some of the following options:
- changing the IDE settings.
- changing the JAVA_HOME environment variable.
- changing `org.gradle.java.home` in `gradle.properties`.
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
Updated by Fernando Jose Capeletto Neto over 2 years ago
- % Done changed from 30 to 50
After update to JDK11 and update JAVA_HOME and java dir on PATH, cordova build worked.
Updated by Fernando Jose Capeletto Neto over 2 years ago
- % Done changed from 50 to 80
Updated by Fernando Jose Capeletto Neto over 2 years ago
- Status changed from In Progress to Testing
- % Done changed from 80 to 90
Updated by Fernando Jose Capeletto Neto over 2 years ago
- Status changed from Testing to Merging
Updated by Fernando Jose Capeletto Neto over 2 years ago
- Due date set to 04/19/2023
Updated by Fernando Jose Capeletto Neto over 2 years ago
- Status changed from Merging to Testing
Updated by Fernando Jose Capeletto Neto over 2 years ago
- Status changed from Testing to Deliver
Updated by Fernando Jose Capeletto Neto over 2 years ago
- Status changed from Deliver to Done
Updated by Fernando Jose Capeletto Neto over 2 years ago
- Status changed from Done to Closed
Updated by Fernando Jose Capeletto Neto over 2 years ago
- % Done changed from 90 to 100
Actions