警告:该
android.dexOptions.incremental属性已弃用,它对构建过程没有影响./home/midhilaj/.gradle/caches/transforms-1/files-1.1/appcompat-v7-26.1.0.aar/be3106efb0df111fe5a3f7b356dd070b/res/values/values.xml错误:(246,5)错误:资源android:attr/fontVariationSettings未找到./project/bkup/7_march_2018/hyshoper/milla/build/intermediates/incremental/mergeDebugAndroidTestResources/merged.dir/values/values.xml错误:(246,5)错误:找不到资源android:attr/ttcIndex.错误:(269)资源android:attr/ttcIndex未找到.错误:(269)资源android:attr/fontVariationSettings未找到.错误:java.util.concurrent.ExecutionException:java.util.concurrent.ExecutionException:com.android.tools.aapt2.Aapt2Exception:AAPT2错误:检查日志以获取详细信息错误:链接引用失败.错误:java.util.concurrent.ExecutionException:com.android.tools.aapt2.Aapt2Exception:AAPT2错误:检查日志以获取详细信息错误:com.android.tools.aapt2.Aapt2Exception:AAPT2错误:检查日志以获取详细信息错误:执行失败for task':milla:processDebugAndroidTestResources'.无法执行aapt信息:9错误信息:2秒内建立失败信息:1警告信息:在控制台中查看完整输出
如何解决这个问题?我的依赖
dependencies {
    compile fileTree(include: ['*.jar'], dir: 'libs')
    androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
        exclude group: 'com.android.support', module: 'support-annotations'
    })
    compile 'de.hdodenhof:circleimageview:2.2.0'
    compile('com.alibaba.android:ultraviewpager:1.0.6.1@aar') {
        transitive = true
    }
    compile('org.apache.httpcomponents:httpmime:4.3.6') {
        exclude module: 'httpclient'
    }
    compile 'com.synnapps:carouselview:0.1.4'
    compile 'com.sun.mail:android-mail:1.5.5'
    compile 'com.sun.mail:android-activation:1.5.5'
    implementation 'com.muddzdev:styleabletoast:2.0.2'
    compile 'javax.annotation:javax.annotation-api:1.2'
    compile 'me.grantland:autofittextview:0.2.+'
    // base library
     //slider
    compile 'com.ss.bannerslider:bannerslider:1.8.0'
    //noinspection GradleCompatible
    compile 'jp.wasabeef:recyclerview-animators:2.2.7'
    compile 'com.android.support:multidex:1.0.1'
    compile 'com.squareup.picasso:picasso:2.5.2'
    compile 'com.google.code.gson:gson:2.6.2'
    compile 'com.github.satyan:sugar:1.4'
    compile 'com.android.support:multidex:1.0.1'
    compile 'com.squareup.picasso:picasso:2.5.2'
    compile 'com.android.support:percent:26.1.0'
    compile 'com.google.code.gson:gson:2.6.2'
    compile 'com.github.satyan:sugar:1.4'
    compile 'jp.wasabeef:recyclerview-animators:2.2.6'
    compile 'pl.droidsonroids.gif:android-gif-drawable:1.1.+'
    compile …我正按照此处的说明尝试发布我的Android应用:
http://ionicframework.com/docs/guide/publishing.html
但是,当我运行cordova build --release android时,我收到以下错误:
:lintVitalArmv7Release
/Users/xxx/Documents/xxx/xxx/platforms/android/res/values/arrays.xml:3: Error: "country_codes" is not translated in "ar" (Arabic), "bg" (Bulgarian), "ca" (Catalan), "cs" (Czech), "da" (Danish), "de" (German), "el" (Greek), "es" (Spanish), "eu" (Basque), "fi" (Finnish), "fr" (French), "he" (Hebrew), "hi" (Hindi), "hu" (Hungarian), "id" (Indonesian), "it" (Italian), "iw" (Hebrew), "ja" (Japanese), "ko" (Korean), "nl" (Dutch), "pl" (Polish), "pt" (Portuguese), "ru" (Russian), "sk" (Slovak), "sl" (Slovene), "sv" (Swedish), "tr" (Turkish), "zh-rCN" (Chinese: China), "zh-rTW" (Chinese: Taiwan, Province of China) [MissingTranslation]
  <string-array name="country_codes"> …在Firebase主要版本更新后,尤其是2019年6月17日更新之后,我无法编译Ionic Cordova App。
