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?

Comments

  1. Did you install the USB drivers that Primož Gabrijelčič suggested?
    https://plus.google.com/u/0/109828045030741886977

    Until Windows sees the device, XE5 can't see it either.

    ReplyDelete
  2. 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.

    ReplyDelete
  3. The device has appeared in the device manager under Android devices. but still nothing in the IDE. I will keep trying for the fysical device.
    but what about the emulator?

    ReplyDelete
  4. OK I found it for the device , It has to be set up using PTP and not in MTP.

    ReplyDelete
  5. gaetan maerten - I also never got it started - or lacked the patience required.
    So, Windows sees the device, but it doesn't show under Android - Android SDK xx.x.xx | Devices ?

    QC it!

    ReplyDelete
  6. 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.

    ReplyDelete
  7. I 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.

    ReplyDelete
  8. Lars, 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...

    ReplyDelete
  9. I know Delphi+Windows pretty well, but when it comes to Delphi+Android, I am still just a babe in the woods.

    ReplyDelete
  10. If 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.

    ReplyDelete
  11. I'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.

    ReplyDelete
  12. AFAIK the android emulator is problematic in a VM.

    ReplyDelete
  13. mm, I do have a Windows 8 machine I can use.  Hopefully it works in Windows 8.  Thanks Paul.  I'm an Android newbie.

    ReplyDelete
  14. be warned - the android emulator is SLOWWWWWWWWWWWWWWWWWW

    ReplyDelete
  15. I'll go ahead and use the device.  However, I was just trying a quick "hello world" program...

    ReplyDelete
  16. hehehe you should know those take the longest :-P

    ReplyDelete
  17. Don't waist your time with the emulator.

    If 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.

    ReplyDelete
  18. 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.

    ReplyDelete
  19. Same problem, resolved with gpu.
    But, sometimes it crash... well, i think this is the real beta test.

    ReplyDelete
  20. 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.

    ReplyDelete
  21. David Berneda : can you tell which DLLs I need to copy? TIA

    ReplyDelete
  22. Android Emulator now works on my machine (Windows 7 x64) :-)

    I'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.

    ReplyDelete
  23. oops sorry, could not reply earlier. I see now you found it. Great !!

    ReplyDelete
  24. Emulator runs but performs in slow motion only :-(

    ReplyDelete

Post a Comment