breautek commented on issue #1461: URL: https://github.com/apache/cordova-android/issues/1461#issuecomment-1187753569
If you want install a development build, you have to use the github repo url. e.g. `cordova platform add https://github.com/apache/cordova-android.git` Which will install the main branch. NPM also supports `#<commit-ish>` to install from a git repository at a specific commit, branch, or tag. Alternatively, you can `cordova platform add android@nightly` which will use a nightly published version based on the main branch, which should contain changes that was pushed at least 24 hours ago. > The prepare command works a little bit longer but fails as show below, and I don't know the side-effects. Based on the output: > * What went wrong: A problem occurred evaluating script. > For input string: "android-33" The issue appears to be related to using target SDK 33, which is an SDK level that Cordova might not support yet. cordova-android@11 adds support for SDK levels that was available during the time of development, which was up to SDK 32. Try removing `<preference name="android-targetSdkVersion" value="33" />` or setting it's value to `32` to see if it creates a difference in behaviour. Cordova's default target SDK is `32` in cordova-android@11 when the `android-targetSdkVersion` is not supplied. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