我尝试降级到Android Cordova 6.3.0,但我的项目必须为7.0.0。
这是我的离子信息:
@ionic/cli-utils  : 1.19.2
    ionic (Ionic CLI) : 3.20.0
global packages:
    cordova (Cordova CLI) : 8.0.0
local packages:
    @ionic/app-scripts : 3.2.1
    Cordova Platforms  : android 7.0.0 browser 5.0.4
    Ionic Framework    : ionic-angular 3.9.3
System:
    Android SDK Tools : 26.1.1
    Node              : v8.9.1
    npm               : 5.5.1
    OS                : Windows 10
Environment Variables:
    ANDROID_HOME : C:\Development\android-sdk
Misc:
    backend : pro
这是我得到的错误:
:app:processDebugResources C:\ Users \ mmzep.gradle \ caches \ transforms-1 \ files-1.1 \ core-1.0.0.aar \ 73b4a83ab5e76f20c84a66b1c8444d08 …
任何人都可以帮助为什么会出错?
一切都很好,突然间出现了这个错误.
我用Google搜索但无法得到任何东西!请帮忙
错误:(7,41)找不到与给定名称匹配的资源(在'dialogCornerRadius'中,值为'?android:attr/dialogCornerRadius').
apply plugin: 'com.android.application'
//Add these lines
def Base_URL = '"' + WEBServiceBaseURL + '"' ?: '"Define BASE URL"';
def SMS_Base_URL = '"' + WEBServiceBaseSMSURL + '"' ?: '"Define SMS BASE URL"';
android.buildTypes.each { type ->
    type.buildConfigField 'String', 'Base_URL', WEBServiceBaseURL
    type.buildConfigField 'String', 'SMS_Base_URL', WEBServiceBaseSMSURL
}
android {
    compileSdkVersion 26
    buildToolsVersion "26.0.1"
    defaultConfig {
        applicationId "com.bla.bla"
        minSdkVersion 19
        targetSdkVersion 26
        versionCode 1
        versionName "1.0"
        testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
        multiDexEnabled  true
    }
    buildTypes {
        release {
            minifyEnabled true
            shrinkResources true
            proguardFiles …我跑的时候
离子cordova构建android --prod
它显示以下错误:
    ERROR: In <declare-styleable> FontFamilyFont, unable to find attribute android:fontVariationSettings
ERROR: In <declare-styleable> FontFamilyFont, unable to find attribute android:ttcIndex
    FAILED
    FAILURE: Build failed with an exception.
    * What went wrong:
    Execution failed for task ':processDebugResources'.
    > com.android.ide
.common.process.ProcessException: Failed to execute aapt
* Try:
Run with 
--stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
Total time: 9.11 secs
Error: /Users/cqismgis/Desktop/MobileGIS/platforms/android/gradlew: Command failed with exit code …我正在创建一个Ionic App,在浏览器中模拟它工作正常,但是一旦我尝试在android上构建它就失败了.看起来像AATP的一些错误,但我无法弄清楚,为什么会发生这种情况......这是错误日志:
Running app-scripts build: --platform android --target cordova
[00:03:39]  build dev started ... 
[00:03:39]  clean started ... 
[00:03:39]  clean finished in 36 ms 
[00:03:39]  copy started ... 
[00:03:39]  deeplinks started ... 
[00:03:39]  deeplinks finished in 46 ms 
[00:03:39]  transpile started ... 
[00:03:43]  transpile finished in 4.22 s 
[00:03:43]  preprocess started ... 
[00:03:43]  preprocess finished in 1 ms 
[00:03:43]  webpack started ... 
[00:03:43]  copy finished in 4.49 s 
[00:03:50]  webpack finished in 6.46 s 
[00:03:50]  sass started ... 
Without `from` …任务':app:processDebugResources'的执行失败.
执行"ionic cordova build android"时会出现此错误.搜索了很长时间但没有运气.有人可以帮忙吗?
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:processDebugResources'.
> Failed to execute aapt
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --
debug option to get more log output.
* Get more help at https://help.gradle.org
BUILD FAILED in 4m 18s
(node:9516) [DEP0018] DeprecationWarning: Unhandled promise rejections are 
deprecated. In the future, promise rejections that are not handled will 
terminate the Node.js …我已经在我的计算机上开始了一个新项目,但我已经无法为Android构建了
我跑的时候
ionic cordova platform run android
我收到此错误:
All flavors must now belong to a named flavor dimension. 
运行命令"ionic cordova build android --stacktrace"时出现以下错误:
:generateDebugResources
:mergeDebugResources
:processDebugManifest
:processDebugResources
ERROR: In <declare-styleable> FontFamilyFont, unable to find attribute android:fontVariationSettings
 FAILED
ERROR: In <declare-styleable> FontFamilyFont, unable to find attribute android:ttcIndex
I am using following tools on Window's:
 Editor : VScode
Ionic: C:\Users\xyz>ionic -version
3.19.1
Npm as packagemanager
项目属性:
target=android-26
cordova.system.library.1=com.google.android.gms:play-services-analytics:+
cordova.system.library.2=com.facebook.android:facebook-android-sdk:4.+
cordova.gradle.include.1=cordova-plugin-appsflyer-sdk/customerapp-cordovaAF.gradle
cordova.gradle.include.2=twitter-connect-plugin/customerapp-twitter.gradle
cordova.system.library.3=com.android.support:support-v4:26.+
cordova.system.library.4=com.android.support:appcompat-v7:26.+
cordova.system.library.5=com.android.support:support-v4:24.1.1+
cordova.system.library.6=com.android.support:support-v4:+
android.library.reference.1=CordovaLib
D:\wamp\www\moodle35>cordova build android cordova-android-support-gradle-release: Android platform: V7.1.2+ cordova-android-support-gradle-release: Wrote custom version '27.1.0' to D:\wamp\www\moodle35\platforms\android\app\build.gradle cordova-android-support-gradle-release: Wrote custom version '27.1.0' to D:\wamp\www\moodle35\platforms\android\app\src\main\cordova-android-su port-gradle-release\properties.gradle Android Studio project detected cordova-android-support-gradle-release: Android platform: V7.1.2+ cordova-android-support-gradle-release: Wrote custom version '27.1.0' to D:\wamp\www\moodle35\platforms\android\app\build.gradle cordova-android-support-gradle-release: Wrote custom version '27.1.0' to D:\wamp\www\moodle35\platforms\android\app\src\main\cordova-android-su port-gradle-release\properties.gradle ANDROID_HOME=C:\Users\nageswararao.veerank.HSMUMSZ\AppData\Local\Android\Sdk JAVA_HOME=C:\Program Files\Java\jdk1.8.0_181 studio Starting a Gradle Daemon, 1 incompatible Daemon could not be reused, use --status for details
BUILD SUCCESSFUL in 15s
1 actionable task: 1 executed
Subproject Path: CordovaLib
Subproject Path: app
Starting …我正在学习如何通过测试应用程序使用Ionic,但我已经有两天这个问题了.我寻找可能的解决方案,但没有一个对我有用.
当我想在我的Android手机上测试我的应用程序时出现问题.使用此命令时ionic cordova run android,会给我以下错误
FAILURE:构建因异常而失败.
什么地方出了错:
任务'执行失败':CordovaLib:processDebugResources'.com.android.ide.common.process.ProcessException:无法执行aapt
[错误]运行cordova run android时出错(退出代码1).
我不确定是什么问题.我的应用程序非常简单,它基于Ionic的模板ionic start myApp tabs,我正在使用Ionic本机插件Geolocation.
我跑了ionic info然后回来了
cli packages:
    @ionic/cli-utils  : 1.19.0
    ionic (Ionic CLI) : 3.19.0
global packages:
    cordova (Cordova CLI) : 7.1.0
local packages:
    @ionic/app-scripts : 3.1.4
    Cordova Platforms  : android 6.3.0
    Ionic Framework    : ionic-angular 3.9.2
我还检查了Cordova官方的Android开发文档,我的Java和Android路径也没问题.
另外随着ionic cordova requirements一切看起来是OK.
Java JDK: installed 1.8.0
Android SDK: installed true
Android target: installed android-26,android-25,android-23
Gradle: installed C:\Program …