You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by GitBox <gi...@apache.org> on 2019/11/12 13:02:48 UTC
[GitHub] [cordova-android] freescout-helpdesk commented on issue #846:
android-targetSdkVersion preference not honoured
freescout-helpdesk commented on issue #846: android-targetSdkVersion preference not honoured
URL: https://github.com/apache/cordova-android/issues/846#issuecomment-552883946
We are trying to use Android SDK 29.
config.xml
```
<platform name="android">
<preference name="android-minSdkVersion" value="19" />
<preference name="android-targetSdkVersion" value="29" />
</platform>
```
sdkmanager --list:
```
Path | Version | Description | Location
------- | ------- | ------- | -------
build-tools;28.0.3 | 28.0.3 | Android SDK Build-Tools 28.0.3 | build-tools/28.0.3/
build-tools;debian | 27.0.1 | Android SDK Build-Tools | build-tools/debian/
platform-tools | 29.0.5 | Android SDK Platform-Tools | platform-tools/
platforms;android-29 | 3 | Android SDK Platform 29 | platforms/android-29/
tools | 25.0.0 | Android SDK Tools | tools/
```
cordova build android --prod
```
FAILURE:
Build failed with an exception.
* What went wrong:
A problem occurred configuring project ':app'.
>
Failed to install the following SDK components:
platforms;android-28 Android SDK Platform 28
The SDK directory is not writable (/usr/lib/android-sdk)
```
----------------------------------------------------------------
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
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org