Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

Failure To Repackage..

Discussion in 'Android' started by apie2546, Oct 12, 2015.

  1. apie2546

    apie2546

    Joined:
    Sep 13, 2015
    Posts:
    14
    Once I added google play services I could not build the app. I removed all of it (just two scripts and game prefabs) and now it won't let me repackage and build?
    Code (CSharp):
    1. Error building Player: CommandInvokationFailure: Failed to re-package resources. See the Console for details.
    2. C:\Users\Andrew\AppData\Local\Android\android-sdk\build-tools\23.0.1\aapt.exe package --auto-add-overlay -v -f -m -J gen -M AndroidManifest.xml -S "res" -I "C:/Users/Andrew/AppData/Local/Android/android-sdk\platforms\android-22\android.jar" -F bin/resources.ap_
    3.  
    4. stderr[
    5. invalid resource directory name: res/drawable-xxhdpi
    6. invalid resource directory name: res/drawable-xxxhdpi
    7. ]
    8. stdout[
    9.  
    10. ]
    11.  
    I've tried a lot, going a little crazy lol. Any help?
     
  2. apie2546

    apie2546

    Joined:
    Sep 13, 2015
    Posts:
    14
    Fixed it, deleted entire SDK and reinstall :\