Van*_*anz 2 android android-emulator ionic-framework capacitor
我正在 android 模拟器上尝试 Ionic 5 应用程序。
命令:ionic capacitor run android -l --external
错误:
FAILURE: Build failed with an exception.
What went wrong:
Execution failed for task ':app:processDebugMainManifest'.
> Manifest merger failed : uses-sdk:minSdkVersion 21 cannot be smaller than version 23 declared in library [androidx.security:security-crypto:1.0.0]
Run Code Online (Sandbox Code Playgroud)
模拟器:
Name: Pixel_2_API_27 CPU/ABI:
Google APIs Intel Atom (x86)
Target: google_apis [Google APIs] (API level 27)
Skin: pixel_2
SD Card: 100M
Run Code Online (Sandbox Code Playgroud)
包.json:
"@ionic/angular": "^5.5.2"
"@ionic-native/core": "^5.34.0",
Run Code Online (Sandbox Code Playgroud)
在Ionic 4之前我们可以更改 config.xml
<preference name="android-minSdkVersion" value="23" />
Run Code Online (Sandbox Code Playgroud)
但在Ionic 5中我不知道如何改变它。
| 归档时间: |
|
| 查看次数: |
4265 次 |
| 最近记录: |