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 /
avatar image
2
Question by SonicDirewolf · Nov 21, 2017 at 05:56 PM · androidandroid buildpluginsgoogle play gamesioexception

IOException : Failed to Move File / Directory

I am getting an IOException: Failed to Move File / Directory from 'Temp/StagingArea\android-libraries\play-services-ads-license-11.6.0\classes.jar' to 'Temp/StagingArea\android-libraries\play-services-ads-license-11.6.0\libs\classes.jar'.

I am getting the error after I integrated google play services plugin into my game. I am also using Admob plugin (GoogleMobileAds). In the temp folder there are two files with similar names. Here... alt text

Now the thing is the error talks about the file with the -license- but there is no classes.jar anywhere inside it. But the folder named play-services-ads-11.6.0 has a classes.jar.

How can I solve this and build my game! Help! Thanks.

capture.jpg (27.8 kB)
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

4 Replies

· Add your reply
  • Sort: 
avatar image
5

Answer by kunai · Nov 22, 2017 at 09:47 AM

Try this : Asset - Play Services Resolver - Android Resolver - Force Resolve

Comment
Add comment · Show 5 · Share
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
avatar image SonicDirewolf · Nov 22, 2017 at 02:49 PM 1
Share

Thank You so much! That worked perfectly. The resolver found the conflicting file and removed the older one automatically. Thank You again!

avatar image chrisclarky · Nov 22, 2017 at 04:05 PM 0
Share

I have the exact same issue after importing Google Play Games Plugin however this did not work for me. Any other suggestions?

avatar image SonicDirewolf · Nov 23, 2017 at 02:29 PM 0
Share

I did something else and now it's not working for me as well. The admob and google play services are conflicting and now my build crashes every time i open it from my phone. I'll post the solution as soon as I get it working cause this is a known problem.

avatar image jamie2dog SonicDirewolf · Feb 08, 2018 at 07:16 PM 0
Share

hi Sonic i am having this issue too! have you managed to fix it?

avatar image SonicDirewolf jamie2dog · Feb 09, 2018 at 03:33 PM 0
Share

@Jamie2dog Just use the latest version of unity 2017 and you'll be good to go! I was having the problem as I was using Unity 5. Just install Unity 2017 or above!

avatar image
0

Answer by 1q1 · Feb 04, 2018 at 07:49 PM

delete all .aar files

Comment
Add comment · Share
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
avatar image
0

Answer by myworkema · Feb 19, 2018 at 06:42 PM

How to Solve this : Close unity ---> go to your project folder --> ProjectSettings-->Delet All Files--> Rebot Your computer --> open unity--> a window show up that tell you if you want t use this packagae name -->Click Apply --> Wait to finish --> build your Apk and Voila :D

Comment
Add comment · Share
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
avatar image
0

Answer by mohitghostt · Jun 01, 2018 at 10:36 AM

I solved this problem by :

1) Uninstall Admob package ( By Deleting GoogleMobileAds Folder )

2) Delete these folders :

  • GooglePlayGames

  • PlayServicesResolver

  • plugins > Android

It is customary to re-open the project, but i didn't do it, still succeded Import Google Play Games 0.95 Re-Setup Google Play Games Import Admob Assets > PlayServicesResolver > Android Resolver > Force Resolve Build

Comment
Add comment · Share
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

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

163 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 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

How to integrate heyzap without conflicts ? 0 Answers

Unsupported major.minor version 52.0 - Android Build Error 2 Answers

CommandInvokationFailure: Failed to re-package resources when added GooglePlayGames plugin 2 Answers

Admob and GooglePlayGames not working together 1 Answer

Build Failure: Failed to re-package resources 0 Answers


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