Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Android build fails ref #180 #184

Closed
fabioz23 opened this issue Mar 9, 2016 · 8 comments
Closed

Android build fails ref #180 #184

fabioz23 opened this issue Mar 9, 2016 · 8 comments

Comments

@fabioz23
Copy link

fabioz23 commented Mar 9, 2016

ref #180

@fabioz23
Copy link
Author

fabioz23 commented Mar 9, 2016

I've tried on a fresh mac (third pc), installed xcode, node, android studio. Then i've installed npm packages.
I've installed ionic 1.7.0 as suggested in other issues.

But when I launch: ionic build android
I obtain:

Error: The provided path "/Users/fabio/Downloads/zmNinja/platforms/android" is not an Android project.

System info:

Cordova CLI: 6.0.0
Gulp version:  CLI version 3.9.1
Gulp local:   Local version 3.9.1
Ionic Version: 1.1.0
Ionic CLI Version: 1.7.0
Ionic App Lib Version: 0.5.1-beta.0
ios-deploy version: Not installed
ios-sim version: Not installed
OS: Mac OS X El Capitan
Node Version: v4.3.2
Xcode version: Not installed

This isn't a single machine related problem, everyone follows the step on a newly installed environment can obtain this problem!

It's sad reading that you aren't interested on finding new problems.

@pliablepixels
Copy link
Member

@fabioz23 - if you go with the compile from source option, you need to know what you are doing. You've posted compilation issues before, and I've tried to help. However, I just don't have the time to figure out why compilation is not working for you - I expect folks who want to compile to have development expertise and debug on their own. Those who don't should either use the desktop version (which is free) or buy the mobile app. I put out the source code for people to use it free if they want, but that does not mean I am going to start solving their compilation problems. That is your responsibility.

Like I've told you, the SDK toolchain I use and the version of tools I use works. Its very possible you are using some other version somewhere - to solve it for you, I need to set up what you have and I don't have the time for that at this stage. In future, when i upgrade all my dev toolchains, I'll solve this, but I can't say when.

I'd be happy for folks to fix this problem and submit a PR .

@fabioz23
Copy link
Author

fabioz23 commented Mar 9, 2016

Ok, I'll debug (freely) the problem.

I need only 2 infos:

  • the info on your (working) environment, nodejs, ionic, OS, andorid sdk, etc
  • I don't know ionic framework, how can I increase verbosity since it don't print many info on the error?

Thanks

@pliablepixels
Copy link
Member

$ ionic info

Your system information:

Cordova CLI: 5.3.1
Ionic Version: 1.1.0
Ionic CLI Version: 1.7.0
Ionic App Lib Version: 0.5.1-beta.0
ios-deploy version: Not installed
ios-sim version: 5.0.2 
OS: Mac OS X El Capitan
Node Version: v0.12.4
Xcode version: Xcode 7.2.1 Build version 7C1002 

node --version

v0.12.4

android studio 1.2.1.1

output of android list
https://gist.github.com/pliablepixels/c1b1c27eaff48f732b3d

with respect to verbosity, ionic is just a wrapper around cordova. ionic build -d produces more verbose outputs

@fabioz23
Copy link
Author

fabioz23 commented Mar 9, 2016

which JDK are you using with Android Studio 1.2.1.1?

With the latest jdk 8 it don't start.

@pliablepixels
Copy link
Member

1.6.0_65

@fabioz23
Copy link
Author

OK, problem found.

Using [email protected] causes failing in the build process.

Installing [email protected] all went fine.

@pliablepixels
Copy link
Member

sounds good.

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

No branches or pull requests

2 participants