问题标签 [playscape]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
1 回答
121 浏览

android - 使用 Playscape SDK for Unity,我可以检查 Adcolony 广告的可用性吗?

我正在为 Android 1.13 实现 Playscape 的 SDK,在开发过程中,我们遇到了一个问题,如果用户观看了太多广告,Adcolony 将不再提供广告,在 logcat 调试输出中提供此消息:“广告尚未准备好要播放,因为 Adcolony 目前在区域 [区域 id] 中没有可播放的视频。” 广告无法播放的另一种情况与达到广告的“每日上限”有关,根据 Adcolony 网站,这似乎与 SDK 中的设置有关。

如果没有更多可用的 AdColony 广告,我们能否以某种方式查询 SDK 以在事件发生之前了解?

最好的问候雅各布

0 投票
0 回答
284 浏览

android - Unity Playscape SDK,安卓设备黑屏,几秒后崩溃

使用最新的 Playscape SKD 版本(来自 7.23.2015 的统一包),我们设法制作了 android apk 文件。

所有后处理脚本都可以正常运行。但是当 Android 应用程序启动时,只会出现黑屏,并且没有达到 Unity 标记的场景初始化日志。Android 系统会在几秒钟后关闭应用程序。android 监视器出现了一些错误:http: //pastebin.com/7xspS2ea Unity 版本 4.6.7f1

有谁知道我们应该朝哪个方向研究这个问题?

此外,我们已经使用此配置http://pastebin.com/pNC0i2fS剥离了 google play 服务库以适应 65k 方法限制,这可能是相关的。

0 投票
0 回答
86 浏览

ios - iOS Xcode 链接器错误的 Playscape Unity PublishingKit 演示

我在尝试为 iOS 构建 PlaskapePublishingKit 1.6 和演示时遇到了一些麻烦。

起初我试图在一个实际的 Unity 游戏项目中构建 Publishing SDK 1.6。最后我得到了一些 Xcode 链接器错误。它说

我有很多这样的错误。在 Unity 构建期间唯一出错的是一些关于 FacebookSDK 的警告:

(那个 /Users/beannt/Documents/ 部分看起来很可疑,它来自 sample_config.projmods)

所以我尝试并隔离了项目和官方 PublishingKit-Demo。在生成 Xcode 项目并构建它之后,添加所有这些框架:

我仍然收到一堆与

我怎样才能解决这个问题?

0 投票
1 回答
97 浏览

unity3d - Playscape SDK 1.6 和 Unity 4.5.5 在构建两个文件时显示错误:APK 和 OBB

它显示错误“应用构建后逻辑时发生错误:对象引用未设置为对象的实例”,当它构建两个文件 android 构建:APK + OBB。

Playscape 的 ApkCreator 尝试从 APK 中提取配置文件“assets/playscape/PlayscapeConfig.xml”。但是配置在 .OBB 文件中。

如何解决?

0 投票
1 回答
175 浏览

android - PlayscapeManager won't initialize on android device

Im not getting any errors or debug messages in adb logcat. But if im trying to press the Catalog(More Games) button, i get:

I/Unity (16917): AndroidJavaException: java.lang.NullPointerException: Attempt to invoke interface method 'void java.util.concurrent.ExecutorService.execute(java.lang.Runnable)' on a null object reference I/Unity (16917): at UnityEngine.AndroidJNISafe.CheckException () [0x00000] in :0 I/Unity (16917): at UnityEngine.AndroidJNISafe.CallVoidMethod (IntPtr obj, IntPtr methodID, UnityEngine.jvalue[] args) [0x00000] in :0 I/Unity (16917): at UnityEngine.AndroidJavaObject._Call (System.String methodName, System.Object[] args) [0x00000] in :0 I/Unity (16917): at UnityEngine.AndroidJavaObject.Call (System.String methodName, System.Object[] args) [0x00000] in :0 I/Unity
(16917): at Playscape.Internal.PlayscapeCatalogAndroid.showCatalog () [0x00000] in :0 I/Unity (16917): at Playscape.Catalog.Catalog.showCatalog () [0x00000] in :0 I/Unity (16917): at PlayscapeCatalog.ShowCatalog () [0x00000] in :0 I/Unity (16917): UnityEngine.GameObject:SendMessage(String, Object, SendMessageOptions) I/Unity (16917): UnityEngine.GameObject:SendMessage(Strin

Anyone know what it can be? Its like the PlayscapeManager isn't initialized, but i have tried to put it in more scenes and it doesn't work.

I can see it works in the editor when i play it, but not on the phone.

0 投票
1 回答
123 浏览

android - Error when trying to open PlayScape Exchange catalog on Android

I'm trying to implement the PlayScape SDK into GameMaker: Studio. I've followed the native Android integration guide and, after some work, got it to build without errors. However, I am getting an error message when I try to open the Playscape Exchange catalog and I'm not sure what it means.

I'm currently using the following code:

After calling showExchange() from my own code, I'm getting the following error:

After this, the application crashes. What am I doing wrong here?

0 投票
1 回答
69 浏览

android - 在 Android 上后期构建期间出现 Unity Playscape 错误

在 Playscape“Unity 项目设置指南”中完成所有步骤并构建到 android 后,出现构建后错误:

http://i.stack.imgur.com/KYw1E.png

任何想法可能导致此错误?

0 投票
1 回答
90 浏览

unity3d - Playscape Unity 发布工具包错误

我正在将 Playscape 1.11 SDK 统一集成到我的游戏中。我不断收到一条错误消息:An error occurred while applying post-build logic: failed to apply patch to the .jar file

我已检查是否在 SDK 中下载/安装了 Android 19 和 google-play-services。

0 投票
1 回答
185 浏览

java - Playscape Publishing Kit 在应用补丁过程中失败并出现错误未知

运行Unity 4.5.4f1Playscape SDK version 1.14,为 android 目标构建,我在 Unity 应用补丁过程中收到错误未知。在 CMD 中运行执行的命令时,出现以下错误:

错误:无法找到或加载主类 com.googlecode.dex2jar.tools.Dex2jarCmd

我提供的命令输入(取自 SDK 记录器)如下:

我检查了项目内的文件夹结构,似乎存在 dex2jar。在更新之前我们没有看到这个问题。

我该如何解决这个问题?

0 投票
0 回答
310 浏览

android - Android 应用程序在启动时因拒绝 UnityPlayscapeActivityLifecycle 类而崩溃

使用 Unity 4.5.4f1 和 Playscape SDK 1.14 版,为 android 目标构建,在测试目标 HTC-One M9 上启动应用程序时我遇到了崩溃(它使用以前版本的 SDK 运行我们的应用程序)。与设备监视器日志相关的一个错误是:

09-07 17:46:51.051: E/art(15746): 拒绝类 com.playscape.publishingkit.UnityPlayscapeActivityLifeCycle 尝试在 /data/app/com.playscape 中对错误类 com.playscape.publishingkit.PlayscapeActivityLifeCycle 进行子类化。僵尸狙击1-2/base.apk

我不明白这个错误,所以我想知道它是什么意思,(除了一个尝试操作系统不批准的东西的类),或者更好的是,如何解决这个问题。我无法通过搜索 SDK 的文本索引目录找到该类。

最好的问候雅各布三门