android - phonegap 3.4 unable to set an application name other than HelloWorld -


i followed docs , trying create new project command

phonegap create project --name "myproject" --id "com.app.myproject" 

no matter how many times try, app getting installed "hellworld" name. had explicitly change res/values/strings.xml <string name="app_name">myproject</string> alter app name on device.

thanks in advance

the way solve; create project 3.4 , in adt right clicked on helloworld folder , refactor -> change name. typed new application name. if adt have null exception errors, hit f5 couple of times refresh folders of newly created project. close , restarted adt , voila! started work. , change application namespace com.phonegap.helloworld -> com.mydomain.myappname. know not logical way how did. hope helps.


Comments

Popular posts from this blog

c# - Unity IoC Lifetime per HttpRequest for UserStore -

Change the color of an oval at click in Java AWT -

I am trying to solve the error message 'incompatible ranks 0 and 1 in assignment' in a fortran 95 program. -