I can’t build my game after import plugins from Google (Admob and GPS). Seem to be IAP has a same lib with them? Anyone deal with this issue ?
My Unity 5.3.1p1 with latest plugins from Google
I can’t build my game after import plugins from Google (Admob and GPS). Seem to be IAP has a same lib with them? Anyone deal with this issue ?
My Unity 5.3.1p1 with latest plugins from Google
What type of error do you have?
You can see the image below with 2 file error
Just import IAP Unity then import Google Mobile Ad (Admob) and GooglePlayService
2467558–169874–conflict 1.txt (16.1 KB)
2467558–169875–conflict 2.txt (16.1 KB)
Check if you have several AndroidManifest.xml file on your project. If so try to keep only one.
I have compiled without problem inapp of unity, admob, and gpg. But with unity 5.3.0
you have this error" AndroidManifest.xml:27: error: Error: No resource found that matches the given name (at ‘theme’ with value ’ @ /Theme.IAPTheme’)."
Check this line or paste it here.
Whate version of admob and gpg ?
Can you export all of plugins (admob + gps) into a package then upload for me ?
The latest version of admob and
.27a.unitypackage Updates to version 0.9.27, patch A. for gpg
Seem to be this issue about Unity. I will switch again Unity 5.3.0 then test again. Thank you.
I have the same issue on Unity 5.3.1f , but I get a cannot build classes to dex format. The only way to make it build is by deleting GooglePlay.AAR, but then the store stops working.
@tnbao91 have you tried removing the in-app-billing-service-aidl.jar? To do Google Billing stuff AdMob includes a copy, and so does Unity IAP.
See similar issues resolved through that technique:
I am facing the same problem with google play services and unity IAP, Is there any solution for that???
Can you paste the text of the error you are encountering?
Hi @Banderous
I made a small change in the android manifest file it worked for me.
There was a purchase activity that directing to the googleplay.aar , that i have changed as follows
android:name=“.PurchaseActivity”
Thank You
Hi, I have 5.3.5 and have same error.
Console says that some packages already included, but how to delete duplicates if this package inside in .DLL?
Please paste the actual errors you are encountering, in full.
I’m using Admob in my project, and when I import IAP package, I can’t build the apk.
Someone can help me?
Thanks
CommandInvokationFailure: Unable to convert classes into dex format. See the Console for details.
C:\Program Files\Java\jdk1.8.0_51\bin\java.exe -Xmx2048M -Dcom.android.sdkmanager.toolsdir=“C:/Android\tools” -Dfile.encoding=UTF8 -jar “C:\Program Files\Unity\Editor\Data\PlaybackEngines\AndroidPlayer/Tools\sdktools.jar” -
stderr[
warning: Ignoring InnerClasses attribute for an anonymous inner class
(org.apache.commons.httpclient.HttpMethodBase$1) that doesn’t come with an
associated EnclosingMethod attribute. This class was probably produced by a
compiler that did not target the modern .class file format. The recommended
solution is to recompile the class from source, using an up-to-date compiler
and without specifying any “-target” type options. The consequence of ignoring
this warning is that reflective operations on this class will incorrectly
indicate that it is not an inner class.
warning: Ignoring InnerClasses attribute for an anonymous inner class
(org.apache.commons.httpclient.protocol.ControllerThreadSocketFactory$1) that doesn’t come with an
associated EnclosingMethod attribute. This class was probably produced by a
compiler that did not target the modern .class file format. The recommended
solution is to recompile the class from source, using an up-to-date compiler
and without specifying any “-target” type options. The consequence of ignoring
this warning is that reflective operations on this class will incorrectly
indicate that it is not an inner class.
Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/android/vending/billing/IInAppBillingService$Stub$Proxy;
Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/android/vending/billing/IInAppBillingService$Stub;
Uncaught translation error: java.lang.IllegalArgumentException: already added: Lcom/android/vending/billing/IInAppBillingService;
3 errors; aborting
]
stdout[
processing archive bin\classes.jar…
processing com/unity3d/player/a$1.class…
processing com/unity3d/player/a$2.class…
processing com/unity3d/player/a$a.class…
processing com/unity3d/player/a.class…
processing com/unity3d/player/b$1.class…
processing com/unity3d/player/b$2.class…
processing com/unity3d/player/b.class…
processing com/unity3d/player/c.class…
processing com/unity3d/player/d$1.class…
processing com/unity3d/player/d$2.class…
processing com/unity3d/player/d.class…
processing com/unity3d/player/e.class…
processing com/unity3d/player/f.class…
processing com/unity3d/player/g.class…
processing com/unity3d/player/h.class…
processing com/unity3d/player/i.class…
processing com/unity3d/player/j.class…
processing com/unity3d/player/k$1.class…
processing com/unity3d/player/k$2$1$1.class…
processing com/unity3d/player/k$2$1.class…
processing com/unity3d/player/k$2.class…
processing com/unity3d/player/k.class…
processing com/unity3d/player/l$1.class…
processing com/unity3d/player/l.class…
processing com/unity3d/player/m.class…
processing com/unity3d/player/n$1.class…
processing com/unity3d/player/n.class…
processing com/unity3d/player/o.class…
processing com/unity3d/player/p$1.class…
processing com/unity3d/player/p.class…
processing com/unity3d/player/NativeLoader.class…
processing com/unity3d/player/q.class…
processing com/unity3d/player/ReflectionHelper$1.class…
processing com/unity3d/player/ReflectionHelper$a.class…
processing com/unity3d/player/ReflectionHelper.class…
processing com/unity3d/player/r.class…
processing com/unity3d/player/s$1.class…
processing com/unity3d/player/s$2.class…
processing com/unity3d/player/s$3.class…
processing com/unity3d/player/s.class…
processing com/unity3d/player/t.class…
processing com/unity3d/player/u.class…
processing com/unity3d/player/UnityPlayer$1.class…
processing com/unity3d/player/UnityPlayer$2.class…
processing com/unity3d/player/UnityPlayer$4.class…
processing com/unity3d/player/UnityPlayer$5.class…
processing com/unity3d/player/UnityPlayer$6.class…
processing com/unity3d/player/UnityPlayer$7.class…
processing com/unity3d/player/UnityPlayer$8.class…
processing com/unity3d/player/UnityPlayer$9.class…
processing com/unity3d/player/UnityPlayer$10.class…
processing com/unity3d/player/UnityPlayer$11.class…
processing com/unity3d/player/UnityPlayer$12.class…
processing com/unity3d/player/UnityPlayer$13.class…
processing com/unity3d/player/UnityPlayer$14.class…
processing com/unity3d/player/UnityPlayer$3.class…
processing com/unity3d/player/UnityPlayer$15$1.class…
processing com/unity3d/player/UnityPlayer$15.class…
processing com/unity3d/player/UnityPlayer$16.class…
processing com/unity3d/player/UnityPlayer$17.class…
processing com/unity3d/player/UnityPlayer$18.class…
processing com/unity3d/player/UnityPlayer$19.class…
processing com/unity3d/player/UnityPlayer$20.class…
processing com/unity3d/player/UnityPlayer$a.class…
processing com/unity3d/player/UnityPlayer$b.class…
processing com/unity3d/player/UnityPlayer$c.class…
processing com/unity3d/player/UnityPlayer.class…
processing com/unity3d/player/UnityPlayerActivity.class…
processing com/unity3d/player/UnityPlayerNativeActivity.class…
processing com/unity3d/player/UnityPlayerProxyActivity.class…
processing com/unity3d/player/v.class…
processing com/unity3d/player/UnityWebRequest.class…
processing com/unity3d/player/w$1.class…
processing com/unity3d/player/w.class…
processing com/unity3d/player/WWW.class…
processing org/fmod/FMODAudioDevice.class…
processing org/fmod/a.class…
processing bitter/jnibridge/JNIBridge$a.class…
processing bitter/jnibridge/JNIBridge.class…
processing bin\classes.\android\support\v4\Manifest$permission.class…
processing bin\classes.\android\support\v4\Manifest.class…
processing bin\classes.\android\support\v4\R$attr.class…
processing bin\classes.\android\support\v4\R$color.class…
processing bin\classes.\android\support\v4\R$dimen.class…
processing bin\classes.\android\support\v4\R$drawable.class…
processing bin\classes.\android\support\v4\R$id.class…
processing bin\classes.\android\support\v4\R$integer.class…
processing bin\classes.\android\support\v4\R$layout.class…
processing bin\classes.\android\support\v4\R$raw.class…
processing bin\classes.\android\support\v4\R$string.class…
processing bin\classes.\android\support\v4\R$style.class…
processing bin\classes.\android\support\v4\R$styleable.class…
processing bin\classes.\android\support\v4\R.class…
processing bin\classes.\android\support\v7\cardview\Manifest$permission.class…
processing bin\classes.\android\support\v7\cardview\Manifest.class…
processing bin\classes.\android\support\v7\cardview\R$attr.class…
processing bin\classes.\android\support\v7\cardview\R$color.class…
processing bin\classes.\android\support\v7\cardview\R$dimen.class…
processing bin\classes.\android\support\v7\cardview\R$drawable.class…
processing bin\classes.\android\support\v7\cardview\R$id.class…
processing bin\classes.\android\support\v7\cardview\R$integer.class…
processing bin\classes.\android\support\v7\cardview\R$layout.class…
processing bin\classes.\android\support\v7\cardview\R$raw.class…
processing bin\classes.\android\support\v7\cardview\R$string.class…
processing bin\classes.\android\support\v7\cardview\R$style.class…
processing bin\classes.\android\support\v7\cardview\R$styleable.class…
processing bin\classes.\android\support\v7\cardview\R.class…
processing bin\classes.\com\android\vending\billing\Manifest$permission.class…
processing bin\classes.\com\android\vending\billing\Manifest.class…
processing bin\classes.\com\android\vending\billing\R$attr.class…
processing bin\classes.\com\android\vending\billing\R$color.class…
processing bin\classes.\com\android\vending\billing\R$dimen.class…
processing bin\classes.\com\android\vending\billing\R$drawable.class…
processing bin\classes.\com\android\vending\billing\R$id.class…
processing bin\classes.\com\android\vending\billing\R$integer.class…
processing bin\classes.\com\android\vending\billing\R$layout.class…
processing bin\classes.\com\android\vending\billing\R$raw.class…
processing bin\classes.\com\android\vending\billing\R$string.class…
processing bin\classes.\com\android\vending\billing\R$style.class…
processing bin\classes.\com\android\vending\billing\R$styleable.class…
processing bin\classes.\com\android\vending\billing\R.class…
processing bin\classes.\com\facebook\android\Manifest$permission.class…
processing bin\classes.\com\facebook\android\Manifest.class…
processing bin\classes.\com\facebook\android\R$attr.class…
processing bin\classes.\com\facebook\android\R$color.class…
processing bin\classes.\com\facebook\android\R$dimen.class…
processing bin\classes.\com\facebook\android\R$drawable.class…
processing bin\classes.\com\facebook\android\R$id.class…
processing bin\classes.\com\facebook\android\R$integer.class…
processing bin\classes.\com\facebook\android\R$layout.class…
processing bin\classes.\com\facebook\android\R$raw.class…
processing bin\classes.\com\facebook\android\R$string.class…
processing bin\classes.\com\facebook\android\R$style.class…
processing bin\classes.\com\facebook\android\R$styleable.class…
processing bin\classes.\com\facebook\android\R.class…
processing bin\classes.\com\facebook\Manifest$permission.class…
processing bin\classes.\com\facebook\Manifest.class…
processing bin\classes.\com\facebook\R$attr.class…
processing bin\classes.\com\facebook\R$color.class…
processing bin\classes.\com\facebook\R$dimen.class…
processing bin\classes.\com\facebook\R$drawable.class…
processing bin\classes.\com\facebook\R$id.class…
processing bin\classes.\com\facebook\R$integer.class…
processing bin\classes.\com\facebook\R$layout.class…
processing bin\classes.\com\facebook\R$raw.class…
processing bin\classes.\com\facebook\R$string.class…
processing bin\classes.\com\facebook\R$style.class…
processing bin\classes.\com\facebook\R$styleable.class…
processing bin\classes.\com\facebook\R.class…
processing bin\classes.\com\google\android\gms\Manifest$permission.class…
processing bin\classes.\com\google\android\gms\Manifest.class…
processing bin\classes.\com\google\android\gms\R$attr.class…
processing bin\classes.\com\google\android\gms\R$color.class…
processing bin\classes.\com\google\android\gms\R$dimen.class…
processing bin\classes.\com\google\android\gms\R$drawable.class…
processing bin\classes.\com\google\android\gms\R$id.class…
processing bin\classes.\com\google\android\gms\R$integer.class…
processing bin\classes.\com\google\android\gms\R$layout.class…
processing bin\classes.\com\google\android\gms\R$raw.class…
processing bin\classes.\com\google\android\gms\R$string.class…
processing bin\classes.\com\google\android\gms\R$style.class…
processing bin\classes.\com\google\android\gms\R$styleable.class…
processing bin\classes.\com\google\android\gms\R.class…
processing bin\classes.\com\google\unity\Manifest$permission.class…
processing bin\classes.\com\google\unity\Manifest.class…
processing bin\classes.\com\google\unity\R$attr.class…
processing bin\classes.\com\google\unity\R$color.class…
processing bin\classes.\com\google\unity\R$dimen.class…
processing bin\classes.\com\google\unity\R$drawable.class…
processing bin\classes.\com\google\unity\R$id.class…
processing bin\classes.\com\google\unity\R$integer.class…
processing bin\classes.\com\google\unity\R$layout.class…
processing bin\classes.\com\google\unity\R$raw.class…
processing bin\classes.\com\google\unity\R$string.class…
processing bin\classes.\com\google\unity\R$style.class…
processing bin\classes.\com\google\unity\R$styleable.class…
processing bin\classes.\com\google\unity\R.class…
processing bin\classes.\com\intercode\coobo\Manifest$permission.class…
processing bin\classes.\com\intercode\coobo\Manifest.class…
processing bin\classes.\com\intercode\coobo\R$attr.class…
processing bin\classes.\com\intercode\coobo\R$color.class…
processing bin\classes.\com\intercode\coobo\R$dimen.class…
processing bin\classes.\com\intercode\coobo\R$drawable.class…
processing bin\classes.\com\intercode\coobo\R$id.class…
processing bin\classes.\com\intercode\coobo\R$integer.class…
processing bin\classes.\com\intercode\coobo\R$layout.class…
processing bin\classes.\com\intercode\coobo\R$raw.class…
processing bin\classes.\com\intercode\coobo\R$string.class…
processing bin\classes.\com\intercode\coobo\R$style.class…
processing bin\classes.\com\intercode\coobo\R$styleable.class…
processing bin\classes.\com\intercode\coobo\R.class…
processing bin\classes.\com\unity\purchasing\amazon\Manifest$permission.class…
processing bin\classes.\com\unity\purchasing\amazon\Manifest.class…
processing bin\classes.\com\unity\purchasing\amazon\R$attr.class…
processing bin\classes.\com\unity\purchasing\amazon\R$color.class…
processing bin\classes.\com\unity\purchasing\amazon\R$dimen.class…
processing bin\classes.\com\unity\purchasing\amazon\R$drawable.class…
processing bin\classes.\com\unity\purchasing\amazon\R$id.class…
processing bin\classes.\com\unity\purchasing\amazon\R$integer.class…
processing bin\classes.\com\unity\purchasing\amazon\R$layout.class…
processing bin\classes.\com\unity\purchasing\amazon\R$raw.class…
processing bin\classes.\com\unity\purchasing\amazon\R$string.class…
processing bin\classes.\com\unity\purchasing\amazon\R$style.class…
processing bin\classes.\com\unity\purchasing\amazon\R$styleable.class…
processing bin\classes.\com\unity\purchasing\amazon\R.class…
processing bin\classes.\com\unity\purchasing\googleplay\Manifest$permission.class…
processing bin\classes.\com\unity\purchasing\googleplay\Manifest.class…
processing bin\classes.\com\unity\purchasing\googleplay\R$attr.class…
processing bin\classes.\com\unity\purchasing\googleplay\R$color.class…
processing bin\classes.\com\unity\purchasing\googleplay\R$dimen.class…
processing bin\classes.\com\unity\purchasing\googleplay\R$drawable.class…
processing bin\classes.\com\unity\purchasing\googleplay\R$id.class…
processing bin\classes.\com\unity\purchasing\googleplay\R$integer.class…
processing bin\classes.\com\unity\purchasing\googleplay\R$layout.class…
processing bin\classes.\com\unity\purchasing\googleplay\R$raw.class…
processing bin\classes.\com\unity\purchasing\googleplay\R$string.class…
processing bin\classes.\com\unity\purchasing\googleplay\R$style.class…
processing bin\classes.\com\unity\purchasing\googleplay\R$styleable.class…
processing bin\classes.\com\unity\purchasing\googleplay\R.class…
processing bin\classes.\com\unity\purchasing\Manifest$permission.class…
processing bin\classes.\com\unity\purchasing\Manifest.class…
processing bin\classes.\com\unity\purchasing\R$attr.class…
processing bin\classes.\com\unity\purchasing\R$color.class…
processing bin\classes.\com\unity\purchasing\R$dimen.class…
processing bin\classes.\com\unity\purchasing\R$drawable.class…
processing bin\classes.\com\unity\purchasing\R$id.class…
processing bin\classes.\com\unity\purchasing\R$integer.class…
processing bin\classes.\com\unity\purchasing\R$layout.class…
processing bin\classes.\com\unity\purchasing\R$raw.class…
processing bin\classes.\com\unity\purchasing\R$string.class…
processing bin\classes.\com\unity\purchasing\R$style.class…
processing bin\classes.\com\unity\purchasing\R$styleable.class…
processing bin\classes.\com\unity\purchasing\R.class…
processing bin\classes.\com\unity3d\ads\android\Manifest$permission.class…
processing bin\classes.\com\unity3d\ads\android\Manifest.class…
processing bin\classes.\com\unity3d\ads\android\R$attr.class…
processing bin\classes.\com\unity3d\ads\android\R$color.class…
processing bin\classes.\com\unity3d\ads\android\R$dimen.class…
processing bin\classes.\com\unity3d\ads\android\R$drawable.class…
processing bin\classes.\com\unity3d\ads\android\R$id.class…
processing bin\cla
Hi @ramon_delmondo ,
Have you seen this thread, yet? If not, try out the solutions listed and there and see if any of those help!
Please delete Assets/Plugins/UnityPurchasing/Bin/Android/GoogleAIDL.aar
Thanks @Banderous , that solved my problem!!
This plugin https://github.com/unity-plugins/google-play-game-service-unity-plugin include admob ,google firebase alalytic,google play service.