Sign up Calendar Latest Topics
 
 
 


Reply
  Author   Comment  
Muhammad_Yawer

Junior Member
Registered:
Posts: 2
Reply with quote  #1 

Greetings everyone, 

This is my first post on this forum.

I had previous android project building fine but for this project it gives error

When I try to build the project it gives up error, "Failed to repackage sources"

 


CommandInvokationFailure: Failed to re-package resources. See the Console for details.
E:\unity\ADT - Bundle Windows 32-Bit\sdk\build-tools\android-4.2.2\aapt.exe package --auto-add-overlay -v -f -m -J gen -M AndroidManifest.xml -S "res" -I "E:/unity/ADT - Bundle Windows 32-Bit/sdk\platforms\android-23\android.jar" -F bin/resources.ap_ --extra-packages com.chartboost.sdk.unity
stderr[
invalid resource directory name: res/drawable-xxxhdpi
]
stdout[
]
UnityEditor.Android.Command.Run (System.Diagnostics.ProcessStartInfo psi, UnityEditor.Android.WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg)
UnityEditor.Android.PostProcessAndroidPlayer.Exec (System.String command, System.String args, System.String workingdir, System.String[] progress_strings, Single progress_value, System.String errorMsg)
UnityEditor.Android.PostProcessAndroidPlayer.CompileResources (System.String stagingArea, System.String packageName, UnityEditor.Android.AndroidLibraries androidLibraries)
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.BuildPlayerWindow:BuildPlayerAndRun()

0
mzr

Senior Member
Registered:
Posts: 222
Reply with quote  #2 
Did you use 'setup android sdk' button in chart boost options?
I had the same error when I forgot to do that.

__________________

http://www.howtomakemobilegames.com/post/twin-stick-shooter-7140396

My second game: Google Play
My first game: Google Play  Amazon iOS

0
Crichton333

Avatar / Picture

Senior Member
Registered:
Posts: 273
Reply with quote  #3 
Does it build without Chartboost ? 


--extra-packages com.chartboost.sdk.unity

__________________

"Smoke me a kipper i'll be back for breakfast." -- iOS: Nebula Virtual Reality

0
Muhammad_Yawer

Junior Member
Registered:
Posts: 2
Reply with quote  #4 

@mzr Yes chart boost is running fine. 'setup android sdk' is definitely used. 

@Crichton, Yes it is build with Chart boost, definitely. [smile]

0
Previous Topic | Next Topic
Print
Reply

Quick Navigation:

Easily create a Forum Website with Website Toolbox.