简体   繁体   中英

Configure Eclipse for Phonegap build

I am new to Phonegap and have succesfully created my first app and compiled first on-line then set up phonegap, android SDK etc locally so I can build and run the app in the emulator using 'phonegap run android' at the command prompt (windows).

For an IDE I installed Eclipse and imported the project. I can now run the project from within Eclipse.

However I am really struggling with the Eclipse build. It's taken days already to solve all the problems and get to this stage but I've reached the point where I can't make progress although it would seem so simple.

The build project option is disabled. It turns on if I add something under 'Builders' under 'Configure Build Path...' but I have no idea what I should be doing here.

I can go back to the CMD prompt and build, refresh in Eclipse and run the modified version but this can't be the right way to do it?

I just need to tell Eclipse to 'phonegap build'. But how?

When you create a project using PhoneGap it creates a Gradle based build which can be opened in Android Studio or IntelliJ IDEA . I recommend using Android Studio for PhoneGap projects.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM