Open tordnilsen opened 6 years ago
Hello, how did you start the build? With --release and --prod? If yes, perhaps you try it without first.
Did the build work before you added the Wikitude Plugin?
Regards, Philipp
2018-02-19 19:26 GMT+01:00 tordnilsen notifications@github.com:
Hi Finally after much trouble I have installed the plugin. (I had to manually download it from wikitude website and do a local install because of the size) Now, when I try to build for Android, I'm getting `[19:19:28] build dev started ... [19:19:35] clean started ... [19:19:35] clean finished in 6 ms [19:19:35] copy started ... [19:19:47] deeplinks started ... [19:20:01] deeplinks finished in 14.70 s [19:20:01] transpile started ...
<--- Last few GCs --->
174622 ms: Mark-sweep 1351.6 (1434.4) -> 1351.6 (1434.4) MB, 2616.7 / 0.0 ms [allocation failure] [GC in old space requested]. 177172 ms: Mark-sweep 1351.6 (1434.4) -> 1351.6 (1434.4) MB, 2549.4 / 0.0 ms [allocation failure] [GC in old space requested]. 180036 ms: Mark-sweep 1351.6 (1434.4) -> 1355.7 (1418.4) MB, 2863.4 / 0.0 ms [last resort gc]. 182650 ms: Mark-sweep 1355.7 (1418.4) -> 1360.1 (1418.4) MB, 2614.3 / 0.0 ms [last resort gc].
<--- JS stacktrace --->
==== JS stack trace =========================================
Security context: 00000234827CFB49 2: / anonymous / [C:\Users\dev\WikitudeIonic3StarterApp\node_ modules\typescript\lib\typescript.js:28463] [pc=000002F397E3481B] (this=000003FD0B08D709 ,symbol=0000032A3089DCE1 <a SymbolObject with map 0000015D52439A49>,id=000000CF93849989 <String[6]: length>) 3: arguments adaptor frame: 3->2 4: forEach [native collection.js:~335] [pc=000002F397AB7A5B] (this...
FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory`
Any clue on what to do?
Thanks for repo
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/pbreuss/wikitude-ionic-3-starter-app/issues/3, or mute the thread https://github.com/notifications/unsubscribe-auth/AD1eaE5Y7qSNETCnh107b2BLa0Z1FLevks5tWbzmgaJpZM4SK82H .
In config.xml at the root of your application, you have to change this line :
<preference name="android-minSdkVersion" value="16" />
and update the value to 19, so you should have :
<preference name="android-minSdkVersion" value="19" />
Worked for me.
@Hayanno thanks, that worked for me as well
Hi Finally after much trouble I have installed the plugin. (I had to manually download it from wikitude website and do a local install because of the size) Now, when I try to build for Android, I'm getting
Manifest merger failed : uses-sdk:minSdkVersion 16 cannot be smaller than version 19 declared in library [:wikitudesdk
Any clue on what to do?
Thanks for repo