Skip to content
This repository has been archived by the owner on May 1, 2020. It is now read-only.

Not able to build in android #259

Closed
jthoms1 opened this issue Oct 28, 2016 · 6 comments · May be fixed by andypopa/ionic-app-scripts#5
Closed

Not able to build in android #259

jthoms1 opened this issue Oct 28, 2016 · 6 comments · May be fixed by andypopa/ionic-app-scripts#5

Comments

@jthoms1
Copy link
Member

jthoms1 commented Oct 28, 2016

From @jayeshanandani on October 21, 2016 7:5

Note: for support questions, please use one of these channels:

https://forum.ionicframework.com/
http://ionicworldwide.herokuapp.com/

Note: for build related issues you can open up an issue on the ionic-app-scripts repo

https://github.com/driftyco/ionic-app-scripts

Short description of the problem:

When I try to build in android I encounter the below-mentioned error in the image. Same works in ionic ios build.

What behavior are you expecting?

Build should pass.

Steps to reproduce:

  1. Clone ionic-conference-app
  2. Run ionic build android
  3. See error in console.
insert any relevant code between the above and below backticks

Post the output of ionic info below please
capture

Other information: (e.g. stacktraces, related issues, suggestions how to fix, stackoverflow links, forum links, etc)

Copied from original issue: ionic-team/ionic-cli#1571

@jthoms1
Copy link
Member Author

jthoms1 commented Oct 28, 2016

From @sfraga94 on October 21, 2016 10:50

Same problem

@jthoms1
Copy link
Member Author

jthoms1 commented Oct 28, 2016

From @vintage on October 21, 2016 11:37

You can try temporary solution which I've put in ionic-team/ionic-cli#1574

@jthoms1
Copy link
Member Author

jthoms1 commented Oct 28, 2016

Could you provide me with the output from ionic info from within your project directory? Thanks, this should help in troubleshooting.

@jayeshanandani
Copy link

@jthoms1 : Below is the attached screenshot for ionic info

image

@danbucholtz
Copy link
Contributor

@jayeshanandani,

Please remove the ^ character for your package.json file. Angular ahead-of-time compiler broke something on us so we had to stop relying on their wildcard for now.

Go to 2.0.0 and everything should work.

Thanks,
Dan

@jayeshanandani
Copy link

@danbucholtz : Yes that works fine if we remove that ^ character.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants