poojitha
poojitha

Reputation: 335

Compile error in phonegap , an error while building?

enter image description here

I'm trying to complie an app using phonegap , i keep getting the following error..any idea?

enter image description here

Upvotes: 0

Views: 56

Answers (2)

poojitha
poojitha

Reputation: 335

The reason was that i was using 64 bit version of ubuntu did this and worked fine. Thanks guys

sudo apt-get install libc6-i386 lib32stdc++6 lib32gcc1 lib32ncurses5 lib32z1

Upvotes: 0

Amit Prajapati
Amit Prajapati

Reputation: 14335

type this on terminal or commant prommpt:

touch ~/.bash_profile; open ~/.bash_profile

Simple follow this link http://docs.phonegap.com/en/2.9.0/guide_getting-started_android_index.md.html

It will open one editor. than

Edit the path of sdk tools and platform-tools and add Ant path



export ANDROID_HOME="$HOME/android-bundle/sdk/tools"
export ANDROID_PLATFORM_TOOLS="$HOME/android-bundle/sdk/platform-tools"
export PATH="$ANDROID_HOME:$ANDROID_PLATFORM_TOOLS:$PATH"

export ANT_HOME="$HOME/ant"
export PATH="$PATH:$ANT_HOME/bin"

Upvotes: 1

Related Questions