我正在尝试为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