Ask A Question

Questions

2

Ionic 3, Build failed for Android

*Error:* "No build artefacts found for Android" Any suggestions as to why we can't get an APK file? iOS appears to build fine, but Android fails. *Build Log:* ``` ... Got Ionic version from package.json: ^3.0.0 Using Ionic 3.5.0 Using Cordova 6.5.0 == Removing platform 'android' == == Adding platform 'android' == [INFO] CLI Flag --confirm saved [WARN] Careful with --confirm. Some auto-confirmed actions are destructive. > cordova platform add android --save ✔ Running command - done! ... Saving android@~6.2.2 into config.xml file ... ✔ Copying default image resources into ./resources/android - done! == Building for Android == Running app-scripts build: --iscordovaserve --externalIpRequired --nobrowser [12:32:06] build dev started ... [12:32:06] clean started ... [12:32:06] clean finished in 1 ms [12:32:06] copy started ... [12:32:06] transpile started ... [12:32:12] transpile finished in 6.04 s [12:32:12] preprocess started ... [12:32:12] deeplinks started ... [12:32:13] deeplinks finished in 292 ms [12:32:13] preprocess finished in 294 ms [12:32:13] webpack started ... [12:32:21] copy finished in 14.44 s [12:32:31] webpack finished in 18.20 s [12:32:31] sass started ... [12:32:34] sass finished in 2.61 s [12:32:34] postprocess started ... [12:32:34] postprocess finished in 5 ms [12:32:34] lint started ... [12:32:34] build dev finished in 27.22 s > cordova build android --debug ✔ Running command - done! [12:32:37] lint finished in 3.28 s == Gathering artefacts == == Publishing artefacts == Publishing artefact Mobile_7.zip to Nevercode Build failed :| No build artefacts found for Android ```

Posted by Nicholas 26 days ago