Titanium JIRA Archive
Appcelerator Community (AC)

[AC-3467] Failed to package application

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionCannot Reproduce
Resolution Date2016-04-16T11:43:51.000+0000
Affected Version/sAppcelerator Studio 4.5.0
Fix Version/sn/a
ComponentsAppcelerator Dashboard
Labelsandroid, appcelerator, studio
ReporterAntonio
AssigneeShak Hossain
Created2016-04-07T14:50:17.000+0000
Updated2016-04-16T11:43:51.000+0000

Description

Hi, when i try to deploy my application on android emulator or telephone i encountre this thip of error: {panel:title=The error} [INFO] : Generating C:\Users\USER\Documents\Appcelerator_Studio_Workspace\contatti\build\android\res\values\theme.xml [INFO] : Packaging application: C:\Users\USER\Android\sdk\build-tools\24.0.0-preview\aapt.exe "package" "-f" "-m" "-J" "C:\Users\USER\Documents\Appcelerator_Studio_Workspace\contatti\build\android\gen" "-M" "C:\Users\USER\Documents\Appcelerator_Studio_Workspace\contatti\build\android\AndroidManifest.xml" "-A" "C:\Users\USER\Documents\Appcelerator_Studio_Workspace\contatti\build\android\bin\assets" "-S" "C:\Users\USER\Documents\Appcelerator_Studio_Workspace\contatti\build\android\res" "-I" "C:\Users\USER\Android\sdk\platforms\android-23\android.jar" "-F" "C:\Users\USER\Documents\Appcelerator_Studio_Workspace\contatti\build\android\bin\app.ap_" "--auto-add-overlay" "--extra-packages" "ti.modules.titanium.ui:android.support.v7.appcompat:android.support.v7.cardview" "-S" "C:\Users\USER\AppData\Local\Temp\11637-2412-oj6eof/res" "-S" "C:\Users\USER\AppData\Local\Temp\11637-2412-djgiwx/res" "-S" "C:\Users\USER\AppData\Local\Temp\11637-2412-8fsl2q/res" [ERROR] : Failed to package application: [ERROR] : [ERROR] : {panel} Maybe because in precompiling time it says me: {panel:title=Warn} [WARN] : Android Build Tools 24 are too new and may or may not work with Titanium. [WARN] : If you encounter problems, select a supported version with: [WARN] : ti config android.buildTools.selectedVersion ##.##.## [WARN] : where ##.##.## is a version in that is <=23.x {panel}

Comments

  1. Sharif AbuDarda 2016-04-07

    Hello, What version of Titanium SDK are you using? Use the latest one 5.2.2.GA. Are you using any custom theme in your Application?
  2. Antonio 2016-04-07

    Hi Sharif, i use the latest version 5.2.2GA. It's my first application and so i've follow the first application demo into the devoloper's doc. I don't know how change android theme...maybe later i'll learn :) {panel:title=My system info} Operating System Name = Microsoft Windows 10 Home Version = 10.0.10586 Architecture = 64bit # CPUs = 4 Memory = 6298636288 Node.js Node.js Version = 4.4.2 npm Version = 2.15.0 Titanium CLI CLI Version = 5.0.6 Titanium SDK SDK Version = 5.2.2.GA SDK Path = C:\Users\USER\AppData\Roaming\Titanium\mobilesdk\win32\5.2.2.GA Target Platform = android {panel}

JSON Source