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 t-schulz · Sep 07, 2016 at 07:29 AM · android buildsamsungobb

Unable to deploy OBB to device only on Android 6.0.1 Device

Hello,

i got the "Unable to deploy OBB to device" error on pushing the apk and obb from unity editor to the Galaxy Tab S2 8.0 (SM-T719) with Android 6.0.1.

On all other Android devices it works perfectly. Devices without any obb push error: - Nexus 5X (Android 7) - Nexus 9 (Android 6) - Galaxy S3 (Android 4.3) - Nexus 6P (Android 7)

So, is this a device specific problem for pushing an obb?

Here are the erros:

 Error building Player: UnityException: Unable to deploy OBB to device
 Failed pushing OBB file to the device. See the Console for details.


 UnityException: Unable to deploy OBB to device
 Failed pushing OBB file to the device. See the Console for details.
 UnityEditor.Android.PostProcessAndroidPlayer.ShowErrDlgAndThrow (System.String title, System.String message, System.Exception ex)
 UnityEditor.Android.PostProcessAndroidPlayer.ShowErrDlgAndThrow (System.String title, System.String message)
 UnityEditor.Android.PostProcessAndroidPlayer.UploadAndStartPlayer (System.String manifestName, System.String stagingArea, UnityEditor.Android.AndroidDevice device, System.String packageName, Boolean developmentPlayer, Boolean retryUpload)
 UnityEditor.Android.PostProcessAndroidPlayer.PostProcessInternal (System.String stagingAreaData, System.String stagingArea, System.String playerPackage, System.String installPath, System.String companyName, System.String productName, BuildOptions options, UnityEditor.RuntimeClassRegistry usedClassRegistry)
 UnityEditor.Android.PostProcessAndroidPlayer.PostProcess (BuildTarget target, System.String stagingAreaData, System.String stagingArea, System.String playerPackage, System.String installPath, System.String companyName, System.String productName, BuildOptions options, UnityEditor.RuntimeClassRegistry usedClassRegistry)
 UnityEditor.Android.AndroidBuildPostprocessor.PostProcess (BuildPostProcessArgs args)
 UnityEditor.PostprocessBuildPlayer.Postprocess (BuildTarget target, System.String installPath, System.String companyName, System.String productName, Int32 width, Int32 height, System.String downloadWebplayerUrl, System.String manualDownloadWebplayerUrl, BuildOptions options, UnityEditor.RuntimeClassRegistry usedClassRegistry) (at /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline/PostprocessBuildPlayer.cs:316)
 UnityEditor.BuildPlayerWindow:BuildPlayerAndRun()


 CommandInvokationFailure: Unable to push local file to device. Please make sure the Android SDK is installed and is properly configured in the Editor. See the Console for more details. 
 /Users/tobias/Library/Android/sdk/platform-tools/adb -s "2b70a6c8" push "/Users/tobias/Projekte/de.bundleidentifier-app/Temp/StagingArea/main.obb" "/sdcard/Android/obb/de.bundleidentifier/main.9.de.bundleidentifier.obb"
 
 stderr[
 
 ]
 stdout[
 [  0%] /sdcard/Android/obb/de.bundleidentifier/main.9.de.bundleidentifier.obb
 [  0%] /sdcard/Android/obb/de.bundleidentifier/main.9.de.bundleidentifier.obb
 [  0%] /sdcard/Android/obb/de.bundleidentifier/main.9.de.bundleidentifier.obb
 [  0%] /sdcard/Android/obb/de.bundleidentifier/main.9.de.bundleidentifier.obb
 adb: error: failed to copy '/Users/tobias/Projekte/App/bundleidentifier-app/Temp/StagingArea/main.obb' to '/sdcard/Android/obb/de.bundleidentifier/main.9.de.bundleidentifierobb': Permission denied
 ]
 UnityEditor.Android.Command.Run (System.Diagnostics.ProcessStartInfo psi, UnityEditor.Android.WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg)
 UnityEditor.Android.ADB.RunInternal (System.String[] command, UnityEditor.Android.WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg)
 UnityEditor.Android.ADB.Run (System.String[] command, UnityEditor.Android.WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg)
 UnityEditor.Android.AndroidDevice.Exec (System.String[] command, UnityEditor.Android.WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg)
 UnityEditor.Android.AndroidDevice.Push (System.String src, System.String dst, UnityEditor.Android.WaitingForProcessToExit waitingForProcessToExit)
 UnityEditor.Android.PostProcessAndroidPlayer.UploadAndStartPlayer (System.String manifestName, System.String stagingArea, UnityEditor.Android.AndroidDevice device, System.String packageName, Boolean developmentPlayer, Boolean retryUpload)
 UnityEditor.BuildPlayerWindow:BuildPlayerAndRun()
 

I guess its not an permission error in the AndroidManifest.xml, cause it works on so many other devices.

hope someone could help me. Thank you

Regards Tobi

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

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by sadiq0307 · Nov 17, 2016 at 03:01 PM

In unity (5.4) go to File -> Build Settings -> Player Settings -> In player settings, in the inspector window come to publishing settings and check off Split Application Binary. I think it will work

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

71 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

Related Questions

Issues publishing to Google Play with OBB expansion files using Gradle 0 Answers

No GearVR in My app, But it always start GearVR when I start my app! 0 Answers

Unable to read OBB file on specific terminal. 0 Answers

Why are screenshots of my mobile game blank? 1 Answer

TMPro appear grainy on android devices Text Mesh Pro,TMPro appearing grainy on some android devices 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