mwaylabs / Espresso

The-M-Projects build tools using node.js.
www.the-m-project.org
Other
84 stars 28 forks source link

Google Play needs the variable "minSdkVersion" in the file "AndroidManifest.xml" #80

Closed siamak-haschemi closed 1 year ago

siamak-haschemi commented 12 years ago

Given I configured a android package decleration in config.json When I sign and build the android APK package Then the temporary created Android-Project should contain the "minSdkVersion" tag in the AndroidManifest.xml

File Espresso/package/PhoneGap/Android/setup-manifest needs to be changed

siamak-haschemi commented 12 years ago

I propose the addition of a new config.json parameter "minSdkVersion".

Here is the little patch for setup-manifest

https://gist.github.com/2730236

siamak-haschemi commented 12 years ago

Please reopen this Issue, since the new generic AndroidManifest approach (#87) does not contain the required mandatory minSdkVersion property. Again, without that property I was not able to relase into the Google Play Store.

Thanks!

4z3 commented 12 years ago

The minSdkVersion property should be optional and default to some reasonable value.

Potential default values are at least:

sebastianwerler commented 12 years ago

I prefer conformity with the default that Android uses, means "1".

dominiklaubach commented 12 years ago

I'd recommend to set the default minimum sdk version to level 8 based on this: http://developer.android.com/resources/dashboard/platform-versions.html