I have problem using custom theme in my application. I cannot understand what I am doing wrong. I have seen solutions for this but for some reason they are not working for me. Could anyone take a look and help me out?
- Application type: mobile
- Titanium SDK: 3.5.0.GA
- Platform & version: Android
- Device: Motorola moto g
- Host Operating System: windows 7
- Titanium Studio: Titanium Studio, build: 3.4.1.201410281727
mytheme.xml path %ProjectRoot%/platvorm/android/res/values/mytheme.xml
<?xml version="1.0" encoding="utf-8"?> <resources xmlns:android="http://schemas.android.com/apk/res/android"> <style name="Theme.MyTheme" parent="Theme.AppCompat.Light"> <item name="android:editTextStyle">@style/editText</item> <item name="android:spinnerItemStyle">@style/MySpinnerItem</item> </style> <style name="editText" parent="@android:style/Widget.EditText"> <item name="android:textCursorDrawable">@null</item> </style> <style name="MySpinnerItem" parent="@android:style/Widget.TextView.SpinnerItem"> <item name="android:textColor">#000000</item> </style> </resources>tiapp.xml
<?xml version="1.0" encoding="UTF-8"?> <ti:app xmlns:ti="http://ti.appcelerator.org"> <id></id> <name></name> <version>1.0</version> <publisher></publisher> <url></url> <description></description> <copyright></copyright> <icon>appicon.png</icon> <fullscreen>false</fullscreen> <navbar-hidden>true</navbar-hidden> <analytics>false</analytics> <guid></guid> <property name="ti.ui.defaultunit" type="string">dp</property> <android xmlns:android="http://schemas.android.com/apk/res/android"> <tool-api-level>14</tool-api-level> <manifest android:installLocation="auto"> <application android:theme="@style/Theme.MyTheme"/> <uses-sdk android:minSdkVersion="14" android:targetSdkVersion="14"/> <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/> <uses-permission android:name="android.permission.ACCESS_WIFI_STATE"/> <uses-permission android:name="android.permission.INTERNET"/> <supports-screens android:anyDensity="true" android:largeScreens="true" android:normalScreens="true" android:smallScreens="true" android:xlargeScreens="true"/> </manifest> </android> <modules/> <deployment-targets> <target device="iphone">false</target> <target device="ipad">false</target> <target device="android">true</target> <target device="blackberry">false</target> <target device="mobileweb">false</target> </deployment-targets> <sdk-version>3.5.0.GA</sdk-version> </ti:app>This gives me error :"[ERROR] : Failed to package application: [ERROR] Application Installer abnormal process termination. Process exit value was 1"