- My internet connection was not stable, so the Android NDK/SDK was not installed properly. This meant that I could not compile my source code. The solution was to run the "Android Tools" application which makes it easy to finish the installation.
- My Google Nexus 7 tablet could not be put into developer mode. The reason was that you need to tap the version number in the settings/about about 10 times before the device converts itself into a developer-device, which has developer settings.
- My Google Nexus S and Google Nexus 7 both connected well but in order to make Delphi XE5 run apps on it, you need to install the USB ADB driver. The "Android Tools" installs it on your harddisk, but not in Windows. I found a video on youtube that explained how to install the USB ADB driver, and how to configure Delphi XE5 to deploy to it.
- Finally, when all seemed right, it still did not deploy a sample Firemonkey app for mobile - instead, when running aadp with a huge command line parameter list, it returned "Error 1". The reason was, that you need to go into project/options/application and specify an application icon. Once I did that, the app deployed and started running on the phone.
Sunday, October 27, 2013
Getting started with Delphi XE5 and Android
This is a list of the problems that I experienced when I tried to use Delphi XE5 to make Android apps first time:
Posted by Lars D at 1:10 PM