You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by Krishnendu Sekhar Das <kr...@indusnet.co.in> on 2015/08/06 17:33:30 UTC

Query About Cordova rule

Hi,

I have a small doubt. please guide me.

I have purchases a plugin. the plugin is not auto configurable. I have try
to configure it manually in Apache Cordova 5.1.1

In plugin documentation I found that It says

*"In your main activity in /platforms/android/src that extends
CordovaActivity, you need to replace extends CordovaActivity with extends
com.xxx.mobilepush.cordova.MobilePushCordovaActivity." *

after this change I got an error on command prompt  in "cordova build" like
this

D:\Project\indusnet\xtify>cordova build
Error: No Java files found which extend CordovaActivity.
    at android_parser.update_from_config
(C:\Users\Krishnendu\AppData\Roaming\np
m\node_modules\cordova\node_modules\cordova-lib\src\cordova\metadata\android_par
ser.js:270:13)
    at android_parser.update_project
(C:\Users\Krishnendu\AppData\Roaming\npm\no
de_modules\cordova\node_modules\cordova-lib\src\cordova\metadata\android_parser.
js:335:14)
    at
C:\Users\Krishnendu\AppData\Roaming\npm\node_modules\cordova\node_modules
\cordova-lib\src\cordova\prepare.js:126:27
    at Array.map (native)
    at
C:\Users\Krishnendu\AppData\Roaming\npm\node_modules\cordova\node_modules
\cordova-lib\src\cordova\prepare.js:70:40
    at _fulfilled
(C:\Users\Krishnendu\AppData\Roaming\npm\node_modules\cordova\
node_modules\q\q.js:787:54)
    at self.promiseDispatch.done
(C:\Users\Krishnendu\AppData\Roaming\npm\node_m
odules\cordova\node_modules\q\q.js:816:30)
    at Promise.promise.promiseDispatch
(C:\Users\Krishnendu\AppData\Roaming\npm\
node_modules\cordova\node_modules\q\q.js:749:13)
    at
C:\Users\Krishnendu\AppData\Roaming\npm\node_modules\cordova\node_modules
\q\q.js:557:44
    at flush
(C:\Users\Krishnendu\AppData\Roaming\npm\node_modules\cordova\node_
modules\q\q.js:108:17)


My Question is:

1) Is this break any rule of cordova? we didn't get any error from direct
build from eclipse.
2) Kindly share with me official guide line of cordova.


-- 

Krishnendu Sekhar Das

*Sr. Software Developer*

*Hybrid App Team*
(+91)983-679-5387  krishnendu.sekhardas@indusnet.co.in
krishnendusekhardas.int

info@indusnet.co.in || www.indusnet.co.in || www.indusnet.co.in/blog
<http://www.indusnet.co.in/buzz>
INDIA | UK | USA | SINGAPORE
+91 33 2357 6070






