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:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to