onepf / OpenIAB-Unity-Plugin

OpenIAB Unity Plugin for Android (Google Play, Samsung Apps, Amazon Appstore, SlideME, Nokia Store, Appland, Aptoide, AppMall, Yandex.Store, Fortumo), Windows Phone and iOS.
Apache License 2.0
147 stars 58 forks source link

FAILURE: Build failed with an exception #12

Open linderboss opened 10 years ago

linderboss commented 10 years ago

I'm trying to build the Unity Plugin but the following error occurs:


FAILURE: Build failed with an exception.

I'm following the build instrunctions under Windows 8.1. I'd like to give this plugin a try in my game.

akarimova commented 10 years ago

@GrimReio could you please help

GrimReio commented 9 years ago

Hi, Do you mean gradle build? Just checked it on Windows. Could you please do fresh clone, pull from master and post logs?

linderboss commented 9 years ago

Hi,

Ok, after a fresh clone, pull from master and gradlew.bat clean buildPlugin:

:Unity Plugin:compileReleaseJava

:Unity Plugin:lintVitalRelease FAILED

FAILURE: Build failed with an exception.

Execution failed for task ':Unity Plugin:lintVitalRelease'.

Illegal UTF8 string in constant pool in class file com/android/tools/lint/checks/SharedPrefsDetector$CommitFinder

  • Try:

Run with --stacktrace option to get the stack trace. Run with --info or --debug

option to get more log output.

BUILD FAILED

HTH

Thanks!

De: GrimReio [mailto:notifications@github.com] Enviada em: quinta-feira, 23 de outubro de 2014 15:09 Para: onepf/OpenIAB-Unity-Plugin Cc: linderboss Assunto: Re: [OpenIAB-Unity-Plugin] FAILURE: Build failed with an exception (#12)

Hi, Do you mean gradle build? Just checked it on Windows. Could you please do fresh clone, pull from master and post logs?

— Reply to this email directly or view it on GitHub https://github.com/onepf/OpenIAB-Unity-Plugin/issues/12#issuecomment-60272859 . https://github.com/notifications/beacon/AAv-82hwF6IKGUXtzDt3BKTWVWGFsZLeks5nGS2kgaJpZM4CifqS.gif

RomanZhilich commented 9 years ago

I'm not sure if it's related, but try to build with android gradle plugin 0.13.3 According to latest release notes they fixed some issue with lint cache, which might have caused your problem.

akarimova commented 9 years ago

Hi there, any updates?

linderboss commented 9 years ago

Hi,

I updated the Android SDK and fresh cloned OpenIAB-Unity-Plugin again.

I don't know if the lint issue was fixed yet due the following new errors:

C:\GitHub\OpenIAB-Unity-Plugin\unity_plugin\src\main\java\org\onepf\openiab\Unit yPlugin.java:303: cannot find symbol symbol : method getPurchaseMap() location: class org.onepf.oms.appstore.googleUtils.Inventory for (Map.Entry<String, Purchase> entry : inventory.getPurchaseMap().entrySet()) { ^ C:\GitHub\OpenIAB-Unity-Plugin\unity_plugin\src\main\java\org\onepf\openiab\UnityPlugin.java:312: cannot find symbol symbol : method getSkuMap() location: class org.onepf.oms.appstore.googleUtils.Inventory for (Map.Entry<String, SkuDetails> entry : inventory.getSkuMap().entrySet()) { ^ 2 errors :Unity Plugin:compileReleaseJava FAILED

FAILURE: Build failed with an exception.

GrimReio commented 9 years ago

Hi, Is it 'master' branch?

GrimReio commented 9 years ago

Looks good for me. Did you also update OpenIAB submodule?

linderboss commented 9 years ago

It is the master branch and I updated all submodules.