Connect with us*
<http://t.signalequattro.com/e1t/c/5/f18dQhb0S7lC8dDMPbW2n0x6l2B9nMJW7t5XYg1q7q7xW3M2cLW5vwsYlW3Mx_5x56dRc2dLXZxH02?t=https%3A%2F%2Fwww.facebook.com%2FIndusNetTechnologies&si=6491966819270656&pi=1b933b97-6819-42b4-faa8-ac5a3d7949a5>
<http://t.signalequattro.com/e1t/c/5/f18dQhb0S7lC8dDMPbW2n0x6l2B9nMJW7t5XYg1q7q7xW3M2cLW5vwsYlW3Mx_5x56dRc2dLXZxH02?t=https%3A%2F%2Ftwitter.com%2Findusnettech&si=6491966819270656&pi=1b933b97-6819-42b4-faa8-ac5a3d7949a5>
<http://t.signalequattro.com/e1t/c/5/f18dQhb0S7lC8dDMPbW2n0x6l2B9nMJW7t5XYg1q7q7xW3M2cLW5vwsYlW3Mx_5x56dRc2dLXZxH02?t=http%3A%2F%2Fin.linkedin.com%2Fcompany%2Findus-net-technologies&si=6491966819270656&pi=1b933b97-6819-42b4-faa8-ac5a3d7949a5>
<http://t.signalequattro.com/e1t/c/5/f18dQhb0S7lC8dDMPbW2n0x6l2B9nMJW7t5XYg1q7q7xW3M2cLW5vwsYlW3Mx_5x56dRc2dLXZxH02?t=https%3A%2F%2Fplus.google.com%2F%2Bindusnettechnologies&si=6491966819270656&pi=1b933b97-6819-42b4-faa8-ac5a3d7949a5>
<http://t.signalequattro.com/e1t/c/5/f18dQhb0S7lC8dDMPbW2n0x6l2B9nMJW7t5XYg1q7q7xW3M2cLW5vwsYlW3Mx_5x56dRc2dLXZxH02?t=http%3A%2F%2Fwww.youtube.com%2Fuser%2FTheINTVideos&si=6491966819270656&pi=1b933b97-6819-42b4-faa8-ac5a3d7949a5>
<http://t.signalequattro.com/e1t/c/5/f18dQhb0S7lC8dDMPbW2n0x6l2B9nMJW7t5XYg1q7q7xW3M2cLW5vwsYlW3Mx_5x56dRc2dLXZxH02?t=http%3A%2F%2Fwww.indusnet.co.in%2Fblog&si=6491966819270656&pi=1b933b97-6819-42b4-faa8-ac5a3d7949a5>*

Rated #1 IT SME in India by Dun & Bradstreet || Deloitte Technology Fast
500 Asia Pacific 2010, 2011
ISO 9001:2008 || ISO 27001:2005 Certified || Google Partner

This message contains information that may be privileged or confidential
and is the property of the INDUS NET TECHNOLOGIES. It is intended only for
the person to whom it is addressed. If you are not the intended recipient,
you are not authorized to read, print, retain copy, disseminate,
distribute, or use this message or any part thereof. If you receive this
message in error, please notify the sender immediately and delete all
copies of this message. INDUS NET TECHNOLOGIES does not accept any
liability for virus infected mails.

Re: Query About Cordova rule

Posted by Victor Sosa <so...@gmail.com>.
hi Krishnendu

This is a mailing list for Cordova development itself, not support for
developer who use Cordova (we try to keep things clean for us to follow up
properly).
As Jesse said, you can also contact your plugin vendor, who frankly will
have better support than us since they know the plugin ;-)
Please, post your question on StackOverflow, Google Group or any other
community, there are many more developers out there than in here.

On Thu, Aug 6, 2015 at 1:32 PM Jesse <pu...@gmail.com> wrote:

