Live Testing
Last updated
Last updated
AppyBuilder provides you drag-and-drop interface for designing and building your Android mobile apps. During development, you can connect your Android device for Live Testing. For example, when you drag a Button to the Viewer, you can immediately view the result on your device. Also, when you make something to happen (e.g. pressing a Button), you can directly press the button on your phone. This kind of feedback is enormously useful, because it lets you develop and test your apps incrementally, defining each bit of new behavior and testing as you go along. Inexperienced programmers often make the mistake of building a large amount of stuff before they test any of it. Then, when they run into bugs, they're faced with a huge tangle to sort out, where they don't know which pieces are working and which are not. So try to work incrementally. You'll still surely encounter bugs, but incremental development will let you isolate bugs more quickly and fix them more easily.
To perform Live Testing / Development, you'll require AppyBuilder companion app. The companion app can be found in Google Play Store. Follow link HERE which includes the version of the companion app.
Once you install AppyBuilder companion app, you'll need to connect it to your computer.
NOTE/Troubleshooting: Please refer to end of this article for connection issues and troubleshooting
Currently, there are 2 approaches for Live Testing / Development:
You'll need to connect both your computer and your device to the SAME WiFi Network.
Start your companion app
Either open existing app or start a new one
From menu select Connect, then Live Testing:
AppyBuilder will provide you a QR code. You can use the companion app to scan or manually enter the 6-digit code:
Currently, the USB option only works for Windows OS.
Download AppyBuilder-Starter-app from
. This is a compressed zip file. After download, please extract and run the .msi installer app. This installer package that includes the files required connect your device, through USB to your Windows computer. Run the setup. The setup will install the files onto "
C:\Program Files (x86)\AppyBuilder Starter"
folder. It will also place "AppyBuilder Starter" shortcut on your Desktop:
.
Connect your phone using USB cable to your computer.
Enable USB debugging
Start AppyBuilder-Starter app
From AppyBuilder menu, select Connect, then USB:
This action should automatically startup your companion and establish connection for Live Testing / Development:
If your companion does not connect:
Ensure that you DO NOT have MIT AI companion app running in background. You'll need to KILL that companion rather than just closing it.
If you are using the USB connection, from your Windows task manager, KILL adb.exe, the refresh browser, and try to reconnect to starter app