Hi.
I am developing an Android app using Titanium SDK 3.4.0.201409261227-26092014122818 on Windows 7, testing on a HTC One device. My Titanium Studio build info is:
Titanium Studio, build: 3.4.0.201409261227 Build: jenkins-titanium-rcp-master-197 (origin/master) Date: 26 September 2014, 12:28:18
I am attempting to hide the Android ActionBar by following step 3 in the following blog:
http://www.appcelerator.com/blog/2014/08/hiding-the-android-actionbar
By default I don't have a platform/android/res/values folder so I create it and put my customthemes.xml file in it, which looks like this:
<? xml version="1.0" encoding="utf-8"?> <resources> <style name="Theme.NoActionBar" parent="@style/Theme.AppCompat"> <item name="windowActionBar">false</item> <item name="android:windowNoTitle">true</item> </style> <style name="Theme.HasActionBar" parent="@style/Theme.AppCompat"> <item name="windowActionBar">true</item> <item name="android:windowNoTitle">false</item> </style> </resources>Again, by default my tiapp.xml file doesn't contain an android manifest section so I add in the following:
<android xmlns:android="http://schemas.android.com/apk/res/android"> <manifest> <application android:theme="@style/Theme.HasActionBar"/> <uses-sdk android:minSdkVersion="14" android:targetSdkVersion="19"/> </manifest> </android>However, when I then try to deploy my app to my phone I get the following error:
[ERROR] : Failed to package application: [ERROR] Application Installer abnormal process termination. Process exit value was 1
I have tried other tutorials that mention adding xml files to the platform/android/res/values directory and they fail with the same error. If I remove the platform/android/res/values folder the app builds successfully.
Does anyone have any thoughts on why this folder or its contents seem to be causing this issue please?
Thank you.