Delphi FMX.InAppPurchase - 当设备上没有谷歌帐户时崩溃应用程序

时间:2017-03-10 19:58:52

标签: android delphi crash

当我将FMX.InAppPurchase添加到使用部分时,当设备上没有Google帐户时,应用会在启动时崩溃。所以当有人安装我的应用程序而且设备上没有谷歌帐户时,我的应用程序会在评论开始时立即崩溃:"应用程序已停止"

 unit Unit1;

    interface

   uses
     FMX.InAppPurchase, System.SysUtils, System.Types, System.UITypes, 
     System.Classes,      
     System.Variants,FMX.Types, FMX.Controls, FMX.Forms, FMX.Graphics,  
     FMX.Dialogs, FMX.StdCtrls,FMX.Colors, Math, FMX.Objects, FMX.Effects,  
     FMX.Layouts, GameAudioManager, FMX.Media, System.IOUtils,  
     system.SyncObjs,   
     FMX.Memo, System.dateutils, System.Diagnostics, FMX.Edit,  
     FMX.Filter.Effects, FMX.VirtualKeyboard, FMX.Platform, FMX.Ani,
     FMX.WebBrowser, FMX.Controls.Presentation, IdBaseComponent, 
     IdComponent,
     IdTCPConnection, IdTCPClient, IdHttp, System.Actions, FMX.ActnList,
     FMX.StdActns, FMX.MediaLibrary.Actions,    
     FMX.ListView.Types, FMX.ListView.Appearances,  
     FMX.ListView.Adapters.Base,  
     FMX.ListView, System.StrUtils,FMX.ScrollBox;

{$IFDEF ANDROID}
  ,Androidapi.JNI.Os,
  Androidapi.JNI.GraphicsContentViewText,
  Androidapi.Helpers,
  Androidapi.JNIBridge
{$ENDIF};

0 个答案:

没有答案
相关问题