You may get "Package name must look like..." error if you create a phonegap 3 project as below:
When you run above code, you get below error:
You get error because you are missing --id and --name options. The correct way to add Android support into your Phonegap application would be as follows:
cordova create ./hello-world HelloWorld
cordova platform add android
cordova platform add android
When you run above code, you get below error:
Checking Android requirements...
Creating android project...
[Error: An error occured during creation of android sub-project.
Package name must look like: com.company.Name
]
Creating android project...
[Error: An error occured during creation of android sub-project.
Package name must look like: com.company.Name
]
You get error because you are missing --id and --name options. The correct way to add Android support into your Phonegap application would be as follows:
phonegap create ./hello-world --id com.example.hello --name HelloWorld
cd hello-world
cordova platform add android
cd hello-world
cordova platform add android
Hiç yorum yok:
Yorum Gönder