我的 Ionic/Angular 项目在 Android 上运行时遇到问题。尝试使用全新安装的 Node、Angular、Ionic、Android studio、Ionic 的新项目(选项卡)来排除故障。
\n仍然无法运行,我\xe2\x80\x99已经卡了两天了。我现在收到以下错误。
\nnpx cap run android --stacktrace --info\n\xe2\x88\x9a Copying web assets from www to android\\app\\src\\main\\assets\\public in 3.40s\n\xe2\x88\x9a Creating capacitor.config.json in android\\app\\src\\main\\assets in 3.15ms\n\xe2\x88\x9a copy android in 3.48s\n\xe2\x88\x9a Updating Android plugins in 10.59ms\n[info] Found 4 Capacitor plugins for android:\n @capacitor/app@1.0.3\n @capacitor/haptics@1.0.3\n @capacitor/keyboard@1.0.3\n @capacitor/status-bar@1.0.3\n\xe2\x88\x9a update android in 148.19ms\n\xc3\x97 Running Gradle build - failed!\n[error] WARNING:: Using flatDirs should be avoided because it doesn't support any meta-data formats.\n Currently detected usages:\n - repository flatDir used …Run Code Online (Sandbox Code Playgroud)