Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


Welcome, Guest
Guest Settings
Help

Thread: Android SDK in Target Platforms


This question is answered. Helpful answers available: 2. Correct answers available: 1.


Permlink Replies: 7 - Last Post: Feb 17, 2017 4:58 PM Last Post By: Remy Lebeau (Te...
Darrel Christen...

Posts: 25
Registered: 12/19/07
Android SDK in Target Platforms  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Feb 15, 2017 4:40 PM
So I want to try my multiplatform app on my Amazon Fire Kindle.

I've followed the USB driver instructions and the Kindle appears connected correctly and I have USB debugging enabled.

I fire up Delphi 10.1 update 2 and look under Target Platforms and I don't see the Android SDK entry.

I note under Options, Environment, SDK Manager there is an Android SDK listed, version 2.3.3, but there are yellow exclamation point icons next to 4 of the 6 paths/file entries and I verified the files/paths it's looking for don't exist.

I thought I'd reinstall the SDK but when I re-run the update 2 installer all I get is an Uninstall option i.e. nothing like Modify where I could choose to just reinstall the SDK.

I'm more than a bit puzzled and not sure what to look at, run, configure, download, anything...

Any insight, guideance, suggestions, etc. would be appreciated.

drc :)

Remy Lebeau (Te...


Posts: 9,447
Registered: 12/23/01
Re: Android SDK in Target Platforms  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Feb 15, 2017 6:25 PM   in response to: Darrel Christen... in response to: Darrel Christen...
Darrel wrote:

I fire up Delphi 10.1 update 2 and look under Target Platforms
and I don't see the Android SDK entry.

Right-click on the "Target Platforms" node, select "Add platform...", choose
Android, then you can configure the project settings and compile code for
that platform.

I note under Options, Environment, SDK Manager there is an Android
SDK listed, version 2.3.3, but there are yellow exclamation point icons
next to 4 of the 6 paths/file entries and I verified the files/paths
it's looking for don't exist.

That is why they are being displayed as yellow. Did you check your HDD to
see if the missing paths are located somewhere else?

I thought I'd reinstall the SDK but when I re-run the update 2
installer all I get is an Uninstall option i.e. nothing like Modify
where I could choose to just reinstall the SDK.

Did you check the Windows Control Panel to see if the installer provide a
Modify/Change option there?

--
Remy Lebeau (TeamB)
Darrel Christen...

Posts: 25
Registered: 12/19/07
Re: Android SDK in Target Platforms  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Feb 15, 2017 6:54 PM   in response to: Remy Lebeau (Te... in response to: Remy Lebeau (Te...
Right-click on the "Target Platforms" node, select "Add platform...", choose
Android, then you can configure the project settings and compile code for
that platform.

Tried that, Add Platform is greyed out.

That is why they are being displayed as yellow. Did you check your HDD to
see if the missing paths are located somewhere else?

Three of the four yellow entries are .exe files, I've scanned my entire hard drive
and they are not present - hence my original thought something happened
during the update 2 install.

Did you check the Windows Control Panel to see if the installer provide a
Modify/Change option there?

Clicking on the entry or right-clicking on the entry only provides Uninstall
as an option.

I DID find a tech note for Add On's for the Kindle Fire at the bottom of this
page...

http://docwiki.embarcadero.com/RADStudio/Berlin/en/Configuring_Your_System_to_Detect_Your_Android_Device

...but I'm leery of running the SDK Manager directly and updating the sort of
installed version 24.3.3 to 25.2.5 as I've read in several places that one should
not upgrade things like this unless done via Embarcadero tools/utilities though
it does appear that 24.3.3 would stay in place and 25.2.5 would get installed as
an additional SDK. hmmm...

drc :)

Markus Humm

Posts: 5,113
Registered: 11/9/03
Re: Android SDK in Target Platforms  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Feb 16, 2017 10:38 AM   in response to: Darrel Christen... in response to: Darrel Christen...
Am 16.02.2017 um 03:54 schrieb Darrel Christenson:


I DID find a tech note for Add On's for the Kindle Fire at the bottom of this
page...

http://docwiki.embarcadero.com/RADStudio/Berlin/en/Configuring_Your_System_to_Detect_Your_Android_Device

...but I'm leery of running the SDK Manager directly and updating the sort of
installed version 24.3.3 to 25.2.5 as I've read in several places that one should
not upgrade things like this unless done via Embarcadero tools/utilities though
it does appear that 24.3.3 would stay in place and 25.2.5 would get installed as
an additional SDK. hmmm...

Hello,

you should definitely try that one. It's mostly not as harmfull as
others describe it.

Greetings

Markus
Darrel Christen...

Posts: 25
Registered: 12/19/07
Re: Android SDK in Target Platforms  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Feb 16, 2017 10:49 AM   in response to: Markus Humm in response to: Markus Humm
you should definitely try that one. It's mostly not as harmfull as
others describe it.

Thanks to all that chimed in, I solved why Android isn't in Target Platforms and have
moved on to getting my Amazon Fire Kindle recognized and being able to run my
app on that device.

drc :)

Markus Humm

Posts: 5,113
Registered: 11/9/03
Re: Android SDK in Target Platforms  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Feb 17, 2017 8:03 AM   in response to: Darrel Christen... in response to: Darrel Christen...
Am 16.02.2017 um 19:49 schrieb Darrel Christenson:
you should definitely try that one. It's mostly not as harmfull as
others describe it.

Thanks to all that chimed in, I solved why Android isn't in Target Platforms and have
moved on to getting my Amazon Fire Kindle recognized and being able to run my
app on that device.

drc :)


How did you do?

Greetings

Markus
Darrel Christen...

Posts: 25
Registered: 12/19/07
Re: Android SDK in Target Platforms  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Feb 17, 2017 8:32 AM   in response to: Markus Humm in response to: Markus Humm
How did you do?

I found a tip online somwhere that suggested deleting the .dproj file and
then re-opening the .dpr file - when I did that I had more options under
Target Platforms and the right-click to add more was working as it
should.

As for using my Amazon Kindle to run the app on from the Delphi IDE,
that has taken several additional steps and as of this moment in time
when I'm writing this message it's still not working 100%

drc :)

Remy Lebeau (Te...


Posts: 9,447
Registered: 12/23/01
Re: Android SDK in Target Platforms  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Feb 17, 2017 4:58 PM   in response to: Darrel Christen... in response to: Darrel Christen...
Darrel wrote:

I found a tip online somwhere that suggested deleting the .dproj file
and then re-opening the .dpr file - when I did that I had more options
under Target Platforms and the right-click to add more was working as
it should.

In that case, the relevant platform entries were likely missing, or already
present but disabled, in your original dproj file, so the Project Manager
didn't think there were any new platforms available to add to the project.

--
Remy Lebeau (TeamB)
Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02