Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70642

Ionic 6 blank project => capacitor => add android => build => blank

$
0
0

any help to setup env to build on windwos with android studio ??

Ionic:

Ionic CLI : 6.16.2 (C:\Users\XXX\AppData\Roaming\npm\node_modules@ionic\cli)
Ionic Framework : @ionic/angular 6.0.3
@angular-devkit/build-angular : 13.0.4
@angular-devkit/schematics : 13.0.4
@angular/cli : 13.0.4
@ionic/angular-toolkit : 5.0.3

Capacitor:

Capacitor CLI : 3.4.0
@capacitor/android : 3.4.0
@capacitor/core : 3.4.0
@capacitor/ios : not installed

Utility:

cordova-res : 0.15.1
native-run : 1.5.0

System:

NodeJS : v16.13.2 (C:\Program Files\nodejs\node.exe)
npm : 8.1.2
OS : Windows 10

E/Capacitor/Console: File: http://localhost/ - Line 287 - Msg: SyntaxError: Unexpected token .
E/Capacitor: JavaScript Error: {“type”:“js.error”,“error”:{“message”:“Uncaught SyntaxError: Unexpected token .”,“url”:“http://localhost/vendor.js",“line”:27056,“col”:38,“errorObject”:"{}”}}
E/Capacitor/Console: File: http://localhost/vendor.js - Line 27056 - Msg: Uncaught SyntaxError: Unexpected token .

chrome://inspect/#devices

console

localhost/:287 SyntaxError: Unexpected token .

        cap.logToNative = createLogToNative(win.console);
        cap.logFromNative = createLogFromNative(win.console);
        cap.handleError = err => win.console.error(err);
        win.Capacitor = cap;

ideas ?

9 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 70642

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>