X

The Visual Builder Cloud Service Blog

Debugging Visual Builder Mobile Apps on Android

Shay Shmeltzer
Director of Product Management - Oracle

Oracle Visual Builder lets you create mobile apps that install and run on your mobile device. In the development stages you can use our live emulator to see the apps running and test them. But how do you debug them once they are running on an actual mobile device? where can you find the log console to debug them? How do you get to the browser console when your app is running on a remote device?

Here is the solution for Android apps (shown to me by Laura our VB Mobile PM):

1. First install the chrome ADB extension into your Chrome browser. The extension is available here. Once installed it will add a little green Android icon to your browser's menu.

ADB Extension Menu

2. Connect your Android device to your computer using a USB cable, and make sure that your phone is set to support USB debugging. On most devices this will be off by default, if you haven't configured your phone already you'll need to do this probably under the "Developer Options". Google and you'll find the specific steps based on your specific device.

3. In order to debug your application you'll need to configure a build profile that is set to Debug in the "Build Type" drop down. Then use that build profile to Run your application in the emulator, build it, and then deploy it to your mobile device. Once deployed with this profile you can run your app on your mobile device.

Debug Build Profile

4. Now from the chrome browser click the little green Android icon, and choose View Inspection Target. You'll see a list of connected devices and running apps - including your Visual Builder mobile app.

Choosing remote app

5. Click the inspect link below it and you'll get a nice interface replicating the UI you see on the device and the browser's console.

Visual Builder App Debug UI

Need more tips on how to debug an app? I wrote a previous blog that covers techniques for debugging Visual Builder apps, and these techniques are still relevant for mobile apps. You'll see the same console and network tabs above for your on-device app.

Be the first to comment

Comments ( 0 )
Please enter your name.Please provide a valid email address.Please enter a comment.CAPTCHA challenge response provided was incorrect. Please try again.Captcha
Oracle

Integrated Cloud Applications & Platform Services