I still have problems with the Rad XE 5 Android deployment.
I still have problems with the Rad XE 5 Android deployment.
Applications don't start on the emulator and I can't seem to hook up the fysical device to the IDE. Have you guys more luck than me?
Applications don't start on the emulator and I can't seem to hook up the fysical device to the IDE. Have you guys more luck than me?
Did you install the USB drivers that Primož Gabrijelčič suggested?
ReplyDeletehttps://plus.google.com/u/0/109828045030741886977
Until Windows sees the device, XE5 can't see it either.
I've not been able to get the emulator to work either. It starts, but the app never loads. Connecting to my Samsung Galaxy S3 works perfectly after I installed the correct Windows drivers.
ReplyDeleteThe device has appeared in the device manager under Android devices. but still nothing in the IDE. I will keep trying for the fysical device.
ReplyDeletebut what about the emulator?
OK I found it for the device , It has to be set up using PTP and not in MTP.
ReplyDeletegaetan maerten - I also never got it started - or lacked the patience required.
ReplyDeleteSo, Windows sees the device, but it doesn't show under Android - Android SDK xx.x.xx | Devices ?
QC it!
I don't think it will matter if I QC it since they will possibly see it as an Android platform issue. I think that they need to document the proper way to connect it with all the exceptions.
ReplyDeleteI completely agree. It's fine and dandy once you know the tricks - but for us less well initiated, it is a twisting maze of passages, all leading in the wrong direction.
ReplyDeleteLars, I think you are more initiated into the worlds of Delphi than me.... I do not tread with the panteon of greek Delphi gods. Just trying the mobile demoes and having fun for the moment...
ReplyDeleteI know Delphi+Windows pretty well, but when it comes to Delphi+Android, I am still just a babe in the woods.
ReplyDeleteHa , as we are all , for now!
ReplyDeleteIf windows sees the device but the ide does not I would check what drivers windows has loaded, then make sure you have USB debugging switched on in the device settings and that you accept the security prompt on the device.
ReplyDeleteOh - here is a nice post from the delphi geek site about it too :- http://www.thedelphigeek.com/2013/09/xe5-and-usb-drivers.html
ReplyDeleteI'm using a VM for WIndows 7 on Mac OS. Haven't attached my Nexus 7 as yet. I was trying the emulator, and so far, I can't get it to work. I'll try again this weekend.
ReplyDeleteAFAIK the android emulator is problematic in a VM.
ReplyDeletemm, I do have a Windows 8 machine I can use. Hopefully it works in Windows 8. Thanks Paul. I'm an Android newbie.
ReplyDeletebe warned - the android emulator is SLOWWWWWWWWWWWWWWWWWW
ReplyDeleteI'll go ahead and use the device. However, I was just trying a quick "hello world" program...
ReplyDeletehehehe you should know those take the longest :-P
ReplyDeleteDon't waist your time with the emulator.
ReplyDeleteIf your using VirtualBox you have to turn on USB 2.0 (and install the extensions) for the VM or the driver will not install. Make sure you have the ADB driver for your device. And last but not least you have to have debug turned on the device for the IDE to see it.
About the emulator - try enabling 'use hostGPU' emulator option. It helped in my case - without it I only got black screen when starting an XE5 program.
ReplyDeleteSame problem, resolved with gpu.
ReplyDeleteBut, sometimes it crash... well, i think this is the real beta test.
run "emulator" from cmd command line. If you see opengl errors, you'll need to copy dlls one level up in sdk folders to solve them. Then it runs "faster" with host gpu.
ReplyDeleteDavid Berneda : can you tell which DLLs I need to copy? TIA
ReplyDeleteAndroid Emulator now works on my machine (Windows 7 x64) :-)
ReplyDeleteI've copied lib*.dll (4 files) from
C:\Users\Public\Documents\RAD Studio\12.0\PlatformSDKs\adt-bundle-windows-x86-20130522\sdk\tools\lib
one level up to the tools folder, where "emulator.exe" is stored.
Now not only the emulator starts faster, I could get my very first XE5 Android application to run in the emulator.
oops sorry, could not reply earlier. I see now you found it. Great !!
ReplyDeleteEmulator runs but performs in slow motion only :-(
ReplyDelete