> Hi Krishnendu,
>
> You will need to talk to whoever you purchased the plugin from.  I have no
> idea what they are doing.
>
> Cheers,
>   Jesse
>
>
>
> My team is hiring!
> @purplecabbage
> risingj.com
>
> On Thu, Aug 6, 2015 at 8:33 AM, Krishnendu Sekhar Das <
> krishnendu.sekhardas@indusnet.co.in> wrote:
>
> > Hi,
> >
> > I have a small doubt. please guide me.
> >
> > I have purchases a plugin. the plugin is not auto configurable. I have
> try
> > to configure it manually in Apache Cordova 5.1.1
> >
> > In plugin documentation I found that It says
> >
> > *"In your main activity in /platforms/android/src that extends
> > CordovaActivity, you need to replace extends CordovaActivity with extends
> > com.xxx.mobilepush.cordova.MobilePushCordovaActivity." *
> >
> > after this change I got an error on command prompt  in "cordova build"
> like
> > this
> >
> > D:\Project\indusnet\xtify>cordova build
> > Error: No Java files found which extend CordovaActivity.
> >     at android_parser.update_from_config
> > (C:\Users\Krishnendu\AppData\Roaming\np
> >
> >
> m\node_modules\cordova\node_modules\cordova-lib\src\cordova\metadata\android_par
> > ser.js:270:13)
> >     at android_parser.update_project
> > (C:\Users\Krishnendu\AppData\Roaming\npm\no
> >
> >
> de_modules\cordova\node_modules\cordova-lib\src\cordova\metadata\android_parser.
> > js:335:14)
> >     at
> > C:\Users\Krishnendu\AppData\Roaming\npm\node_modules\cordova\node_modules
> > \cordova-lib\src\cordova\prepare.js:126:27
> >     at Array.map (native)
> >     at
> > C:\Users\Krishnendu\AppData\Roaming\npm\node_modules\cordova\node_modules
> > \cordova-lib\src\cordova\prepare.js:70:40
> >     at _fulfilled
> > (C:\Users\Krishnendu\AppData\Roaming\npm\node_modules\cordova\
> > node_modules\q\q.js:787:54)
> >     at self.promiseDispatch.done
> > (C:\Users\Krishnendu\AppData\Roaming\npm\node_m
> > odules\cordova\node_modules\q\q.js:816:30)
> >     at Promise.promise.promiseDispatch
> > (C:\Users\Krishnendu\AppData\Roaming\npm\
> > node_modules\cordova\node_modules\q\q.js:749:13)
> >     at
> > C:\Users\Krishnendu\AppData\Roaming\npm\node_modules\cordova\node_modules
> > \q\q.js:557:44
> >     at flush
> > (C:\Users\Krishnendu\AppData\Roaming\npm\node_modules\cordova\node_
> > modules\q\q.js:108:17)
> >
> >
> > My Question is:
> >
> > 1) Is this break any rule of cordova? we didn't get any error from direct
> > build from eclipse.
> > 2) Kindly share with me official guide line of cordova.
> >
> >
> > --
> >
> > Krishnendu Sekhar Das
> >
> > *Sr. Software Developer*
> >
> > *Hybrid App Team*
> > (+91)983-679-5387  krishnendu.sekhardas@indusnet.co.in
> > krishnendusekhardas.int
> >
> > info@indusnet.co.in || www.indusnet.co.in || www.indusnet.co.in/blog
> > <http://www.indusnet.co.in/buzz>
> > INDIA | UK | USA | SINGAPORE
> > +91 33 2357 6070
> >
> >
> >
> >
> >
> >
> > Connect with us*
> > <
> >
> http://t.signalequattro.com/e1t/c/5/f18dQhb0S7lC8dDMPbW2n0x6l2B9nMJW7t5XYg1q7q7xW3M2cLW5vwsYlW3Mx_5x56dRc2dLXZxH02?t=https%3A%2F%2Fwww.facebook.com%2FIndusNetTechnologies&si=6491966819270656&pi=1b933b97-6819-42b4-faa8-ac5a3d7949a5
> > >
> > <
> >
> http://t.signalequattro.com/e1t/c/5/f18dQhb0S7lC8dDMPbW2n0x6l2B9nMJW7t5XYg1q7q7xW3M2cLW5vwsYlW3Mx_5x56dRc2dLXZxH02?t=https%3A%2F%2Ftwitter.com%2Findusnettech&si=6491966819270656&pi=1b933b97-6819-42b4-faa8-ac5a3d7949a5
> > >
> > <
> >
> http://t.signalequattro.com/e1t/c/5/f18dQhb0S7lC8dDMPbW2n0x6l2B9nMJW7t5XYg1q7q7xW3M2cLW5vwsYlW3Mx_5x56dRc2dLXZxH02?t=http%3A%2F%2Fin.linkedin.com%2Fcompany%2Findus-net-technologies&si=6491966819270656&pi=1b933b97-6819-42b4-faa8-ac5a3d7949a5
> > >
> > <
> >
> http://t.signalequattro.com/e1t/c/5/f18dQhb0S7lC8dDMPbW2n0x6l2B9nMJW7t5XYg1q7q7xW3M2cLW5vwsYlW3Mx_5x56dRc2dLXZxH02?t=https%3A%2F%2Fplus.google.com%2F%2Bindusnettechnologies&si=6491966819270656&pi=1b933b97-6819-42b4-faa8-ac5a3d7949a5
> > >
> > <
> >
> http://t.signalequattro.com/e1t/c/5/f18dQhb0S7lC8dDMPbW2n0x6l2B9nMJW7t5XYg1q7q7xW3M2cLW5vwsYlW3Mx_5x56dRc2dLXZxH02?t=http%3A%2F%2Fwww.youtube.com%2Fuser%2FTheINTVideos&si=6491966819270656&pi=1b933b97-6819-42b4-faa8-ac5a3d7949a5
> > >
> > <
> >
> http://t.signalequattro.com/e1t/c/5/f18dQhb0S7lC8dDMPbW2n0x6l2B9nMJW7t5XYg1q7q7xW3M2cLW5vwsYlW3Mx_5x56dRc2dLXZxH02?t=http%3A%2F%2Fwww.indusnet.co.in%2Fblog&si=6491966819270656&pi=1b933b97-6819-42b4-faa8-ac5a3d7949a5
> > >*
> >
> > Rated #1 IT SME in India by Dun & Bradstreet || Deloitte Technology Fast
> > 500 Asia Pacific 2010, 2011
> > ISO 9001:2008 || ISO 27001:2005 Certified || Google Partner
> >
> > This message contains information that may be privileged or confidential
> > and is the property of the INDUS NET TECHNOLOGIES. It is intended only
> for
> > the person to whom it is addressed. If you are not the intended
> recipient,
> > you are not authorized to read, print, retain copy, disseminate,
> > distribute, or use this message or any part thereof. If you receive this
> > message in error, please notify the sender immediately and delete all
> > copies of this message. INDUS NET TECHNOLOGIES does not accept any
> > liability for virus infected mails.
> >
>

