Find answers for some of the problems you may encounter while using IBM Digital App Builder.
In case of any error, refer to:
log.logfile for the respective platform folder path:
On mac OS:
~/Library/Logs/IBM Digital App Builder/log.log.
%USERPROFILE%\AppData\Roaming\IBM Digital App Builder\log.log.
applog.logfor your app related logs which can be found in
Failure to create a Data set for a Microservice using a swagger file.
For the first time users of the Builder, the microservice creation may fail due to network latency. To get rid of this, follow these steps:
- Open command prompt and go to the installed location of the app.
- Run the following command
windows> execute.bat .
- On successful execution of the above command, you can start using microservice (swagger file) from the Digital App Builder.
Failure to preview the app on Windows.
In the Digital App Builder, go to Settings > Repair project and click Rebuild Dependencies and Rebuild Platforms buttons.
Android App does not work after adding the List component to the app.
This is due to Android WebView version is less than 68.X.XXXX.XX. To resolve this, upgrade the Android WebView version to 68.X.XXXX.XX or above.
In MacOS, preview of the app on an Android simulator fails with app crashes. With the following error:
java.lang.RuntimeException: Unable to create application com.ibm.MFPApplication: java.lang.RuntimeException: Client configuration file mfpclient.properties not found in application assets. Use the MFP CLI command 'mfpdev app register' to create the file.
To resolve this, from the terminal navigate to the app ionic directory and run the following commands:
ionic cordova plugin remove cordova-plugin-mfp ionic cordova plugin add cordova-plugin-mfp
and preview from the Digital App Builder again.
Unable to generate the adapter when importing swagger json/yaml file.
Error when importing swagger json/yaml file and the error is due to Maven dependency.
Ideally all the Maven dependencies if does not exists are downloaded and installed behind the scene. But there are somecases where Maven fails because of multiple Maven versions in the system. To solve this issue follow these steps:
a. Go to the Aa\pp location and open execute.sh / execute.bat file depending on the OS. (
b. Edit all the
call %MAVEN_HOME% clean installto
call %MAVEN_HOME% -U clean install.
Adding `-U` will force maven to check any external dependencies that need to be updated based on the POM file.
Prerequisites Check fails for Android Studio even when it is installed.
Make sure you have the android executable (
<path to android sdk>/tools) in the path and check for the prerequisites.
App creation and preview issue on Windows 7
You may get an error when trying to create a new app in a different disk drive location other than
Make sure you create your app project under the drive
C://<your folder name/app name>.