如何修复'AAPT:在包'android'中找不到属性'targetSandboxVersion'的资源标识符

时间:2019-02-11 11:35:40

标签: cordova ionic-framework ionic3

我正在尝试为android构建ionic / cordova应用程序,并遇到以下错误(需要在清单中添加android:targetSandboxVersion =“ 2”):

AAPT: No resource identifier found for attribute 'targetSandboxVersion' in package 'android'

我尝试过:

cordova plugin add cordova-android-support-gradle-release --variable ANDROID_SUPPORT_VERSION=27.+

离子信息:

cli packages: (/usr/local/lib/node_modules)

@ionic/cli-utils  : 1.16.0
ionic (Ionic CLI) : 3.16.0

global packages:

cordova (Cordova CLI) : 7.0.1 

local packages:

@ionic/app-scripts : 3.2.0
Cordova Platforms  : android 6.2.3 browser 5.0.4
Ionic Framework    : ionic-angular 3.9.2

System:

Android SDK Tools : 26.1.1
Node              : v8.9.1
npm               : 6.5.0 
OS                : macOS
Xcode             : Xcode 10.1 Build version 10B61 

Environment Variables:

ANDROID_HOME : /Users/paulovitorbragapessoa/Library/Android/sdk

Misc:

backend : pro

0 个答案:

没有答案