Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to create/build local app with Phonegap CLI

I'm trying to develop a Phonegap Application(Android/IOS).

I've already created 1 private app in Phonegap Build. So now I'm getting an error saying

[phonegap] detecting Android SDK environment...
[phonegap] using the remote environment
[phonegap] compressing the app...
[phonegap] uploading the app...
[error] {"error":"Private app limit reached"}

How to create public app using Phonegap CLI.

like image 322
Rahmathullah M Avatar asked Oct 19 '13 11:10

Rahmathullah M


People also ask

What is the PhoneGap build?

PhoneGap is a software development framework by Adobe System, which is used to develop mobile applications. To develop apps using PhoneGap, the developer does not require to have knowledge of mobile programming language but only web-development languages like, HTML, CSS, and JScript.

Why was PhoneGap discontinued?

Since 2008, the industry and market has evolved and PhoneGap usage has declined. “In the context of these developments and declining PhoneGap usage, Adobe is focusing on providing a platform that enables developers to build, extend, customize and integrate with Adobe products,” the company wrote in a post.


2 Answers

Updated Answer

phonegap build android

or

cordova build android

For release build:

cordova build android --release

[Deprecated]

Here's the solution. It might help somebody else.

We don't have to create public app. Create an app and build it locally. In order to build the app locally using CLI, use the following command

>phonegap local build android
[phonegap] adding the Android platform...
[phonegap] compiling Android...
[phonegap] successfully compiled Android app
like image 163
Rahmathullah M Avatar answered Nov 23 '22 08:11

Rahmathullah M


The command phonegap local <command> has been DEPRECATED

Instead please try this command "cordova build android"

like image 27
Divyaadz Avatar answered Nov 23 '22 08:11

Divyaadz