Vuforia初始化失败

时间:2017-06-20 11:08:05

标签: android firebase unity5 vuforia

我有一个Unity项目,我想在Android上运行。到目前为止,我只有一个与Vuforia库集成的简单示例。它在我的Android设备上按预期工作。 当我想添加Firebase支持时,问题就出现了。所以我下载了Unity的Firebase软件包,并安装数据库软件包以获得数据库同步支持。到目前为止一切都很好。

从那一刻开始,我的Vuforia启用的场景在Android设备上再也无法工作了:

  • 来自adb:Vuforia cannot be started before it is initialized. Please disable Delayed Initializationin the Vuforia configuration or initialize Vuforia manually with the VuforiaRuntime-class.
  • 该选项已被停用。

[编辑]我设法解决了下面描述的问题。这只是一个权限问题,Unity不允许在Android SDK目录中写入...

当Vuforia不再工作时,Unity开始展示一些&#34;安装Android软件包&#34;一遍又一遍地。每次我构建,甚至每次我在编辑器中单击播放时......我假设它是因为安装失败,我在Unity控制台中有一些错误消息: < / p>

  • <德尔> Unable to find dependency com.google.android.gms:play-services-base:11.0.0 in paths ($SDK\extras\android\m2repository, $SDK\extras\google\m2repository).
  • <德尔> Unable to find dependency com.google.firebase:firebase-common:11.0.0 in paths ($SDK\extras\android\m2repository, $SDK\extras\google\m2repository).
  • <德尔> Unable to find dependency com.google.firebase:firebase-auth:11.0.0 in paths ($SDK\extras\android\m2repository, $SDK\extras\google\m2repository).
  • <德尔> Unable to find dependency com.google.firebase:firebase-messaging:11.0.0 in paths ($SDK\extras\android\m2repository, $SDK\extras\google\m2repository).

有人遇到过这些问题吗?

我的软件:

  • Windows 8.1
  • Android 6.0.2
  • Firebase SDK 4.0.0
  • Unity 5.5.0f3
  • Vuforia SDK Unity 6.2.10

0 个答案:

没有答案
相关问题