You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by GitBox <gi...@apache.org> on 2020/12/26 23:23:09 UTC

[GitHub] [cordova-android] mdan25 opened a new issue #1145: Building an Android 10 (API leve 29) App in Cordova using Visual Studio

mdan25 opened a new issue #1145:
URL: https://github.com/apache/cordova-android/issues/1145


   <!--
   Please have a look at the issue templates you get when you click "New issue" in the GitHub UI.
   We very much prefer issues created by using one of these templates.
   -->
   
   ### Issue Type
   <!-- Please check the boxes by putting an x in the [ ] like so: [x] -->
   
   Hi everyone, I have developed an Android app in Cordova using Visual Studio 2017. While uploading my app to Google Play, 
   I got the error:
    "Your app currently targets API level 28 and must target at least API level 29 to ensure it is built 
   on the latest APIs optimized for security and performance. Change your app's target API level to at least 29."
   
   Visual Studio 2017 doesn't allow me to use Android 10 or API level above 28 (I've installed on my PC up to api level 30). 
   Visual Studio 2019 doesn't support Cordova. 
   
   How can I solve this problem?
   
   Thanks in advance to everyone.
   
   ## Description
   
   ## Information
   <!-- Include all relevant information that might help understand and reproduce the problem -->
   
   ### Command or Code
   <!-- What command or code is needed to reproduce the problem? -->
   
   ### Environment, Platform, Device
   <!-- In what environment, on what platform or on which device are you experiencing the issue? -->
   
   
   
   ### Version information
   <!-- 
   What are relevant versions you are using?
   For example:
   Cordova: Cordova CLI, Cordova Platforms, Cordova Plugins 
   Other Frameworks: Ionic Framework and CLI version
   Operating System, Android Studio, Xcode etc.
   -->
   Cordova: Cordova 9 (tried also: cordova 10 and cordova-android 9)
   Operating System: Visual Studio 2017
   
   
   ## Checklist
   <!-- Please check the boxes by putting an `x` in the `[ ]` like so: `[x]` -->
   
   - [x] I searched for already existing GitHub issues about this
   - [x] I updated all Cordova tooling to their most recent version
   - [ ] I included all the necessary information above
   


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-android] breautek closed issue #1145: Building an Android 10 (API leve 29) App in Cordova using Visual Studio

Posted by GitBox <gi...@apache.org>.
breautek closed issue #1145:
URL: https://github.com/apache/cordova-android/issues/1145


   


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


[GitHub] [cordova-android] breautek commented on issue #1145: Building an Android 10 (API leve 29) App in Cordova using Visual Studio

Posted by GitBox <gi...@apache.org>.
breautek commented on issue #1145:
URL: https://github.com/apache/cordova-android/issues/1145#issuecomment-751406696


   By default, cordova-android@9 targets API 29.
   
   This may be overrided by a preference in `config.xml`. Check if you have the `android-targetSdkVersion` declared. If so, remove it, or target 29 or higher.
   
   > Visual Studio 2017 doesn't allow me to use Android 10 or API level above 28
   
   I'm not aware of anything inside VS that would limit you from targeting a higher API level, but Cordova is something Microsoft no longer supports in their projects unfortunately. I've never used VS for cordova but if they offered GUI interfaces for settings, perhaps you may have to do things manually now by modifying the config files yourself rather than through a GUI.
   
   Since this doesn't appear to be a bug with Cordova I'll be closing this ticket. If you need further assistance, you can reach out to our [Slack](http://slack.cordova.io/) community.


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org