Re: Query About Cordova rule

Posted by Jesse <pu...@gmail.com>.
Hi Krishnendu,

You will need to talk to whoever you purchased the plugin from.  I have no
idea what they are doing.

Cheers,
  Jesse



My team is hiring!
@purplecabbage
risingj.com

On Thu, Aug 6, 2015 at 8:33 AM, Krishnendu Sekhar Das <
krishnendu.sekhardas@indusnet.co.in> wrote:

> Hi,
>
> I have a small doubt. please guide me.
>
> I have purchases a plugin. the plugin is not auto configurable. I have try
> to configure it manually in Apache Cordova 5.1.1
>
> In plugin documentation I found that It says
>
> *"In your main activity in /platforms/android/src that extends
> CordovaActivity, you need to replace extends CordovaActivity with extends
> com.xxx.mobilepush.cordova.MobilePushCordovaActivity." *
>
> after this change I got an error on command prompt  in "cordova build" like
> this
>
> D:\Project\indusnet\xtify>cordova build
> Error: No Java files found which extend CordovaActivity.
>     at android_parser.update_from_config
> (C:\Users\Krishnendu\AppData\Roaming\np
>
> m\node_modules\cordova\node_modules\cordova-lib\src\cordova\metadata\android_par
> ser.js:270:13)
>     at android_parser.update_project
> (C:\Users\Krishnendu\AppData\Roaming\npm\no
>
> de_modules\cordova\node_modules\cordova-lib\src\cordova\metadata\android_parser.
> js:335:14)
>     at
> C:\Users\Krishnendu\AppData\Roaming\npm\node_modules\cordova\node_modules
> \cordova-lib\src\cordova\prepare.js:126:27
>     at Array.map (native)
>     at
> C:\Users\Krishnendu\AppData\Roaming\npm\node_modules\cordova\node_modules
> \cordova-lib\src\cordova\prepare.js:70:40
>     at _fulfilled
> (C:\Users\Krishnendu\AppData\Roaming\npm\node_modules\cordova\
> node_modules\q\q.js:787:54)
>     at self.promiseDispatch.done
> (C:\Users\Krishnendu\AppData\Roaming\npm\node_m
> odules\cordova\node_modules\q\q.js:816:30)
>     at Promise.promise.promiseDispatch
> (C:\Users\Krishnendu\AppData\Roaming\npm\
> node_modules\cordova\node_modules\q\q.js:749:13)
>     at
> C:\Users\Krishnendu\AppData\Roaming\npm\node_modules\cordova\node_modules
> \q\q.js:557:44
>     at flush
> (C:\Users\Krishnendu\AppData\Roaming\npm\node_modules\cordova\node_
> modules\q\q.js:108:17)
>
>
> My Question is:
>
> 1) Is this break any rule of cordova? we didn't get any error from direct
> build from eclipse.
> 2) Kindly share with me official guide line of cordova.
>
>
> --
>
> Krishnendu Sekhar Das
>
> *Sr. Software Developer*
>
> *Hybrid App Team*
> (+91)983-679-5387  krishnendu.sekhardas@indusnet.co.in
> krishnendusekhardas.int
>
> info@indusnet.co.in || www.indusnet.co.in || www.indusnet.co.in/blog
> <http://www.indusnet.co.in/buzz>
> INDIA | UK | USA | SINGAPORE
> +91 33 2357 6070
>
>
>
>
>
>
> Connect with us*
> <
> http://t.signalequattro.com/e1t/c/5/f18dQhb0S7lC8dDMPbW2n0x6l2B9nMJW7t5XYg1q7q7xW3M2cLW5vwsYlW3Mx_5x56dRc2dLXZxH02?t=https%3A%2F%2Fwww.facebook.com%2FIndusNetTechnologies&si=6491966819270656&pi=1b933b97-6819-42b4-faa8-ac5a3d7949a5
> >
> <
> http://t.signalequattro.com/e1t/c/5/f18dQhb0S7lC8dDMPbW2n0x6l2B9nMJW7t5XYg1q7q7xW3M2cLW5vwsYlW3Mx_5x56dRc2dLXZxH02?t=https%3A%2F%2Ftwitter.com%2Findusnettech&si=6491966819270656&pi=1b933b97-6819-42b4-faa8-ac5a3d7949a5
> >
> <
> http://t.signalequattro.com/e1t/c/5/f18dQhb0S7lC8dDMPbW2n0x6l2B9nMJW7t5XYg1q7q7xW3M2cLW5vwsYlW3Mx_5x56dRc2dLXZxH02?t=http%3A%2F%2Fin.linkedin.com%2Fcompany%2Findus-net-technologies&si=6491966819270656&pi=1b933b97-6819-42b4-faa8-ac5a3d7949a5
> >
> <
> http://t.signalequattro.com/e1t/c/5/f18dQhb0S7lC8dDMPbW2n0x6l2B9nMJW7t5XYg1q7q7xW3M2cLW5vwsYlW3Mx_5x56dRc2dLXZxH02?t=https%3A%2F%2Fplus.google.com%2F%2Bindusnettechnologies&si=6491966819270656&pi=1b933b97-6819-42b4-faa8-ac5a3d7949a5
> >
> <
> http://t.signalequattro.com/e1t/c/5/f18dQhb0S7lC8dDMPbW2n0x6l2B9nMJW7t5XYg1q7q7xW3M2cLW5vwsYlW3Mx_5x56dRc2dLXZxH02?t=http%3A%2F%2Fwww.youtube.com%2Fuser%2FTheINTVideos&si=6491966819270656&pi=1b933b97-6819-42b4-faa8-ac5a3d7949a5
> >
> <
> http://t.signalequattro.com/e1t/c/5/f18dQhb0S7lC8dDMPbW2n0x6l2B9nMJW7t5XYg1q7q7xW3M2cLW5vwsYlW3Mx_5x56dRc2dLXZxH02?t=http%3A%2F%2Fwww.indusnet.co.in%2Fblog&si=6491966819270656&pi=1b933b97-6819-42b4-faa8-ac5a3d7949a5
> >*
>
> Rated #1 IT SME in India by Dun & Bradstreet || Deloitte Technology Fast
> 500 Asia Pacific 2010, 2011
> ISO 9001:2008 || ISO 27001:2005 Certified || Google Partner
>
> This message contains information that may be privileged or confidential
> and is the property of the INDUS NET TECHNOLOGIES. It is intended only for
> the person to whom it is addressed. If you are not the intended recipient,
> you are not authorized to read, print, retain copy, disseminate,
> distribute, or use this message or any part thereof. If you receive this
> message in error, please notify the sender immediately and delete all
> copies of this message. INDUS NET TECHNOLOGIES does not accept any
> liability for virus infected mails.
>