Which version of InterBase IBToGo are you using on your development machine? XE7 or 2017?
How did you register your IBLite and IBToGo Test Deployment S/N? Did you use the instructions for IBLite license registration documented at [url=http://docwiki.embarcadero.com/RADStudio/Tokyo/en/IBLite_and_IBToGo_Test_Deployment_Licensing]docwiki.embarcadero.com/.../IBLite_and_IBToGo_Test_Deployment_Licensing Make sure you are using a XE7 license S/N if using IBToGo XE7 s/w. This license file will allow you to install on all platforms where IBToGo can run without limits on deployment.
Once you downloaded the license file from registering above, have you been able to deploy the application to a PAServer on some Windows machine? This will validate that the license file and packing are all good. Then, it is a matter of validating the files packaged and deployed to Android.
Which version of Android are you deploying to? Which device? I am assuming only 32-bit.
hi again, it's really weird. i must post this again, because my earlier post was deleted during the big page update of embarcardero... but well, i've spent so many hours now getting android debugging to work (manually, delphi didn't do well with this) and trying to get interbase to go to work. these are only another few minutes.
after i fought through the installation process of delphi 10.2 tokyo, i recognized there is no IB ToGo on my system.
i tried to install it manually.
i don't know where we found the download of togo, atm i can't find it anywhere. it was another fight to find the download. (and no, i did not want to test the 2017 server edition, which the embarcardero-website offers you all the time).
of course i had to do it all manually again... first of all i had to set the IBREDISTDIR system variable manually.then copy the files manually.
now i am at a point where all files should be in the right place. i chose the right checkboxesin the deployment options (well, of course i tried ToGo only, Lite only, ToGo and Lite both activated). but everytime i try to run a project on my android, it says, interbase is not licensed.
btw. i also tried to reinstall iB ToGo with the GetIt Packet Manager from inside delphi. this simply can't find the download. that's funny, it has the same problem as so many humans...
sorry for my anger.
a little update:
after millions of tries we managed to get IBLite to work on Windows 7 now...
with the deployment to an android phone it still says "interbase is not licensed". We searched for the log file on a rooted android phone and found something weird. with every connection try it gets two new entries:
localhost (Server) [datetimestring]
NO DATABASE NAME
Product is not registered. Please register and restart
Registration file error: use Registration code 5555034
first of all, thank you for answering. it's greatly appreciated.
our IBToGo license came with Delphi 10.2.1 Tokyo Enterprise, it's called "Interbase 2017 ToGo Test Deployment" in our registration information email.
for registration we followed exactly the steps from that wiki-page. i'm pretty sure we use a 2017-license and also 2017-files.
i don't have a pa-server installes at the moment. on my windows 7 machine i have ib 2017 developer and ib togo 2017 installed. it works fine on windows. I made a small app where you can switch between IB 2017 and IBToGo. Both connections work fine and by watching the connections to the database via the 2017-version i could validate that the app is really using IBToGo. (no connection to database with 2017 but still the app shows data => it's using IBToGo)
the android phone we are using is a rooted LG L90 D405n with Android 4.4.2 (Android API 19).
I searched for the files on the phone. all files are placed correctly. we compared it to this table:
however, the .slip-file mentioned there is not part of the deployment if you let delphi manage the files (deployment -> add IbToGo) there is no slip-file included in the deployment. so we simply added the file manually. unfortunately this had no effect either.
i hope i gave sufficient answers to all qquestions. please let me know, if not!
thank you once more!
Just so you know, RAD Studio 10.2 Tokyo does not install IBToGo 2017 version automatically. The IBToGo version installed is XE7 version. If you want to use IBToGo 2017, I assume you have been informed (community.embarcadero.com/.../interbase-2017-update-1-and-delphi) about how to GetIt from the repository.
If you have done the above, the IBToGo 2017 ToGo Test Deployment license should be registered following instructions at [url=http://docwiki.embarcadero.com/RADStudio/Berlin/en/IBLite_and_IBToGo_Test_Deployment_Licensing#IBToGo_Test_Deployment_Trial_License]docwiki.embarcadero.com/.../IBLite_and_IBToGo_Test_Deployment_Licensing
You *must* deliver the newly downloaded license file from above, so your Project Deployment file list includes this in the packaging for all platforms; in your case, Windows and Android. Once you do this, the IBToGo 2017 library you use will be able to utilize the license file properly. I wonder if your application is currently bundling (erroneously) IBToGo XE7 files with a IBToGo 2017 license file.
Currently, it works on your Windows development machine because RAD Studio 10.2 on the development box comes packaged with both IBToGo XE7 and IBToGo 2017 license bundled. When you run your application (in this faulty bundling) on a Android device, the license mismatch causes the behavior, I think.
ok, i think it's not impossible that we mixed up some files during our tries to get IBToGo to work, so i deleted all files and extracted the IBToGo2017-zipfile for a new clean installation. i cleaned up the android-project, too, and placed the new files in there.
unfortunately there is only one small change. still i get the "interbase is not licensed" error message. and in the log file it still logs the same two errors for every connection attempt. but the number it suggests for registration changed :S before the log said:
Registration file error: use Registration Code: 5555034
now it says:
Registration file error: use Registration Code: 1415655
I have two or three questions, that hopefully can lighten up something:
Do i have to deploy that slip-file to my app-installation? at the moment i deploy it to ./assets/internal/interbase/license/ibbbtogo.slip
This file came with the IBToGo2017-zipfile-download.
If i need to deploy this file:
- is this the right one or do i have to create my own?
- is this the correct filename: ibbbtogo.slip
just forget these questions, if i don't need that file. :)
How can I differ or switch between usage of IBLite or usage of IBToGo? I have regfiles for both. The Drivername in the FireDAC-Component is "IBLite" and there is no IBToGo available. Could this be a source for my problem?
Thanks for your help!
Thanks for working on cleaning up your installation and giving it another try. We will get to the bottom of this. :-)
ibbbtogo.slip is not required to be packaged with your application. This is just a template license file that we ship with the product. You can safely remove this from your Project Deployment list.
To switch between IBLite and IBToGo, the FireDAC driver ID setting seems to be just "IBLite" as per [url=http://docwiki.embarcadero.com/RADStudio/Tokyo/en/Connect_to_InterBase_(FireDAC)]docwiki.embarcadero.com/.../url]. The actual switch happens based on the license file you deploy with the application (as per your Project Deployment setting).
Say, you have 2 license files that you have registered and downloaded; reg_ibtogo.txt and reg_iblite.txt. Please make sure these files are delivered to C:\Users\Public\Documents\Embarcadero\InterBase\redist\InterBase2017 before you build/package your application in RAD Studio.[size= 12.16px] Mention both of these in the Project Deployment list, [/size][size= 12.16px]but[/size][size= 12.16px] enable/select only the one (IBToGo or IBLite) license that you want included in your application. If you include both, then InterBase will pick and use IBToGo license over IBLite.[/size]
I think the problem could possibly be related to the license file itself that you have. You may want to connect with Embarcadero Support and have them validate the license file you have. If you don't get a response within a day or 2, please have them send the license file to me and I can escalate it for validation.
where or how can i contact the support? i can't find a link...
i only found this
and i can't post any problems there
I understand you got some help from our Support engineer to resolve this issue. Here are some comments for others who may have a similar issue working with IBToGo 2017 on Mobile (iOS/Android) from RAD Tokyo.
If you are a customer downloading InterBase 2017 IBToGo kit from GetIt repository for RAD Studio, you will need to execute a couple of manual steps to make IBToGo 2017 work for Mobile platform deployment. Since IBToGo 2017 is not automatically installed by RAD Tokyo (yet), these steps are necessary to be done manually.
In the downloaded image for IBToGo 2017 zip file...
Updated notes: 19-Jan-2018:
We have updated the GetIt repository based InterBase 2017 ToGo, such that when you "Install" it from within the RAD IDE, it will copy the iOS and Android libibtogo.a static libraries to the $(BDS)\lib folder automatically. For this, you will need to run the RAD IDE as Administrator and then Install the InterBase 2017 ToGo kit; without which the "copy" commands above will show as running successfully in the install dialog, but will not copy due to write permission issues. So, in summary, execute RAD IDE as "Run as Administrator" and then install InterBase 2017 ToGo from GetIt.