Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
  • Help Room /
avatar image
0
Question by pingu2k4 · Oct 10, 2016 at 05:13 AM · androiderror messagegoogle play gameserror build

Unity Android APK crashing on startup with GPlay Services

Hi,

So, I made a big post on SO about this (http://stackoverflow.com/questions/39920188/unity-android-apk-crashing-on-startup)

but essentially, I import the unity asset provided for this, and before configuring GPGS, I build the APK and it runs fine.

Then, I go to window >> GPG >> Setup >> Android, and paste in my resources XML. I receive a bunch of jar resolver messages:

Remove or replace play-services-ads version 9.0.2 with version 9.6.1?

Remove or replace support-v4 version 23.1.1 with version 24.0.0?

Remove or replace play-services-gcm version 9.0.2 with version 9.6.1?

Remove or replace play-services-location version 9.0.2 with version 9.6.1?

Remove or replace play-services-base version 9.0.2 with version 9.6.1?

Remove or replace play-services-basement version 9.0.2 with version 9.6.1?

Remove or replace support-annotations version 23.1.1 with version 23.4.0?

Remove or replace play-services-iid version 9.0.2 with version 9.6.1?

Remove or replace play-services-tasks version 9.0.2 with version 9.6.1?

If I press keep, or cancel (cant remember the terms, but I've tried both) it doesnt matter - I tried keeping all, and cancelling all, the result is the same.

I then immediately attempt a build, but whilst converting java classes to dex format I get the following error:

 CommandInvokationFailure: Unable to convert classes into dex format.
 C:\Program Files (x86)\Java\jdk1.7.0_55\bin\java.exe -Xmx1024M -Dcom.android.sdkmanager.toolsdir="C:/Users/PINGU/AppData/Local/Android/sdk\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
 (com.fyber.a) 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
 (com.fyber.ads.banners.BannerSize$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
 (com.fyber.ads.banners.b) 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
 (com.fyber.ads.banners.d) 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
 (com.fyber.ads.banners.a) 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
 (com.fyber.ads.banners.c) 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
 (com.fyber.ads.interstitials.a.b) 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
 (com.fyber.ads.interstitials.a.c) 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
 (com.fyber.ads.ofw.a) 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
 (com.fyber.ads.videos.a) 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
 (com.fyber.ads.videos.a.e) 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
 (com.fyber.ads.videos.a.f) 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
 (com.fyber.ads.videos.a.g) 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
 (com.fyber.ads.videos.a.h) 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
 (com.fyber.ads.videos.a.d) 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
 (com.fyber.ads.videos.a.i) 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
 (com.fyber.ads.videos.a.j) 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
 (com.fyber.ads.videos.a.m) 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
 (com.fyber.ads.videos.a.n) 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
 (com.fyber.ads.videos.a.o) 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
 (com.fyber.ads.videos.b) 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
 (com.fyber.ads.videos.c) 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
 (com.fyber.ads.videos.e) 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
 (com.fyber.ads.videos.h) 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
 (com.fyber.ads.videos.f) 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
 (com.fyber.ads.videos.g) 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
 (com.fyber.ads.videos.k) 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
 (com.fyber.ads.videos.i) 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
 (com.fyber.ads.videos.j) 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
 (com.fyber.ads.videos.l) that doesn't come with<message truncated>


To resolve this, I can locate the play-services-base and play-services-basement and disable both of these from being built into the android build. I have tested all of them and both of these are required to be turned off, otherwise the above error is produced.

With them both turned off, the apk builds fine. However, when I run the app on any phone, the app crashes instantly with the following output: http://pastebin.com/vJnfx5fs

I don't know where to go from here...

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
â–¼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

0 Replies

· Add your reply
  • Sort: 

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

118 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Can't build game : "IOException: Win32 IO returned 1117" 1 Answer

Realidad aumentada Vuforia problema creando apk 0 Answers

Issue with Google Play Services Cloud Saving 1 Answer

[Play Game Services] User can log in, but leaderboard not showing 0 Answers

help expected. Insert a semicolon at the end 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges