Upgrade Anywhere 764 - Android
Upgrade Anywhere 764 - Android
Pre-requisite
Ensure that the build machine has internet access and can access the gradle files
https://services.gradle.org/distributions/gradle-4.6-all.zip
Click the drop down arrow besides “Configure” and select “SDK Manager” option
From the “SDK Platforms” tab, verify that Android Platform SDK 28 or higher is installed.
• On the SDK Tools tab, click Check Show Package Details and select Android SDK
build-tools version 28.0.1 or higher.
Click Apply, OK
NOTE:
When you install the enablement it injects the maxwanywhere build script in to the
buildmaximoear.xml, this deploys with the maximo.ear
Run buildmaximoearwas8.cmd
maximo.ear file contains a maxanywhere.war for app updates
C:\IBM\SMP\maximo\applications\maximo\META-INF\deployment-application.xml
<module id="WebModule_maxanywhere">
<web>
<web-uri>maxanywhere.war</web-uri>
<context-root>/maxanywhere</context-root>
</web>
</module>
Wait for it to backup the existing MaximoAnywhere directory and build apps
Click Next
Click Finish
Download node.js
https://nodejs.org/en/download/
Anywhere.Application.BaseDirectory=C:\\Anywhere\\MaximoAnywhere
NODE_HOME=C:\\nodejs
JAVA_HOME=c:\\progra~1\\Java\\jdk1.8.0_111
NOTE: JAVA_HOME should be the same as the one specified in build.properties
envsToBuild=android
appsToBuild=WorkExecution
# Bypass the app download component. The main app will be built into the apk
# users will not be presented the connect page which allows them to change the url
include.webcontent=false
android.sdk.home=C:/android-sdk
Android_TARGET_DEVICE_NAME=android-28
Build is successful
If you wish to go back to a previous deployment, click the wrench icon besides a previous
deployment to activate it
If no deployment shows up here, you can try to upload the workexecution.zip by clicking the
New Deployment tab
Enter a version and select WorkExecution.zip from C:\Anywhere\MaximoAnywhere\bin
Click OK
Troubleshooting
1) If the install progress bar got stuck, there would be a DOS prompt in the background
that says disk run out of space
Clean up disk space and re-run update
if Android SDK has not been installed, then it might complain about no
WorkExecution.checksum
4) If you receive error: “Last version installed at device” after entering the Maximo URL
and clicking Connect button, try manually uploading the WorkExecution.zip from
Deployment tab in Anywhere Administration application