【发布时间】:2019-02-07 06:46:51
【问题描述】:
我正在尝试构建由其他开发人员创建的应用程序。我已导入项目并将依赖项更新到最新版本。当我尝试运行时,出现以下错误:
[ERROR] : Failed to package application:
[ERROR] :
[ERROR] : (skipping file '.gitkeep' due to ANDROID_AAPT_IGNORE pattern '.*')
[ERROR] : (skipping file '.liveviewapp.js' due to ANDROID_AAPT_IGNORE pattern '.*')
[ERROR] : E:\Projects\New_workspace\app\build\android\res\values\theme.xml:28: error: Error retrieving parent for item: No resource found that matches the given name '@style/Theme.skitanium'.
[ERROR] Application Installer abnormal process termination. Process exit value was 1
themes.xml文件有以下内容:
<?xml version="1.0" encoding="utf-8"?>
<resources>
<style name="Theme.skitanium" parent="@style/Theme.AppCompat.Light">
<item name="editTextStyle">@style/editText</item>
<item name="android:windowBackground">@drawable/background</item>
<item name="android:windowActionBar">false</item>
<item name="android:windowNoTitle">true</item>
<!-- AppCompat Compatibility -->
<item name="windowActionBar">false</item>
<item name="windowNoTitle">true</item>
</style>
<!-- Text fields -->
<style name="editText" parent="@android:style/Widget.EditText">
<item name="android:textCursorDrawable">@null</item>
<item name="android:textColor">#000000</item>
<item name="android:paddingTop">0dp</item>
<item name="android:paddingBottom">0dp</item>
<item name="android:gravity">center_vertical</item>
<item name="android:layout_width">wrap_content</item>
</style>
</resources>
这是我正在使用的版本:
<manifest android:versionCode="8" android:versionName="1.1.7">
<uses-sdk android:minSdkVersion="16" android:targetSdkVersion="28"/>
Titanium SDK 版本:7.5.0.GA
Axway Appcelerator Studio,内部版本:5.1.1.201809051655
谁能指导我这个错误的可能原因是什么?
【问题讨论】:
标签: titanium appcelerator appcelerator-titanium appcelerator-mobile appcelerator-studio