Prasad
Prasad

Reputation: 5

mfp cli 7.1 for cordova missing files in android platform

i am trying to use mobilefirst cli 7.1 to build a cordova app using mfp cordova create , Everything worked fine and got my app working and tested using mfp preview. But when i added android platform using mfp cordova platform add ; i have noticed that there are few missing files namely wlclient.properties ,checksum.js etc., it suggest to do mfp push to create those files but it did not create those files even after doing mfp push . Because of that i could not get my app to run on the android device as it could not find these files. Below are the log messages that indicate there are missing files when android platform is built.

Project successfully created. filelist is missing, please run MFP Push. checksum.js is missing, please run MFP Push. Running command: /Users/ add to body class: platform-android

Running IBM Worklight Hook: cordova-plugin-mfp wlclient.properties is missing. Please run MFP Push to create the file. Installing "com.ionic.keyboard" for android

Plugin "cordova-plugin-mfp" added successfully.

Upvotes: 0

Views: 419

Answers (2)

Vivin K
Vivin K

Reputation: 2681

In addition to Idan's answer to your query,you can find more information in the following links:

a) MFP Cordova CLI

b) MFP CLI

Upvotes: 0

Idan Adar
Idan Adar

Reputation: 44516

Yes, it does create those files after mfp push.

Look under my-app\platforms\android\assets. You will find there the wlclient.properties file.

checksum.js is an internal file. You are not supposed to touch it, ever.
Assume it is there.

Upvotes: 0

Related Questions