Troubleshooting
Problem
After launching the Android emulator, the app fails to initialize and instead mysteriously terminates.
Cause
Android applications need to be manually granted permission to access the internet. The first auto-generated line in the application attempts to do this as part of the Rhapsody OXF initialization:
Init("your.ip.address.here", 0, 0, true, args);
RiJOXF.
and is promptly terminated by android OS.
Resolving The Problem
You need to add the "android.permission.INTERNET" uses-permission to your AndroidManifest.xml file. You can do this by either:
- Adding a "uses-permission" in the permission section of the manifest:
- Or you can type it directly into the AndroidManifest.xml file:
<uses-permission android:name="android.permission.INTERNET"></uses-permission>
[{"Product":{"code":"SSB2MU","label":"IBM Engineering Systems Design Rhapsody"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"General Information","Platform":[{"code":"PF016","label":"Linux"},{"code":"PF033","label":"Windows"}],"Version":"7.5.2.1","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]
Product Synonym
Rational Rhapsody
Was this topic helpful?
Document Information
Modified date:
27 May 2022
UID
swg21456751