Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Easy Mobile - Many-in-one package for mobile games

Discussion in 'Assets and Asset Store' started by pt5011, Jan 28, 2017.

  1. cyangamer

    cyangamer

    Joined:
    Feb 17, 2010
    Posts:
    234
    After switching my scripting backend to IL2CPP, I'm also seeing this. I'll dig into it and see if I can provide more info.

    EDIT: This was caused by updated app signing keys which were not reflected in the Play store, so unrelated. However, it might help to check for that if anyone runs into an issue like that.
     
    Last edited: Mar 20, 2021
  2. Imillionaire

    Imillionaire

    Joined:
    Dec 14, 2012
    Posts:
    60
    Is this asset still supported?
     
  3. phraxjams

    phraxjams

    Joined:
    Apr 19, 2017
    Posts:
    13
    Hi,

    Can we have Admob ad id's dynamically (via script)?
    I tried putting ids via script, it works fine on editor but GoogleAds sdk not allowing android build

    Any help?
     
  4. BenWoodford

    BenWoodford

    Joined:
    Sep 29, 2013
    Posts:
    116
    Did you ever find a workaround for this? I've seen mixed reports on WhatsApp regarding even native code for sharing
     
  5. Spikebor

    Spikebor

    Joined:
    May 30, 2019
    Posts:
    280
    Hello, new user here. Is the plugin have the write to disk function ? ( for local save file as example, or user preferences )
    I'm trying to save load local file but it does not work on iOS build ( work great in unity ) using system.IO, File.WriteAllBytes and Application.PersistenceDataPath to save.
     
  6. daniekk

    daniekk

    Joined:
    May 15, 2019
    Posts:
    4
    Hello I am having trouble using Easy mobile with Vungle unity plugin. Without easy mobile, everything works fine. But if I import Easy mobile, every time I try to build, I get the following errors:

    FAILURE: Build failed with an exception.

    * What went wrong:
    Execution failed for task ':launcher:checkReleaseDuplicateClasses'.
    > 1 exception was raised by workers:
    java.lang.RuntimeException: java.lang.RuntimeException: Duplicate class android.support.v4.app.INotificationSideChannel found in modules classes.jar :)androidx.core.core-1.0.0:) and core-1.1.0.jar (core-1.1.0.jar)
    Duplicate class android.support.v4.app.INotificationSideChannel$Stub found in modules classes.jar :)androidx.core.core-1.0.0:) and core-1.1.0.jar (core-1.1.0.jar)
    Duplicate class android.support.v4.app.INotificationSideChannel$Stub$Proxy found in modules classes.jar :)androidx.core.core-1.0.0:) and core-1.1.0.jar (core-1.1.0.jar)
    Duplicate class android.support.v4.graphics.drawable.IconCompatParcelizer found in modules classes.jar :)androidx.core.core-1.0.0:) and core-1.1.0.jar (core-1.1.0.jar)
    Duplicate class android.support.v4.os.IResultReceiver found in modules classes.jar :)androidx.core.core-1.0.0:) and core-1.1.0.jar (core-1.1.0.jar)
    Duplicate class android.support.v4.os.IResultReceiver$Stub found in modules classes.jar :)androidx.core.core-1.0.0:) and core-1.1.0.jar (core-1.1.0.jar)
    Duplicate class android.support.v4.os.IResultReceiver$Stub$Proxy found in modules classes.jar :)androidx.core.core-1.0.0:) and core-1.1.0.jar (core-1.1.0.jar)
    Duplicate class android.support.v4.os.ResultReceiver found in modules classes.jar :)androidx.core.core-1.0.0:) and core-1.1.0.jar (core-1.1.0.jar)
    Duplicate class android.support.v4.os.ResultReceiver$1 found in modules classes.jar :)androidx.core.core-1.0.0:) and core-1.1.0.jar (core-1.1.0.jar)
    Duplicate class android.support.v4.os.ResultReceiver$MyResultReceiver found in modules classes.jar :)androidx.core.core-1.0.0:) and core-1.1.0.jar (core-1.1.0.jar)
    Duplicate class android.support.v4.os.ResultReceiver$MyRunnable found in modules classes.jar :)androidx.core.core-1.0.0:) and core-1.1.0.jar (core-1.1.0.jar)
    Duplicate class androidx.core.accessibilityservice.AccessibilityServiceInfoCompat found in modules classes.jar :)androidx.core.core-1.0.0:) and core-1.1.0.jar (core-1.1.0.jar)
    Duplicate class androidx.core.app.ActivityCompat found in modules classes.jar :)androidx.core.core-1.0.0:) and core-1.1.0.jar (core-1.1.0.jar)
    Duplicate class androidx.core.app.ActivityCompat$1 found in modules classes.jar :)androidx.core.core-1.0.0:) and core-1.1.0.jar (core-1.1.0.jar)
    Duplicate class androidx.core.app.ActivityCompat$OnRequestPermissionsResultCallback found in modules classes.jar :)androidx.core.core-1.0.0:) and core-1.1.0.jar (core-1.1.0.jar)
    Duplicate class androidx.core.app.ActivityCompat$PermissionCompatDelegate found in modules classes.jar :)androidx.core.core-1.0.0:) and core-1.1.0.jar (core-1.1.0.jar)
    Duplicate class androidx.core.app.ActivityCompat$RequestPermissionsRequestCodeValidator found in modules classes.jar :)androidx.core.core-1.0.0:) and core-1.1.0.jar (core-1.1.0.jar)
    Duplicate class androidx.core.app.ActivityCompat$SharedElementCallback21Impl found in modules classes.jar :)androidx.core.core-1.0.0:) and core-1.1.0.jar (core-1.1.0.jar)
    Duplicate class androidx.core.app.ActivityCompat$SharedElementCallback21Impl$1 found in modules classes.jar :)androidx.core.core-1.0.0:) and core-1.1.0.jar (core-1.1.0.jar)
    Duplicate class androidx.core.app.ActivityManagerCompat found in modules classes.jar :)androidx.core.core-1.0.0:) and core-1.1.0.jar (core-1.1.0.jar)
    Duplicate class androidx.core.app.ActivityOptionsCompat found in modules classes.jar :)androidx.core.core-1.0.0:) and core-1.1.0.jar (core-1.1.0.jar)
    Duplicate class androidx.core.app.ActivityOptionsCompat$ActivityOptionsCompatImpl found in modules classes.jar :)androidx.core.core-1.0.0:) and core-1.1.0.jar (core-1.1.0.jar)
    Duplicate class androidx.core.app.AlarmManagerCompat found in modules classes.jar :)androidx.core.core-1.0.0:) and core-1.1.0.jar (core-1.1.0.jar)
    Duplicate class androidx.core.app.AppComponentFactory found in modules classes.jar :)androidx.core.core-1.0.0:) and core-1.1.0.jar (core-1.1.0.jar)
    Duplicate class androidx.core.app.AppLaunchChecker found in modules classes.jar :)androidx.core.core-1.0.0:) and core-1.1.0.jar (core-1.1.0.jar)
    Duplicate class androidx.core.app.AppOpsManagerCompat found in modules classes.jar :)androidx.core.core-1.0.0:) and core-1.1.0.jar (core-1.1.0.jar)
    Duplicate class androidx.core.app.BundleCompat found in modules classes.jar :)androidx.core.core-1.0.0:) and core-1.1.0.jar (core-1.1.0.jar)
    Duplicate class androidx.core.app.BundleCompat$BundleCompatBaseImpl found in modules classes.jar :)androidx.core.core-1.0.0:) and core-1.1.0.jar (core-1.1.0.jar)
    Duplicate class androidx.core.app.ComponentActivity found in modules classes.jar :)androidx.core.core-1.0.0:) and core-1.1.0.jar (core-1.1.0.jar)
    Duplicate class androidx.core.app.ComponentActivity$ExtraData found in modules classes.jar :)androidx.core.core-1.0.0:) and core-1.1.0.jar (core-1.1.0.jar)
    Duplicate class androidx.core.app.CoreComponentFactory found in modules classes.jar :)androidx.core.core-1.0.0:) and core-1.1.0.jar (core-1.1.0.jar)
    Duplicate class androidx.core.app.CoreComponentFactory$CompatWrapped found in modules classes.jar :)androidx.core.core-1.0.0:) and core-1.1.0.jar (core-1.1.0.jar)
    Duplicate class androidx.core.app.FrameMetricsAggregator found in modules classes.jar :)androidx.core.core-1.0.0:) and core-1.1.0.jar (core-1.1.0.jar)
    Duplicate class androidx.core.app.FrameMetricsAggregator$FrameMetricsApi24Impl found in modules classes.jar :)androidx.core.core-1.0.0:) and core-1.1.0.jar (core-1.1.0.jar)
    Duplicate class androidx.core.app.FrameMetricsAggregator$FrameMetricsApi24Impl$1 found in modules classes.jar :)androidx.core.core-1.0.0:) and core-1.1.0.jar (core-1.1.0.jar)
    Duplicate class androidx.core.app.FrameMetricsAggregator$FrameMetricsBaseImpl found in modules classes.jar :)androidx.core.core-1.0.0:) and core-1.1.0.jar (core-1.1.0.jar)
    Duplicate class androidx.core.app.FrameMetricsAggregator$MetricType found in modules classes.jar :)androidx.core.core-1.0.0:) and core-1.1.0.jar (core-1.1.0.jar)
    Duplicate class androidx.core.app.JobIntentService found in modules classes.jar :)androidx.core.core-1.0.0:) and core-1.1.0.jar (core-1.1.0.jar)
    Duplicate class androidx.core.app.JobIntentService$CommandProcessor found in modules classes.jar :)androidx.core.core-1.0.0:) and core-1.1.0.jar (core-1.1.0.jar)
    Duplicate class androidx.core.app.JobIntentService$CompatJobEngine found in modules classes.jar :)androidx.core.core-1.0.0:) and core-1.1.0.jar (core-1.1.0.jar)
    Duplicate class androidx.core.app.JobIntentService$CompatWorkEnqueuer found in modules classes.jar :)androidx.core.core-1.0.0:) and core-1.1.0.jar (core-1.1.0.jar)
    Duplicate class androidx.core.app.JobIntentService$CompatWorkItem found in modules classes.jar :)androidx.core.core-1.0.0:) and core-1.1.0.jar (core-1.1.0.jar)
    Duplicate class androidx.core.app.JobIntentService$GenericWorkItem found in modules classes.jar :)androidx.core.core-1.0.0:) and core-1.1.0.jar (core-1.1.0.jar)
    Duplicate class androidx.core.app.JobIntentService$JobServiceEngineImpl found in modules classes.jar :)androidx.core.core-1.0.0:) and core-1.1.0.jar (core-1.1.0.jar)
    Duplicate class androidx.core.app.JobIntentService$JobServiceEngineImpl$WrapperWorkItem found in modules classes.jar :)androidx.core.core-1.0.0:) and core-1.1.0.jar (core-1.1.0.jar)
    Duplicate class androidx.core.app.JobIntentService$JobWorkEnqueuer found in modules classes.jar :)androidx.core.core-1.0.0:) and core-1.1.0.jar (core-1.1.0.jar)
    Duplicate class androidx.core.app.JobIntentService$WorkEnqueuer found in modules classes.jar :)androidx.core.core-1.0.0:) and core-1.1.0.jar (core-1.1.0.jar)
    Duplicate class androidx.core.app.NavUtils found in modules classes.jar :)androidx.core.core-1.0.0:) and core-1.1.0.jar (core-1.1.0.jar)
    Duplicate class androidx.core.app.NotificationBuilderWithBuilderAccessor found in modules classes.jar :)androidx.core.core-1.0.0:) and core-1.1.0.jar (core-1.1.0.jar)
    Duplicate class androidx.core.app.NotificationCompat found in modules classes.jar :)androidx.core.core-1.0.0:) and core-1.1.0.jar (core-1.1.0.jar)
    Duplicate class androidx.core.app.NotificationCompat$Action found in modules classes.jar :)androidx.core.core-1.0.0:) and core-1.1.0.jar (core-1.1.0.jar)
    Duplicate class androidx.core.app.NotificationCompat$Action$Builder found in modules classes.jar :)androidx.core.core-1.0.0:) and core-1.1.0.jar (core-1.1.0.jar)
    Duplicate class androidx.core.app.NotificationCompat$Action$Extender found in modules classes.jar :)androidx.core.core-1.0.0:) and core-1.1.0.jar (core-1.1.0.jar)
    Duplicate class androidx.core.app.NotificationCompat$Action$SemanticAction found in modules classes.jar :)androidx.core.core-1.0.0:) and core-1.1.0.jar (core-1.1.0.jar)
    Duplicate class androidx.core.app.NotificationCompat$Action$WearableExtender found in modules classes.jar :)androidx.core.core-1.0.0:) and core-1.1.0.jar (core-1.1.0.jar)
    Duplicate class androidx.core.app.NotificationCompat$BadgeIconType found in modules classes.jar :)androidx.core.core-1.0.0:) and core-1.1.0.jar (core-1.1.0.jar)
    Duplicate class androidx.core.app.NotificationCompat$BigPictureStyle found in modules classes.jar :)androidx.core.core-1.0.0:) and core-1.1.0.jar (core-1.1.0.jar)
    Duplicate class androidx.core.app.NotificationCompat$BigTextStyle found in modules classes.jar :)androidx.core.core-1.0.0:) and core-1.1.0.jar (core-1.1.0.jar)
    Duplicate class androidx.core.app.NotificationCompat$Builder found in modules classes.jar :)androidx.core.core-1.0.0:) and core-1.1.0.jar (core-1.1.0.jar)
    Duplicate class androidx.core.app.NotificationCompat$CarExtender found in modules classes.jar :)androidx.core.core-1.0.0:) and core-1.1.0.jar (core-1.1.0.jar)
    Duplicate class androidx.core.app.NotificationCompat$CarExtender$UnreadConversation found in modules classes.jar :)androidx.core.core-1.0.0:) and core-1.1.0.jar (core-1.1.0.jar)
    Duplicate class androidx.core.app.NotificationCompat$CarExtender$UnreadConversation$Builder found in modules classes.jar :)androidx.core.core-1.0.0:) and core-1.1.0.jar (core-1.1.0.jar)
    Duplicate class androidx.core.app.NotificationCompat$DecoratedCustomViewStyle found in modules classes.jar :)androidx.core.core-1.0.0:) and core-1.1.0.jar (core-1.1.0.jar)
    Duplicate class androidx.core.app.NotificationCompat$Extender found in modules classes.jar :)androidx.core.core-1.0.0:) and core-1.1.0.jar (core-1.1.0.jar)
    Duplicate class androidx.core.app.NotificationCompat$GroupAlertBehavior found in modules classes.jar :)androidx.core.core-1.0.0:) and core-1.1.0.jar (core-1.1.0.jar)
    Duplicate class androidx.core.app.NotificationCompat$InboxStyle found in modules classes.jar :)androidx.core.core-1.0.0:) and core-1.1.0.jar (core-1.1.0.jar)
    Duplicate class androidx.core.app.NotificationCompat$MessagingStyle found in modules classes.jar :)androidx.core.core-1.0.0:) and core-1.1.0.jar (core-1.1.0.jar)
    Duplicate class androidx.core.app.NotificationCompat$MessagingStyle$Message found in modules classes.jar :)androidx.core.core-1.0.0:) and core-1.1.0.jar (core-1.1.0.jar)
    Duplicate class androidx.core.app.NotificationCompat$NotificationVisibility found in modules classes.jar :)androidx.core.core-1.0.0:) and core-1.1.0.jar (core-1.1.0.jar)
    Duplicate class androidx.core.app.NotificationCompat$StreamType found in modules classes.jar :)androidx.core.core-1.0.0:) and core-1.1.0.jar (core-1.1.0.jar)
    Duplicate class androidx.core.app.NotificationCompat$Style found in modules classes.jar :)androidx.core.core-1.0.0:) and core-1.1.0.jar (core-1.1.0.jar)
    Duplicate class androidx.core.app.NotificationCompat$WearableExtender found in modules classes.jar :)androidx.core.core-1.0.0:) and core-1.1.0.jar (core-1.1.0.jar)
    Duplicate class androidx.core.app.NotificationCompatBuilder found in modules classes.jar :)androidx.core.core-1.0.0:) and core-1.1.0.jar (core-1.1.0.jar)
    Duplicate class androidx.core.app.NotificationCompatExtras found in modules classes.jar :)androidx.core.core-1.0.0:) and core-1.1.0.jar (core-1.1.0.jar)
    Duplicate class androidx.core.app.NotificationCompatJellybean found in modules classes.jar :)androidx.core.core-1.0.0:) and core-1.1.0.jar (core-1.1.0.jar)
    Duplicate class androidx.core.app.NotificationCompatSideChannelService found in modules classes.jar :)androidx.core.core-1.0.0:) and core-1.1.0.jar (core-1.1.0.jar)
    Duplicate class androidx.core.app.NotificationCompatSideChannelService$NotificationSideChannelStub found in modules classes.jar :)androidx.core.core-1.0.0:) and core-1.1.0.jar (core-1.1.0.jar)
    Duplicate class androidx.core.app.NotificationManagerCompat found in modules classes.jar :)androidx.core.core-1.0.0:) and core-1.1.0.jar (core-1.1.0.jar)
    Duplicate class androidx.core.app.NotificationManagerCompat$CancelTask found in modules classes.jar :)androidx.core.core-1.0.0:) and core-1.1.0.jar (core-1.1.0.jar)
    Duplicate class androidx.core.app.NotificationManagerCompat$NotifyTask found in modules classes.jar :)androidx.core.core-1.0.0:) and core-1.1.0.jar (core-1.1.0.jar)
    Duplicate class androidx.core.app.NotificationManagerCompat$ServiceConnectedEvent found in modules classes.jar :)androidx.core.core-1.0.0:) and core-1.1.0.jar (core-1.1.0.jar)
    Duplicate class androidx.core.app.NotificationManagerCompat$SideChannelManager found in modules classes.jar :)androidx.core.core-1.0.0:) and core-1.1.0.jar (core-1.1.0.jar)
    Duplicate class androidx.core.app.NotificationManagerCompat$SideChannelManager$ListenerRecord found in modules classes.jar :)androidx.core.core-1.0.0:) and core-1.1.0.jar (core-1.1.0.jar)
    Duplicate class androidx.core.app.NotificationManagerCompat$Task found in modules classes.jar :)androidx.core.core-1.0.0:) and core-1.1.0.jar (core-1.1.0.jar)
    Duplicate class androidx.core.app.Person found in modules classes.jar :)androidx.core.core-1.0.0:) and core-1.1.0.jar (core-1.1.0.jar)
    Duplicate class androidx.core.app.Person$Builder found in modules classes.jar :)androidx.core.core-1.0.0:) and core-1.1.0.jar (core-1.1.0.jar)
    Duplicate class androidx.core.app.RemoteInput found in modules classes.jar :)androidx.core.core-1.0.0:) and core-1.1.0.jar (core-1.1.0.jar)
    Duplicate class androidx.core.app.RemoteInput$Builder found in modules classes.jar :)androidx.core.core-1.0.0:) and core-1.1.0.jar (core-1.1.0.jar)
    Duplicate class androidx.core.app.ServiceCompat found in modules classes.jar :)androidx.core.core-1.0.0:) and core-1.1.0.jar (core-1.1.0.jar)
    Duplicate class androidx.core.app.ServiceCompat$StopForegroundFlags found in modules classes.jar :)androidx.core.core-1.0.0:) and core-1.1.0.jar (core-1.1.0.jar)
    Duplicate class androidx.core.app.ShareCompat found in modules classes.jar :)androidx.core.core-1.0.0:) and core-1.1.0.jar (core-1.1.0.jar)
    Duplicate class androidx.core.app.ShareCompat$IntentBuilder found in modules classes.jar :)androidx.core.core-1.0.0:) and core-1.1.0.jar (core-1.1.0.jar)
    Duplicate class androidx.core.app.ShareCompat$IntentReader found in modules classes.jar :)androidx.core.core-1.0.0:) and core-1.1.0.jar (core-1.1.0.jar)
    Duplicate class androidx.core.app.SharedElementCallback found in modules classes.jar :)androidx.core.core-1.0.0:) and core-1.1.0.jar (core-1.1.0.jar)
    Duplicate class androidx.core.app.SharedElementCallback$OnSharedElementsReadyListener found in modules classes.jar :)androidx.core.core-1.0.0:) and core-1.1.0.jar (core-1.1.0.jar)
    Duplicate class androidx.core.app.TaskStackBuilder found in modules classes.jar :)androidx.core.core-1.0.0:) and core-1.1.0.jar (core-1.1.0.jar)
    Duplicate class androidx.core.app.TaskStackBuilder$SupportParentable found in modules classes.jar :)androidx.core.core-1.0.0:) and core-1.1.0.jar (core-1.1.0.jar)
    Duplicate class androidx.core.content.ContentResolverCompat found in modules classes.jar :)androidx.core.core-1.0.0:) and core-1.1.0.j<message truncated>
     
  7. PrisedRabbit

    PrisedRabbit

    Joined:
    Aug 14, 2012
    Posts:
    62
    Hi, it looks like EasyMobile Contacts API doesn't friendly with Cyrillic letters:

    2021-03-26 23:16:32.415519+0400 ***[5001:2902990] -[CNAPITriageSession ewLabelParameters]: unrecognized selector sent to instance 0x2831c8780

    2021-03-26 23:16:32.448447+0400 ***[5001:2902990] [xpc.exceptions] <NSXPCConnection: 0x281a9d900> connection to service on pid 2706 named com.apple.contactsd: Exception caught during invocation of reply block to message 'encodedContactsAndCursorForFetchRequest:withReply:'.
     
  8. Starbox

    Starbox

    Joined:
    Sep 17, 2014
    Posts:
    456
    So, since EMP relies on Unity IAP although it provides its own interface, any update to Unity's IAP API would have consequences on EMP.
    Here's the current situation.
    Unity 2019.4 LTS, Unity IAP 3.0.1, EMP 2.13.0.
    This error related to Facebook appears in the log:

    I'm about to move to 2.15 but I see in the importer, after checking the changes that are going to be made in my Assets hierarchy, no swap of any script file (the two arrows that loop) is scheduled.
    I'm just posting this for informative purposes anyway.
    The very small update didn't change anything. I closed the Editor right after it so Unity can recompile stuff and crap.
    The Facebook error is still there.

    This is a CRITICAL ERROR that won't go away. In the meantime, I put these two lines in comments since I don't rely on Facebook. Please take a look into this though, it's serious.

    Code (CSharp):
    1.   switch (store)
    2.             {
    3.                 case IAPStore.GooglePlay:
    4.                     return GooglePlay.Name;
    5.                 case IAPStore.AmazonAppStore:
    6.                     return AmazonApps.Name;
    7.                 case IAPStore.SamsungApps:
    8.                     return SamsungApps.Name;
    9.                 case IAPStore.MacAppStore:
    10.                     return MacAppStore.Name;
    11.                 case IAPStore.AppleAppStore:
    12.                     return AppleAppStore.Name;
    13.                 case IAPStore.WinRT:
    14.                     return WindowsStore.Name;
    15.                 /*case IAPStore.FacebookStore:
    16.                     return FacebookStore.Name;*/
    17.                 default:
    18.                     return string.Empty;
    19.             }
     
  9. pradf4i

    pradf4i

    Joined:
    Nov 7, 2017
    Posts:
    39
    Anyone using the gif decoder ? Is it more performant than using .mp4?
     
  10. phraxjams

    phraxjams

    Joined:
    Apr 19, 2017
    Posts:
    13
    The asset support is clearly dead
    We purchased the plugin but the support never replies
    NEVER!!!
     
  11. Jasinka

    Jasinka

    Joined:
    Oct 18, 2016
    Posts:
    50
    Hello,

    Maybe you know where can be problem.

    I wanna send local push notification. From onesingal website to my phone is working. On bluestack is working local notification. On android 10 not working... If i am missing smth?

    Thanks....
     
  12. pixelminer

    pixelminer

    Joined:
    Jul 24, 2011
    Posts:
    26
    I'm transitioning to Unity IAP 3.0.2 and experiencing the same issue. Looks like Unity IAP is dropping Facebook store support. Since this is an easy fix it'll hopefully get added soon. In the mean time I'm commenting out the lines as shown and it seems to be working fine for now.
     
  13. Woltus

    Woltus

    Joined:
    Dec 16, 2016
    Posts:
    7
    Hello,

    I have an issue with Easy Mobile Pro. I enabled only In-App Purchasing module.

    After building and installing my app on Android I get this error several times.

    I tried to use Assets > External Dependency Manager > Android Resolver > Force Resolve, but it didn't help.

    Do You have any suggestions on how to solve this?

    Code (CSharp):
    1. 04-12 17:08:51.878  6981  7164 E Unity   : AndroidJavaException: java.lang.ClassNotFoundException: com.sglib.easymobile.androidnative.AppUtil
    2. 04-12 17:08:51.878  6981  7164 E Unity   : java.lang.ClassNotFoundException: com.sglib.easymobile.androidnative.AppUtil
    3. 04-12 17:08:51.878  6981  7164 E Unity   :      at java.lang.Class.classForName(Native Method)
    4. 04-12 17:08:51.878  6981  7164 E Unity   :      at java.lang.Class.forName(Class.java:453)
    5. 04-12 17:08:51.878  6981  7164 E Unity   :      at com.unity3d.player.UnityPlayer.nativeRender(Native Method)
    6. 04-12 17:08:51.878  6981  7164 E Unity   :      at com.unity3d.player.UnityPlayer.access$300(Unknown Source:0)
    7. 04-12 17:08:51.878  6981  7164 E Unity   :      at com.unity3d.player.UnityPlayer$e$1.handleMessage(Unknown Source:95)
    8. 04-12 17:08:51.878  6981  7164 E Unity   :      at android.os.Handler.dispatchMessage(Handler.java:102)
    9. 04-12 17:08:51.878  6981  7164 E Unity   :      at android.os.Looper.loop(Looper.java:214)
    10. 04-12 17:08:51.878  6981  7164 E Unity   :      at com.unity3d.player.UnityPlayer$e.run(Unknown Source:20)
    11. 04-12 17:08:51.878  6981  7164 E Unity   : Caused by: java.lang.ClassNotFoundException: Didn't find class "com.sglib.easymobile.androidnative.AppUtil" on path: DexPathList[[zip file "/system/framework/org.apache.http.legacy.boot.jar", zip file "/data/app/com.car.mechanic-hrdGdeulqIvY53ZXqrn3LA==/base.apk"],nativeLibraryDirectories=[/data/app/com.car.mechanic-hrdGdeulqIvY53ZXqrn3LA==/lib/arm64, /data/app/com.car.mechanic-hrdGdeulqIvY53
     
  14. Starbox

    Starbox

    Joined:
    Sep 17, 2014
    Posts:
    456
    You might be in a world of hurt as it relates to Gradle, it can be very complicated sometimes.
    Force resolve should in theory solve this but admirably fails in so many different ways.
    I remember I had to deal with conflicts involving the External Dependency Manager at some point. Sometimes, a simple lack of space can be identified as a Gradle issue that gets cryptically obfuscated by the console into a long series of errors which tell you nothing you need to know.
    So... have fun with search engine +

     
  15. Lucasito

    Lucasito

    Joined:
    Mar 22, 2013
    Posts:
    80
    Hi!
    I install package, cast
    Code (CSharp):
    1. StoreReview.RequestRating();
    but no see window on android. Unity 2019.4.19f1
    Log on devices:
    04-13 19:55:49.721  1848  1919 I PlayCore: UID: [10340]  PID: [1848] ReviewService : requestInAppReview (bla-bla-bla)
    04-13 19:55:49.722 1848 2314 I PlayCore: UID: [10340] PID: [1848] ReviewService : Initiate binding to the service.
    04-13 19:55:49.738 1848 1848 I PlayCore: UID: [10340] PID: [1848] ReviewService : ServiceConnectionImpl.onServiceConnected(ComponentInfo{com.android.vending/com.google.android.finsky.inappreviewservice.InAppReviewService})
    04-13 19:55:49.739 1848 2314 I PlayCore: UID: [10340] PID: [1848] ReviewService : linkToDeath
    04-13 19:55:49.779 1848 1875 I PlayCore: UID: [10340] PID: [1848] OnRequestInstallCallback : onGetLaunchReviewFlowInfo
    04-13 19:55:49.779 1848 2314 I PlayCore: UID: [10340] PID: [1848] ReviewService : Unbind from service.
    04-13 19:55:49.785 1794 5208 I ActivityTaskManager: START u0 {cmp=bla-bla-blao/com.google.android.play.core.common.PlayCoreDialogWrapperActivity (has extras)} from uid 10340
     
  16. Lucasito

    Lucasito

    Joined:
    Mar 22, 2013
    Posts:
    80
    I tested on 2 device. Not worked.
     
  17. Starbox

    Starbox

    Joined:
    Sep 17, 2014
    Posts:
    456
    Did you try on Android? To use Google's services, you need to comply to their production pipeline and put dev builds online that they'll validate before you can do tests from the validated version you'll download from their servers.
     
  18. Lucasito

    Lucasito

    Joined:
    Mar 22, 2013
    Posts:
    80
    Need publish app? Alpha or Beta version?
     
  19. Starbox

    Starbox

    Joined:
    Sep 17, 2014
    Posts:
    456
    Their interface is scary perhaps since it's not intuitive as to what really happens, nothing beats an empirical experience with the Google Play Console (I really think it's S*** for beginners) but if your app is 99% complete and you're just integrating some services, you can go beta already I think.
    They'll tell you to publish, which is a stupid choice of words since you're not really publishing out in the open for the whole world to grab your app: you will see that afterward they give you a link to some kind of secret version of your app's page from where you can download the app. You might want to add testers too, create at least a testing group.
    You will also have to go to the API console I'm afraid, because you'll encounter the usual A0auth issue, which means you need a key for this which you'll use in the Google Play Console to set up your app's services. I admit, it's really complicated.
    Also, do NOT use temporary development keystore key/alias for your upload. Simply create a new one inside Unity (Player Settings) as if you were in release mode in your development process. Also, if you let Google manage your app's key, then the one you use in Unity will be considered an upload key by Google, not the final/publishing one that Google will manage and create for you.
     
  20. Lucasito

    Lucasito

    Joined:
    Mar 22, 2013
    Posts:
    80
    Thank you for such a detailed answer!
     
  21. glucosetong

    glucosetong

    Joined:
    Aug 10, 2017
    Posts:
    17
    Hi, I get this error and i have no idea. Im targeting android.

    Code (CSharp):
    1. TypeLoadException: Could not resolve type with token 01000040 (from typeref, class/assembly Google.Dialog, Google.VersionHandlerImpl, Version=1.2.0.0, Culture=neutral, PublicKeyToken=null)
    2. Rethrow as TypeInitializationException: The type initializer for 'Google.IOSResolver' threw an exception.
    3. System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at <eae584ce26bc40229c1b1aa476bfa589>:0)
    4. Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation.
    5. System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at <eae584ce26bc40229c1b1aa476bfa589>:0)
    6. System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) (at <eae584ce26bc40229c1b1aa476bfa589>:0)
    7. UnityEditor.AssetPostprocessingInternal.InvokeMethod (System.Reflection.MethodInfo method, System.Object[] args) (at <0c3742f371b24679bcaa6fcc508d0cca>:0)
    8. UnityEditor.AssetPostprocessingInternal.PostprocessAllAssets (System.String[] importedAssets, System.String[] addedAssets, System.String[] deletedAssets, System.String[] movedAssets, System.String[] movedFromPathAssets) (at <0c3742f371b24679bcaa6fcc508d0cca>:0)
    9. UnityEditor.AssetDatabase:ImportAsset(String, ImportAssetOptions)
    10. EasyMobile.Editor.EM_AndroidLibBuilder:DoBuildAndroidLibFromFolder(Object) (at Assets/EasyMobile/Editor/EM_AndroidLibBuilder.cs:146)
    11. EasyMobile.Editor.EM_AndroidLibBuilder:BuildAndroidLibFromFolder(String, AndroidLibConfig, Action`1, Action`1, Action, Action`1) (at Assets/EasyMobile/Editor/EM_AndroidLibBuilder.cs:68)
    12. EasyMobile.Editor.EM_AndroidManifestBuilder:GenerateManifest(String, Boolean, Boolean) (at Assets/EasyMobile/Editor/EM_AndroidManifestBuilder.cs:121)
    13. EasyMobile.Editor.EM_BuildProcessorUtil:PreBuildProcessing(BuildTarget, String) (at Assets/EasyMobile/Editor/EM_BuildManager.cs:98)
    14. EasyMobile.Editor.EM_PreBuildProcessor:OnPreprocessBuild(BuildReport) (at Assets/EasyMobile/Editor/EM_BuildManager.cs:24)
    15. UnityEditor.BuildPlayerWindow:BuildPlayerAndRun()
     
  22. el_Guero

    el_Guero

    Joined:
    Sep 15, 2017
    Posts:
    185
    Updating from Unity 2019.4.21 to 2019.4.24 gives me an Easy Mobile Pro error:

    Code (CSharp):
    1. Assets/EasyMobile/Scripts/Modules/InAppPurchasing/InAppPurchasing.cs(1174,28): error CS0103: The name 'FacebookStore' does not exist in the current context
    How can I solve it?

    I already tried to delete Script and Editor folder. Didn't help.
     
  23. madawe

    madawe

    Joined:
    Sep 13, 2015
    Posts:
    7
    Make sure that the Scripting Define Symbols for in Player -> Other Settings includes the one that FacebookStore code is in - probably EM_UIAP

    It have noticed it getting deleted for some reason lately
     
    el_Guero likes this.
  24. el_Guero

    el_Guero

    Joined:
    Sep 15, 2017
    Posts:
    185
    I restored to my old version since I couldn't resolve it and just checked, but I don't have anything in their at all, not fb related nor easy mobile related. And in this version everything is working... that is weird.

    Edit: Actually there are EM_UIAP and other Easy Mobile Pro entries. I will try to update again and double check this.
     
    Last edited: Apr 20, 2021
  25. el_Guero

    el_Guero

    Joined:
    Sep 15, 2017
    Posts:
    185
    So I updated again and EM_UIAP is still in there. So that's not the issue. Must be something else.
     
  26. el_Guero

    el_Guero

    Joined:
    Sep 15, 2017
    Posts:
    185
    And for Playmaker there seems varios actions have deprecated code:

    Screen Shot 2021-04-21 at 16.41.56.png

    Please fix. Thanks
     
  27. OmarVector

    OmarVector

    Joined:
    Apr 18, 2018
    Posts:
    130
    Any possibility for sharing image with URl Text?
     
  28. Marnelle

    Marnelle

    Joined:
    Apr 14, 2015
    Posts:
    17
  29. EmeralLotus

    EmeralLotus

    Joined:
    Aug 10, 2012
    Posts:
    1,459
    Hi SgLib,

    I am using your really cool asset in a project and recently tried to send an email with the sharing functionality. I am pre populating the email subject field but the doesn't seem to take the subject. Do you know what might be the problem.. Also is there a callback that can be used after launching the email sharing.

    Using 2020.1.9f

    This free asset seems to work perfectly for this task.
    https://assetstore.unity.com/packages/tools/integration/native-share-for-android-ios-112731

    Cheers,
     
    Last edited: Apr 26, 2021
  30. imjusthere

    imjusthere

    Joined:
    Oct 12, 2012
    Posts:
    72
    Does anyone know if the rating features works? I'm calling it right (
    StoreReview.RequestRating()) but it doesn't do anything even when published to the Google Play store. The user guide included with the package shows a bunch of settings that are no longer available under utilities. When I go to utilities it doesn't even show you can turn anything on.
     
  31. el_Guero

    el_Guero

    Joined:
    Sep 15, 2017
    Posts:
    185
  32. subaktiapps

    subaktiapps

    Joined:
    Feb 8, 2016
    Posts:
    31
    is it possible for me to use 2 mediation at once like: admob mediation and applovin max mediation ..?
     
  33. clueduppstephen

    clueduppstephen

    Joined:
    Aug 6, 2019
    Posts:
    12
    Hello Guero, we too are having issues with the native review functionality, since updating to 2.13.0 the review UI doesn't seem to appear any more on either iOS or Android. Did you get it working on Android, and what version of EMP are you on?

    Further research today showed us that iOS has an internal quota of 3 invocations of the review UI per 365 days, and Android is not as clear but at least one per month. It may not be showing due to these quotas that are out of developer control.
     
    Last edited: May 11, 2021
  34. el_Guero

    el_Guero

    Joined:
    Sep 15, 2017
    Posts:
    185
    I can confirm, it's not working on Android either on my side, BUT I guess Android OS version needs to be running Android 5.0 (API level 21). Nonetheless, my phone is at higher OS version yet still not showing.

    On iOS it's definitely working on my side.
     
  35. subaktiapps

    subaktiapps

    Joined:
    Feb 8, 2016
    Posts:
    31
    ADMOB MEDIATION Cannot Build
    Mediation Ads : Facebook Audience Netwok + UnityAds

    this Error
    Code (CSharp):
    1. [:com.facebook.android.audience-network-sdk-6.4.0:] C:\Users\Azka\.gradle\caches\transforms-2\files-2.1\7a0600cd60d356919437d08ad3f9eb45\AndroidManifest.xml:5:5-51 Error:
    2.     Missing 'package' key attribute on element package at [:com.facebook.android.audience-network-sdk-6.4.0:] AndroidManifest.xml:5:5-51
    3. [:com.facebook.android.audience-network-sdk-6.4.0:] C:\Users\Azka\.gradle\caches\transforms-2\files-2.1\7a0600cd60d356919437d08ad3f9eb45\AndroidManifest.xml Error:
    4.     Validation failed, exiting
    5.  
    6. FAILURE: Build failed with an exception.
    7.  
    8. * What went wrong:
    9. Execution failed for task ':launcher:processReleaseManifest'.
    10. > Manifest merger failed with multiple errors, see logs
    11.  
    12. * Try:
    13. Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
    14.  
    15. * Get more help at https://help.gradle.org
    16.  
    17. BUILD FAILED in 1s
    18. Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8
    19.  
    20. UnityEngine.GUIUtility:ProcessEvent (int,intptr)
    and this

    Code (CSharp):
    1. CommandInvokationFailure: Gradle build failed.
    2. C:/Program Files/Unity/Hub/Editor/2019.4.26f1/Editor/Data/PlaybackEngines/AndroidPlayer\OpenJDK\bin\java.exe -classpath "C:\Program Files\Unity\Hub\Editor\2019.4.26f1\Editor\Data\PlaybackEngines\AndroidPlayer\Tools\gradle\lib\gradle-launcher-5.1.1.jar" org.gradle.launcher.GradleMain "-Dorg.gradle.jvmargs=-Xmx4096m" "bundleRelease"
    3.  
    4. stderr[
    5. [:com.facebook.android.audience-network-sdk-6.4.0:] C:\Users\Azka\.gradle\caches\transforms-2\files-2.1\7a0600cd60d356919437d08ad3f9eb45\AndroidManifest.xml:5:5-51 Error:
    6.     Missing 'package' key attribute on element package at [:com.facebook.android.audience-network-sdk-6.4.0:] AndroidManifest.xml:5:5-51
    7. [:com.facebook.android.audience-network-sdk-6.4.0:] C:\Users\Azka\.gradle\caches\transforms-2\files-2.1\7a0600cd60d356919437d08ad3f9eb45\AndroidManifest.xml Error:
    8.     Validation failed, exiting
    9.  
    10. FAILURE: Build failed with an exception.
    11.  
    12. * What went wrong:
    13. Execution failed for task ':launcher:processReleaseManifest'.
    14. > Manifest merger failed with multiple errors, see logs
    15.  
    16. * Try:
    17. Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
    18.  
    19. * Get more help at https://help.gradle.org
    20.  
    21. BUILD FAILED in 1s
    22. Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8
    23. ]
    24. stdout[
    25.  
    26. > Configure project :launcher
    27. WARNING: The option setting 'android.bundle.enableUncompressedNativeLibs=false' is experimental and unsupported.
    28. The current default is 'true'.
    29.  
    30. Exception while marshalling C:\Program Files\Unity\Hub\Editor\2019.4.26f1\Editor\Data\PlaybackEngines\AndroidPlayer\SDK\build-tools\28.0.3\package.xml. Probably the SDK is read-only
    31. Exception while marshalling C:\Program Files\Unity\Hub\Editor\2019.4.26f1\Editor\Data\PlaybackEngines\AndroidPlayer\SDK\platform-tools\package.xml. Probably the SDK is read-only
    32. Exception while marshalling C:\Program Files\Unity\Hub\Editor\2019.4.26f1\Editor\Data\PlaybackEngines\AndroidPlayer\SDK\platforms\android-29\package.xml. Probably the SDK is read-only
    33. Exception while marshalling C:\Program Files\Unity\Hub\Editor\2019.4.26f1\Editor\Data\PlaybackEngines\AndroidPlayer\SDK\tools\package.xml. Probably the SDK is read-only
    34.  
    35. > Configure project :unityLibrary
    36. WARNING: The option setting 'android.bundle.enableUncompressedNativeLibs=false' is experimental and unsupported.
    37. The current default is 'true'.
    38.  
    39.  
    40. > Configure project :unityLibrary:EasyMobile.androidlib
    41. WARNING: The option setting 'android.bundle.enableUncompressedNativeLibs=false' is experimental and unsupported.
    42. The current default is 'true'.
    43.  
    44.  
    45. > Configure project :unityLibrary:GoogleMobileAdsPlugin.androidlib
    46. WARNING: The option setting 'android.bundle.enableUncompressedNativeLibs=false' is experimental and unsupported.
    47. The current default is 'true'.
    48.  
    49.  
    50. > Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:preBuild UP-TO-DATE
    51. > Task :launcher:preBuild UP-TO-DATE
    52. > Task :unityLibrary:EasyMobile.androidlib:preBuild UP-TO-DATE
    53. > Task :unityLibrary:preBuild UP-TO-DATE
    54. > Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:preReleaseBuild UP-TO-DATE
    55. > Task :unityLibrary:preReleaseBuild UP-TO-DATE
    56. > Task :unityLibrary:EasyMobile.androidlib:preReleaseBuild UP-TO-DATE
    57. > Task :launcher:prepareLintJar UP-TO-DATE
    58. > Task :unityLibrary:checkReleaseManifest UP-TO-DATE
    59. > Task :unityLibrary:EasyMobile.androidlib:checkReleaseManifest
    60. > Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:checkReleaseManifest
    61. > Task :unityLibrary:processReleaseManifest
    62. > Task :unityLibrary:packageReleaseRenderscript NO-SOURCE
    63. > Task :unityLibrary:generateReleaseResValues UP-TO-DATE
    64. > Task :unityLibrary:mergeReleaseShaders UP-TO-DATE
    65. > Task :unityLibrary:compileReleaseShaders UP-TO-DATE
    66. > Task :unityLibrary:generateReleaseAssets UP-TO-DATE
    67. > Task :unityLibrary:EasyMobile.androidlib:processReleaseManifest
    68. > Task :unityLibrary:EasyMobile.androidlib:packageReleaseRenderscript NO-SOURCE
    69. > Task :unityLibrary:EasyMobile.androidlib:compileReleaseRenderscript NO-SOURCE
    70. > Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:processReleaseManifest
    71. > Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:packageReleaseRenderscript NO-SOURCE
    72. > Task :unityLibrary:EasyMobile.androidlib:generateReleaseResValues
    73. > Task :unityLibrary:EasyMobile.androidlib:generateReleaseResources
    74. > Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:compileReleaseRenderscript NO-SOURCE
    75. > Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:generateReleaseResValues
    76. > Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:generateReleaseResources
    77. > Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:packageReleaseResources
    78. > Task :unityLibrary:EasyMobile.androidlib:packageReleaseResources
    79. > Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:mergeReleaseShaders
    80. > Task :unityLibrary:EasyMobile.androidlib:mergeReleaseShaders
    81. > Task :unityLibrary:EasyMobile.androidlib:compileReleaseShaders
    82. > Task :unityLibrary:EasyMobile.androidlib:generateReleaseAssets
    83. > Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:compileReleaseShaders
    84. > Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:generateReleaseAssets
    85. > Task :unityLibrary:EasyMobile.androidlib:packageReleaseAssets
    86. > Task :unityLibrary:EasyMobile.androidlib:compileReleaseAidl NO-SOURCE
    87. > Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:packageReleaseAssets
    88. > Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:compileReleaseAidl NO-SOURCE
    89. > Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:generateReleaseRFile
    90. > Task :unityLibrary:EasyMobile.androidlib:generateReleaseRFile
    91. > Task :unityLibrary:EasyMobile.androidlib:generateReleaseBuildConfig
    92. > Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:generateReleaseBuildConfig
    93. > Task :unityLibrary:EasyMobile.androidlib:prepareLintJar UP-TO-DATE
    94. > Task :unityLibrary:EasyMobile.androidlib:generateReleaseSources
    95. > Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:prepareLintJar UP-TO-DATE
    96. > Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:generateReleaseSources
    97. > Task :unityLibrary:EasyMobile.androidlib:javaPreCompileRelease
    98. > Task :unityLibrary:packageReleaseAssets
    99. > Task :unityLibrary:compileReleaseRenderscript NO-SOURCE
    100. > Task :unityLibrary:generateReleaseResources UP-TO-DATE
    101. > Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:javaPreCompileRelease
    102. > Task :unityLibrary:packageReleaseResources UP-TO-DATE
    103. > Task :unityLibrary:compileReleaseAidl NO-SOURCE
    104. > Task :unityLibrary:generateReleaseBuildConfig UP-TO-DATE
    105. > Task :unityLibrary:EasyMobile.androidlib:compileReleaseJavaWithJavac
    106. > Task :unityLibrary:generateReleaseRFile UP-TO-DATE
    107. > Task :unityLibrary:prepareLintJar UP-TO-DATE
    108. > Task :unityLibrary:generateReleaseSources UP-TO-DATE
    109. > Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:compileReleaseJavaWithJavac
    110. > Task :unityLibrary:processReleaseJavaRes NO-SOURCE
    111. > Task :unityLibrary:EasyMobile.androidlib:bundleLibCompileRelease
    112. > Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:bundleLibCompileRelease
    113. > Task :unityLibrary:EasyMobile.androidlib:bundleLibRuntimeRelease
    114. > Task :unityLibrary:EasyMobile.androidlib:processReleaseJavaRes NO-SOURCE
    115. > Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:bundleLibRuntimeRelease
    116. > Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:processReleaseJavaRes NO-SOURCE
    117. > Task :unityLibrary:EasyMobile.androidlib:bundleLibResRelease
    118. > Task :unityLibrary:EasyMobile.androidlib:mergeReleaseJniLibFolders
    119. > Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:bundleLibResRelease
    120. > Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:mergeReleaseJniLibFolders
    121. > Task :unityLibrary:EasyMobile.androidlib:transformNativeLibsWithMergeJniLibsForRelease
    122. > Task :unityLibrary:EasyMobile.androidlib:transformNativeLibsWithStripDebugSymbolForRelease
    123. > Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:transformNativeLibsWithMergeJniLibsForRelease
    124. > Task :unityLibrary:EasyMobile.androidlib:transformNativeLibsWithIntermediateJniLibsForRelease
    125. > Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:transformNativeLibsWithStripDebugSymbolForRelease
    126. > Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:transformNativeLibsWithIntermediateJniLibsForRelease
    127. > Task :unityLibrary:mergeReleaseJniLibFolders UP-TO-DATE
    128. > Task :launcher:preReleaseBuild
    129. > Task :launcher:compileReleaseRenderscript NO-SOURCE
    130. > Task :launcher:generateReleaseResValues UP-TO-DATE
    131. > Task :launcher:generateReleaseResources UP-TO-DATE
    132. > Task :unityLibrary:javaPreCompileRelease UP-TO-DATE
    133. > Task :unityLibrary:compileReleaseJavaWithJavac UP-TO-DATE
    134. > Task :unityLibrary:bundleLibCompileRelease UP-TO-DATE
    135. > Task :unityLibrary:bundleLibRuntimeRelease UP-TO-DATE
    136. > Task :unityLibrary:bundleLibResRelease UP-TO-DATE
    137. > Task :unityLibrary:transformNativeLibsWithMergeJniLibsForRelease UP-TO-DATE
    138. > Task :unityLibrary:transformNativeLibsWithStripDebugSymbolForRelease
    139. > Task :launcher:mergeReleaseResources UP-TO-DATE
    140. > Task :launcher:checkReleaseManifest UP-TO-DATE
    141. > Task :launcher:createReleaseCompatibleScreenManifests UP-TO-DATE
    142. > Task :launcher:mainApkListPersistenceRelease UP-TO-DATE
    143.  
    144. > Task :launcher:processReleaseManifest FAILED
    145.  
    146. See http://g.co/androidstudio/manifest-merger for more information about the manifest merger.
    147.  
    148.  
    149. > Task :unityLibrary:transformNativeLibsWithIntermediateJniLibsForRelease
    150.  
    151. Deprecated Gradle features were used in this build, making it incompatible with Gradle 6.0.
    152. Use '--warning-mode all' to show the individual deprecation warnings.
    153. See https://docs.gradle.org/5.1.1/userguide/command_line_interface.html#sec:command_line_warnings
    154. 65 actionable tasks: 42 executed, 23 up-to-date
    155. ]
    156. exit code: 1
    157. UnityEditor.Android.Command.WaitForProgramToRun (UnityEditor.Utils.Program p, UnityEditor.Android.Command+WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) (at <d76da2c9a45b4b02b93f56ae560b1d44>:0)
    158. UnityEditor.Android.Command.Run (System.Diagnostics.ProcessStartInfo psi, UnityEditor.Android.Command+WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) (at <d76da2c9a45b4b02b93f56ae560b1d44>:0)
    159. UnityEditor.Android.Command.Run (System.String command, System.String args, System.String workingdir, UnityEditor.Android.Command+WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) (at <d76da2c9a45b4b02b93f56ae560b1d44>:0)
    160. UnityEditor.Android.AndroidJavaTools.RunJava (System.String args, System.String workingdir, System.Action`1[T] progress, System.String error) (at <d76da2c9a45b4b02b93f56ae560b1d44>:0)
    161. UnityEditor.Android.GradleWrapper.Run (UnityEditor.Android.AndroidJavaTools javaTools, System.String workingdir, System.String task, System.Action`1[T] progress) (at <d76da2c9a45b4b02b93f56ae560b1d44>:0)
    162. Rethrow as GradleInvokationException: Gradle build failed
    163. UnityEditor.Android.GradleWrapper.Run (UnityEditor.Android.AndroidJavaTools javaTools, System.String workingdir, System.String task, System.Action`1[T] progress) (at <d76da2c9a45b4b02b93f56ae560b1d44>:0)
    164. UnityEditor.Android.PostProcessor.Tasks.BuildGradleProject.Execute (UnityEditor.Android.PostProcessor.PostProcessorContext context) (at <d76da2c9a45b4b02b93f56ae560b1d44>:0)
    165. UnityEditor.Android.PostProcessor.PostProcessRunner.RunAllTasks (UnityEditor.Android.PostProcessor.PostProcessorContext context) (at <d76da2c9a45b4b02b93f56ae560b1d44>:0)
    166. Rethrow as BuildFailedException: Exception of type 'UnityEditor.Build.BuildFailedException' was thrown.
    167. UnityEditor.Android.PostProcessor.CancelPostProcess.AbortBuild (System.String title, System.String message, System.Exception ex) (at <d76da2c9a45b4b02b93f56ae560b1d44>:0)
    168. UnityEditor.Android.PostProcessor.PostProcessRunner.RunAllTasks (UnityEditor.Android.PostProcessor.PostProcessorContext context) (at <d76da2c9a45b4b02b93f56ae560b1d44>:0)
    169. UnityEditor.Android.PostProcessAndroidPlayer.PostProcess (UnityEditor.BuildTarget target, System.String stagingAreaData, System.String stagingArea, System.String playerPackage, System.String installPath, System.String companyName, System.String productName, UnityEditor.BuildOptions options, UnityEditor.RuntimeClassRegistry usedClassRegistry, UnityEditor.Build.Reporting.BuildReport report) (at <d76da2c9a45b4b02b93f56ae560b1d44>:0)
    170. UnityEditor.Android.AndroidBuildPostprocessor.PostProcess (UnityEditor.Modules.BuildPostProcessArgs args, UnityEditor.BuildProperties& outProperties) (at <d76da2c9a45b4b02b93f56ae560b1d44>:0)
    171. UnityEditor.PostprocessBuildPlayer.Postprocess (UnityEditor.BuildTargetGroup targetGroup, UnityEditor.BuildTarget target, System.String installPath, System.String companyName, System.String productName, System.Int32 width, System.Int32 height, UnityEditor.BuildOptions options, UnityEditor.RuntimeClassRegistry usedClassRegistry, UnityEditor.Build.Reporting.BuildReport report) (at <e6522990dfdf40458abbd5eeeb595b91>:0)
    172. UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
     
  36. hexware

    hexware

    Joined:
    Aug 30, 2013
    Posts:
    7
    Hi Folks,
    I have Easy Mobile Pro license.
    We just noted we don't receive notifications after the device was restarted.
    I check AndroidManifest.xml and there is has "android.permission.RECEIVE_BOOT_COMPLETED"
    We were trying to use the Unity plugin "Mobile Notifications" and rewrite code, but the same problem. With other games everything is fine, I got notification after reboot. Does somebody have an idea of what it can be?
     
  37. XCO

    XCO

    Joined:
    Nov 17, 2012
    Posts:
    379
    Hello Easy Mobile :)

    I am on IOS and a MAC and Playmaker and I am just trying to take a simple screenshot. I am using the capture screenshot action, but nothing is working. And I have tried. variety of different things, I feel like this shouldn't be that hard ?

    Can you help me ?
     
  38. Starbox

    Starbox

    Joined:
    Sep 17, 2014
    Posts:
    456
    Last edited: May 19, 2021
  39. Starbox

    Starbox

    Joined:
    Sep 17, 2014
    Posts:
    456
    Look for Take Camera Screenshot if you only need a picture, not a GIF. Do tests on the varied destinations you can chose to send your screenshots to, MyPictures is a good one it's easy to find.
    Beware, some UI elements can get ignored despite being visible in the targeted camera (you might, for example, find issues with the UI Mask component).
     
    Last edited: May 19, 2021
  40. Cellfan

    Cellfan

    Joined:
    Jul 9, 2020
    Posts:
    5
    The new AdMob Version v6.0.0 is not yet supported.

    Easy Mobiel doesn't recognize the plugin and throws a bunch of errors. When can we expect support for the new version?

    All Errors (here are just two examples) are linked to this script:
    Assets\EasyMobile\Scripts\Modules\Advertising\NetworkClients\AdMobClientImpl.cs

    Code (CSharp):
    1. Assets\EasyMobile\Scripts\Modules\Advertising\NetworkClients\AdMobClientImpl.cs(638,27): error CS1061: 'AdRequest.Builder' does not contain a definition for 'TagForChildDirectedTreatment' and no accessible extension method 'TagForChildDirectedTreatment' accepting a first argument of type 'AdRequest.Builder' could be found (are you missing a using directive or an assembly reference?)
    Code (CSharp):
    1. Assets\EasyMobile\Scripts\Modules\Advertising\NetworkClients\AdMobClientImpl.cs(654,27): error CS1061: 'AdRequest.Builder' does not contain a definition for 'AddTestDevice' and no accessible extension method 'AddTestDevice' accepting a first argument of type 'AdRequest.Builder' could be found (are you missing a using directive or an assembly reference?)
     
    mGMM, livium and frothypants like this.
  41. gerudoking

    gerudoking

    Joined:
    Jan 25, 2013
    Posts:
    4
    Hey everyone,

    I'm facing an error related to AdMob here. The ads are working fine inside the Unity Editor, but when I build the game for internal testing in the Play Console the ads no longer work. Using logcat, I found the following error messages:


    Code (CSharp):
    1. Ad failed to load : 3
    2. AdMob interstitial ad failed to load. Error: No fill
    3.  
    4. Ad failed to load : 3
    5. AdMob rewarded video ad failed to load. Message: No fill
    More info:
    • I created my AdMob account some weeks ago, so I think it's not because it was recently created.
    • I filled the targeting settings the following way:
      https://imgur.com/gy17pUI
    • The test mode is enabled.
    • The game's in internal testing and not published yet on Play Store.
    Thanks in advance!
     
  42. Funtyx

    Funtyx

    Joined:
    May 3, 2017
    Posts:
    36
    After installing AdMob Version v6.0.0, a bunch of errors appear.
    When can we expect an update?

    Assets/EasyMobile/Scripts/Modules/Advertising/NetworkClients/AdMobClientImpl.cs(638,27): error CS1061: 'AdRequest.Builder' does not contain a definition for 'TagForChildDirectedTreatment' and no accessible extension method 'TagForChildDirectedTreatment' accepting a first argument of type 'AdRequest.Builder' could be found (are you missing a using directive or an assembly reference?)

    Assets/EasyMobile/Scripts/Modules/Advertising/NetworkClients/AdMobClientImpl.cs(654,27): error CS1061: 'AdRequest.Builder' does not contain a definition for 'AddTestDevice' and no accessible extension method 'AddTestDevice' accepting a first argument of type 'AdRequest.Builder' could be found (are you missing a using directive or an assembly reference?)

    Assets/EasyMobile/Scripts/Modules/Advertising/NetworkClients/AdMobClientImpl.cs(658,31): error CS1061: 'AdRequest.Builder' does not contain a definition for 'AddTestDevice' and no accessible extension method 'AddTestDevice' accepting a first argument of type 'AdRequest.Builder' could be found (are you missing a using directive or an assembly reference?)

    Assets/EasyMobile/Scripts/Modules/Advertising/NetworkClients/AdMobClientImpl.cs(690,23): error CS1061: 'BannerView' does not contain a definition for 'OnAdLeavingApplication' and no accessible extension method 'OnAdLeavingApplication' accepting a first argument of type 'BannerView' could be found (are you missing a using directive or an assembly reference?)

    Assets/EasyMobile/Scripts/Modules/Advertising/NetworkClients/AdMobClientImpl.cs(712,35): error CS1061: 'InterstitialAd' does not contain a definition for 'OnAdLeavingApplication' and no accessible extension method 'OnAdLeavingApplication' accepting a first argument of type 'InterstitialAd' could be found (are you missing a using directive or an assembly reference?)

    Assets/EasyMobile/Scripts/Modules/Advertising/NetworkClients/AdMobClientImpl.cs(726,13): error CS0123: No overload for 'HandleAdMobRewardBasedVideoFailedToLoad' matches delegate 'EventHandler<AdFailedToLoadEventArgs>'

    Assets/EasyMobile/Scripts/Modules/Advertising/NetworkClients/AdMobClientImpl.cs(838,72): error CS1061: 'AdFailedToLoadEventArgs' does not contain a definition for 'Message' and no accessible extension method 'Message' accepting a first argument of type 'AdFailedToLoadEventArgs' could be found (are you missing a using directive or an assembly reference?)

    Assets/EasyMobile/Scripts/Modules/Advertising/NetworkClients/AdMobClientImpl.cs(876,78): error CS1061: 'AdFailedToLoadEventArgs' does not contain a definition for 'Message' and no accessible extension method 'Message' accepting a first argument of type 'AdFailedToLoadEventArgs' could be found (are you missing a using directive or an assembly reference?)
     
  43. livium

    livium

    Joined:
    Aug 3, 2018
    Posts:
    27
    I receive an answer by email from the developer:

    "We’ve checked, the AdMob version 6.0.0 made quite a few changes that break backward compatibility, causing the errors. We are working on making EMP fully supports AdMob 6.0, hopefully an update will be available soon. In the mean time, please use version 5.4.0 instead."
     
  44. Funtyx

    Funtyx

    Joined:
    May 3, 2017
    Posts:
    36
    Please tell me if you plan to implement Appodeal?
     
  45. Cellfan

    Cellfan

    Joined:
    Jul 9, 2020
    Posts:
    5
    Don't worry, I had the same error.

    This means you have probably set it up correctly, but your product is not yet registered as an app in the play console (if using android). After you set up your app and deploy a build as an internal test, it should work :)
     
  46. Starbox

    Starbox

    Joined:
    Sep 17, 2014
    Posts:
    456
    I think the playmaker action that checks if the Game Services module is activated is not working properly on Android (might happen on iOS too).
    In my game project that module is on by default, it works fine in iOS but on Android I see a debug that tells me it's not on. It's possible it's returning a false negative.

    Also, the documentation is not clear enough about the difference between GS.Init and GS_managed.Init (not the real names but you get it).

    Another point. I cannot find any explanation about the "Request ServerAuthCode" authentication in your online guide, when and how to use it, and what do with scopes. I'm not directly concerned by this but this should not be absent from the documentation nevertheless.

    Finally, could we know if there's been a change in the development team that explains why sglib does not reply on the forum any longer? Thank you.
     
  47. SteveKouts

    SteveKouts

    Joined:
    Aug 23, 2012
    Posts:
    79
    Hi people can anyone assist me with this error Im getting a whole host of errors and I think im on the right track to solving them but Im stuck.
    Has anyone come across this error? If so where can I find where the minSDK is being defined.
    changing minSDK api in project settings doesnt fix it.

    this is the error:

    CommandInvokationFailure: Gradle build failed.
    C:/Program Files/Unity/Editor/Data/PlaybackEngines/AndroidPlayer/Tools\OpenJDK\Windows\bin\java.exe -classpath "C:\NVPACK\gradle-5.4.1\lib\gradle-launcher-5.4.1.jar" org.gradle.launcher.GradleMain "-Dorg.gradle.jvmargs=-Xmx4096m" "assembleRelease"

    stderr[
    D:\Paranormal Games\Sleepy Walker\Temp\gradleOut\src\main\AndroidManifest.xml Error:
    uses-sdk:minSdkVersion 16 cannot be different than version __AndroidManifest_MinSdkVersion__ declared in library [:EasyMobile] D:\Paranormal Games\Sleepy Walker\Temp\gradleOut\EasyMobile\build\intermediates\library_manifest\release\AndroidManifest.xml

    FAILURE: Build failed with an exception.

    * What went wrong:
    Execution failed for task ':processReleaseManifest'.
    > Manifest merger failed : uses-sdk:minSdkVersion 16 cannot be different than version __AndroidManifest_MinSdkVersion__ declared in library [:EasyMobile] D:\Paranormal Games\Sleepy Walker\Temp\gradleOut\EasyMobile\build\intermediates\library_manifest\release\AndroidManifest.xml

    * Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

    * Get more help at https://help.gradle.org

    BUILD FAILED in 20s
    ]
    stdout[
    > Task :preBuild UP-TO-DATE
    > Task :EasyMobile:preBuild UP-TO-DATE
    > Task :EasyMobile:preReleaseBuild UP-TO-DATE
    > Task :EasyMobile:checkReleaseManifest
    > Task :EasyMobile:processReleaseManifest
    > Task :GooglePlayGamesManifest.plugin:preBuild UP-TO-DATE
    > Task :GooglePlayGamesManifest.plugin:preReleaseBuild UP-TO-DATE
    > Task :GooglePlayGamesManifest.plugin:checkReleaseManifest
    > Task :GooglePlayGamesManifest.plugin:processReleaseManifest
    > Task :OneSignalConfig:preBuild UP-TO-DATE
    > Task :OneSignalConfig:preReleaseBuild UP-TO-DATE
    > Task :OneSignalConfig:checkReleaseManifest
    > Task :OneSignalConfig:processReleaseManifest
    > Task :preReleaseBuild
    > Task :EasyMobile:compileReleaseAidl NO-SOURCE
    > Task :GooglePlayGamesManifest.plugin:compileReleaseAidl NO-SOURCE
    > Task :OneSignalConfig:compileReleaseAidl NO-SOURCE
    > Task :compileReleaseAidl NO-SOURCE
    > Task :EasyMobile:packageReleaseRenderscript NO-SOURCE
    > Task :GooglePlayGamesManifest.plugin:packageReleaseRenderscript NO-SOURCE
    > Task :OneSignalConfig:packageReleaseRenderscript NO-SOURCE
    > Task :compileReleaseRenderscript NO-SOURCE
    > Task :checkReleaseManifest UP-TO-DATE
    > Task :generateReleaseBuildConfig UP-TO-DATE
    > Task :prepareLintJar UP-TO-DATE
    > Task :generateReleaseSources UP-TO-DATE
    > Task :EasyMobile:compileReleaseRenderscript NO-SOURCE
    > Task :EasyMobile:generateReleaseBuildConfig
    > Task :EasyMobile:generateReleaseResValues
    > Task :EasyMobile:generateReleaseResources
    > Task :EasyMobile:packageReleaseResources
    > Task :EasyMobile:generateReleaseRFile
    > Task :EasyMobile:prepareLintJar UP-TO-DATE
    > Task :EasyMobile:generateReleaseSources
    > Task :EasyMobile:javaPreCompileRelease
    > Task :EasyMobile:compileReleaseJavaWithJavac
    > Task :EasyMobile:bundleLibCompileRelease
    > Task :GooglePlayGamesManifest.plugin:compileReleaseRenderscript NO-SOURCE
    > Task :GooglePlayGamesManifest.plugin:generateReleaseBuildConfig
    > Task :GooglePlayGamesManifest.plugin:generateReleaseResValues
    > Task :GooglePlayGamesManifest.plugin:generateReleaseResources
    > Task :GooglePlayGamesManifest.plugin:packageReleaseResources
    > Task :GooglePlayGamesManifest.plugin:generateReleaseRFile
    > Task :GooglePlayGamesManifest.plugin:prepareLintJar UP-TO-DATE
    > Task :GooglePlayGamesManifest.plugin:generateReleaseSources
    > Task :GooglePlayGamesManifest.plugin:javaPreCompileRelease
    > Task :GooglePlayGamesManifest.plugin:compileReleaseJavaWithJavac
    > Task :GooglePlayGamesManifest.plugin:bundleLibCompileRelease
    > Task :OneSignalConfig:compileReleaseRenderscript NO-SOURCE
    > Task :OneSignalConfig:generateReleaseBuildConfig
    > Task :OneSignalConfig:generateReleaseResValues
    > Task :OneSignalConfig:generateReleaseResources
    > Task :OneSignalConfig:packageReleaseResources
    > Task :OneSignalConfig:generateReleaseRFile
    > Task :OneSignalConfig:prepareLintJar UP-TO-DATE
    > Task :OneSignalConfig:generateReleaseSources
    > Task :OneSignalConfig:javaPreCompileRelease
    > Task :OneSignalConfig:compileReleaseJavaWithJavac
    > Task :OneSignalConfig:bundleLibCompileRelease
    > Task :javaPreCompileRelease
    > Task :mainApkListPersistenceRelease UP-TO-DATE
    > Task :generateReleaseResValues UP-TO-DATE
    > Task :generateReleaseResources UP-TO-DATE
    > Task :mergeReleaseResources
    > Task :createReleaseCompatibleScreenManifests UP-TO-DATE

    > Task :processReleaseManifest FAILED

    See http://g.co/androidstudio/manifest-merger for more information about the manifest merger.


    Deprecated Gradle features were used in this build, making it incompatible with Gradle 6.0.
    Use '--warning-mode all' to show the individual deprecation warnings.
    See https://docs.gradle.org/5.4.1/userguide/command_line_interface.html#sec:command_line_warnings
    40 actionable tasks: 31 executed, 9 up-to-date
    ]
    exit code: 1
    UnityEditor.Android.Command.WaitForProgramToRun (UnityEditor.Utils.Program p, UnityEditor.Android.Command+WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) (at <502f1b7df2d7430696af84c6f02852ed>:0)
    UnityEditor.Android.Command.Run (System.Diagnostics.ProcessStartInfo psi, UnityEditor.Android.Command+WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) (at <502f1b7df2d7430696af84c6f02852ed>:0)
    UnityEditor.Android.Command.Run (System.String command, System.String args, System.String workingdir, UnityEditor.Android.Command+WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) (at <502f1b7df2d7430696af84c6f02852ed>:0)
    UnityEditor.Android.AndroidJavaTools.RunJava (System.String args, System.String workingdir, System.Action`1[T] progress, System.String error) (at <502f1b7df2d7430696af84c6f02852ed>:0)
    UnityEditor.Android.GradleWrapper.Run (UnityEditor.Android.AndroidJavaTools javaTools, System.String workingdir, System.String task, System.Action`1[T] progress) (at <502f1b7df2d7430696af84c6f02852ed>:0)
    Rethrow as GradleInvokationException: Gradle build failed
    UnityEditor.Android.GradleWrapper.Run (UnityEditor.Android.AndroidJavaTools javaTools, System.String workingdir, System.String task, System.Action`1[T] progress) (at <502f1b7df2d7430696af84c6f02852ed>:0)
    UnityEditor.Android.PostProcessor.Tasks.BuildGradleProject.Execute (UnityEditor.Android.PostProcessor.PostProcessorContext context) (at <502f1b7df2d7430696af84c6f02852ed>:0)
    UnityEditor.Android.PostProcessor.PostProcessRunner.RunAllTasks (UnityEditor.Android.PostProcessor.PostProcessorContext context) (at <502f1b7df2d7430696af84c6f02852ed>:0)
    Rethrow as BuildFailedException: Exception of type 'UnityEditor.Build.BuildFailedException' was thrown.
    UnityEditor.Android.PostProcessor.CancelPostProcess.AbortBuild (System.String title, System.String message, System.Exception ex) (at <502f1b7df2d7430696af84c6f02852ed>:0)
    UnityEditor.Android.PostProcessor.PostProcessRunner.RunAllTasks (UnityEditor.Android.PostProcessor.PostProcessorContext context) (at <502f1b7df2d7430696af84c6f02852ed>:0)
    UnityEditor.Android.PostProcessAndroidPlayer.PostProcess (UnityEditor.BuildTarget target, System.String stagingAreaData, System.String stagingArea, System.String playerPackage, System.String installPath, System.String companyName, System.String productName, UnityEditor.BuildOptions options, UnityEditor.RuntimeClassRegistry usedClassRegistry, UnityEditor.Build.Reporting.BuildReport report) (at <502f1b7df2d7430696af84c6f02852ed>:0)
    UnityEditor.Android.AndroidBuildPostprocessor.PostProcess (UnityEditor.Modules.BuildPostProcessArgs args, UnityEditor.BuildProperties& outProperties) (at <502f1b7df2d7430696af84c6f02852ed>:0)
    UnityEditor.PostprocessBuildPlayer.Postprocess (UnityEditor.BuildTargetGroup targetGroup, UnityEditor.BuildTarget target, System.String installPath, System.String companyName, System.String productName, System.Int32 width, System.Int32 height, UnityEditor.BuildOptions options, UnityEditor.RuntimeClassRegistry usedClassRegistry, UnityEditor.Build.Reporting.BuildReport report) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/PostprocessBuildPlayer.cs:281)
    UnityEngine.GUIUtility:processEvent(Int32, IntPtr) (at C:/buildslave/unity/build/Modules/IMGUI/GUIUtility.cs:179)
     
  48. SteveKouts

    SteveKouts

    Joined:
    Aug 23, 2012
    Posts:
    79
    Ok so after weeks of errors and messing around, i just successfully built. I just fixed this by downloading latest jdk and setting my environment variable path for jdk to the new one in programfiles/java.
     
  49. Starbox

    Starbox

    Joined:
    Sep 17, 2014
    Posts:
    456
    That and sometimes it's simply because you're lacking space on your hard drive, which would happen without Unity telling you that this was the real issue. JFYI, in case...
     
    SteveKouts likes this.
  50. Starbox

    Starbox

    Joined:
    Sep 17, 2014
    Posts:
    456
    I have been grinding my teeth for more than a week trying to understand why I couldn't get the Play Services and IAP to work with Android.
    It works perfectly with iOS. Since I'm on Playmaker, I had to set up my scripts so as to obtain a maximum of debug stuff normally sent to the console but which I intercept inside the app.
    My Play Store page is set up perfectly, all credentials are given, I've already uploaded builds in internal and alpha (closed), testers are added everywhere it's possible (general internal testers; license testers; internal/alpha track> release> testers; API OAuth testers; etc.).
    I also test the app with a testing account that is different from the dev account. Google testers have also taken screenshots showing they couldn't buy anything, I have the same warning in my app when I also try to buy some IAP content.

    Here are some pinpointed issues that irk me.

    First of all, the action Get Product Data does not provide any value for the strings "price string" and "description".
    In the module these parts are indicated as optional but I believe EMP should provide the data nevertheless if the fields are anything but blank.

    Secondly, for some reason, when doing Get Localized Data, the name of my game keeps being added between () after the title of each IAP item.
    So for example I see:
    • Gold coins (name of my game)
    • Super power (name of my game)
    Today, I've tweaked the items' respective descriptions on the Play Store with markers in the text field that help me confirm the data comes from the store (marker = rubbish added to the description that screams "that stuff is from the play store OK??"). I validated the changes and made a quick Android build pushed to the phone but the modified descriptions were not downloaded (accessed?) despite internet being ON and despite the IAP system being initialized (that's EMP's claim, I don't check with Unity IAP directly, maybe I should?), etc.
    Perhaps it means it takes some time for Google to validate the changes brought to IAP items on the store, even if officially they say it's OK the moment you press "saves changes" and you get the green checkmark.
    All items are ready to use and active btw and have been been for more than a week.

    Maybe that little discordance between what I changed in the store description and what gets displayed in my app, with the data seemingly not being picked yet from the store to be displayed in the app's shop page, relates to the mysterious issue as to why I cannot buy any item.

    Now, without bothering with Playmaker, I loaded the normal EMP Demo and all its scenes, made a build with all of this and ran it on the Android phone. Once again, IAP purchases were initialized but no IAP product could be bought.
    Being lucky in my distress, this time I also got the warning telling me that "the purchase of product [product name] has failed with reason: Uknown".
    Unknown. Great.

    Getting the leaderboards to show up from Play Services is equally failing although I can connect to the server.
    Going with a manual initialization, I press the Init button in the demo's Play Services menu and so the screen get mildly dark as the account is getting connected. That little animated popup appears at the top of the screen, displaying the round icon, etc.
    Yet, User Logged In still returns FALSE. Duh.
    When going to the Google API Console, the client thingy dedicated to Play Services is in Test mode but why would it fail in Test mode anyway? I haven't "published" it yet and would have no reason to do so until the game is ready to go.
    In the Play Console, the services are published (active) and everything seems properly set up, the proper OAuth to select is selected in the Play Console page dedicated to the services. Clients have been actualized too. Client ID, print and package name are equally correct.
    In the EMP module, the XML resources blurb to copy/paste to the game ID is in the EMP module. The only thing I don't get is if I should OAuth scopes details or not. I think not but again a lack of documentation on this is not helpful.
    I also created and recreated the obfuscated Tangle files too.
    I'm fed up. :)

    Again, the plugin works flawlessly on iOS.

    Edit: The app is now downloading the latest changes I did on Play Store's IAP items. It apparently took some time for the real data to be updated and go a round or two through Google's servers before becoming reachable. Unfortunately that's the only good news thus far.
    Also, some really odd thing, I noticed that in Leaderboards, the ID for iOS was blank yet I never had any issue to display Game Center's Leaderboard UI. Way too weird to be acceptable.
     
    Last edited: Jun 8, 2021
    el_Guero likes this.