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/12/04 17:35:14 UTC

[GitHub] [cordova-android] indraraj26 commented on issue #689: Build errors about drawable since upgrading to v8.0.0

indraraj26 commented on issue #689: Build errors about drawable since upgrading to v8.0.0
URL: https://github.com/apache/cordova-android/issues/689#issuecomment-561757487
 
 
   I have made the changes as per above solution but still i am getting error
   Thread : https://github.com/apache/cordova-android/issues/880
   config.xml
   ````
   <platform name="android">
           <preference name="loadUrlTimeoutValue" value="700000" />
           <allow-intent href="market:*" />
           <icon density="ldpi" src="resources/android/icon/drawable-ldpi-icon.png" />
           <icon density="mdpi" src="resources/android/icon/drawable-mdpi-icon.png" />
           <icon density="hdpi" src="resources/android/icon/drawable-hdpi-icon.png" />
           <icon density="xhdpi" src="resources/android/icon/drawable-xhdpi-icon.png" />
           <icon density="xxhdpi" src="resources/android/icon/drawable-xxhdpi-icon.png" />
           <icon density="xxxhdpi" src="resources/android/icon/drawable-xxxhdpi-icon.png" />
           <splash density="land-ldpi" src="resources/android/splash/drawable-land-ldpi-screen.png" />
           <splash density="land-mdpi" src="resources/android/splash/drawable-land-mdpi-screen.png" />
           <splash density="land-hdpi" src="resources/android/splash/drawable-land-hdpi-screen.png" />
           <splash density="land-xhdpi" src="resources/android/splash/drawable-land-xhdpi-screen.png" />
           <splash density="land-xxhdpi" src="resources/android/splash/drawable-land-xxhdpi-screen.png" />
           <splash density="land-xxxhdpi" src="resources/android/splash/drawable-land-xxxhdpi-screen.png" />
           <splash density="port-ldpi" src="resources/android/splash/drawable-port-ldpi-screen.png" />
           <splash density="port-mdpi" src="resources/android/splash/drawable-port-mdpi-screen.png" />
           <splash density="port-hdpi" src="resources/android/splash/drawable-port-hdpi-screen.png" />
           <splash density="port-xhdpi" src="resources/android/splash/drawable-port-xhdpi-screen.png" />
           <splash density="port-xxhdpi" src="resources/android/splash/drawable-port-xxhdpi-screen.png" />
           <splash density="port-xxxhdpi" src="resources/android/splash/drawable-port-xxxhdpi-screen.png" />
           <splash density="ldpi" src="resources/android/splash/drawable-port-ldpi-screen.png" />
           <splash density="mdpi" src="resources/android/splash/drawable-port-mdpi-screen.png" />
           <splash density="hdpi" src="resources/android/splash/drawable-port-hdpi-screen.png" />
           <splash density="xhdpi" src="resources/android/splash/drawable-port-xhdpi-screen.png" />
           <splash density="xxhdpi" src="resources/android/splash/drawable-port-xxhdpi-screen.png" />
           <splash density="xxxhdpi" src="resources/android/splash/drawable-port-xxxhdpi-screen.png" />
       </platform>
   ````
   Error
   
   ````
   > Task :app:mergeReleaseResources
    FAILED
   FAILURE: Build failed with an exception.
   
   * What went wrong:
   Execution failed for task ':app:mergeReleaseResources'.
   > java.util.concurrent.ExecutionException: com.android.builder.internal.aapt.v2.Aapt2InternalException: AAPT2 aapt2-3.3.0-5013011-windows Daemon #2: Unexpected error during compile 'D:\indra\client\platforms\android\app\src\main\res\drawable-land-xxxhdpi\screen.png', attempting to stop daemon.
   20 actionable tasks: 1 executed, 19 up-to-date
     This should not happen under normal circumstances, please file an issue if it does.
   
   * Try:
   Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
   
   * Get more help at https://help.gradle.org
   
   BUILD FAILED in 7s
   D:\indra\client\platforms\android\gradlew: Command failed with exit code 1 Error output:
   FAILURE: Build failed with an exception.
   
   * What went wrong:
   Execution failed for task ':app:mergeReleaseResources'.
   > java.util.concurrent.ExecutionException: com.android.builder.internal.aapt.v2.Aapt2InternalException: AAPT2 aapt2-3.3.0-5013011-windows Daemon #2: Unexpected error during compile 'D:\indra\client\platforms\android\app\src\main\res\drawable-land-xxxhdpi\screen.png', attempting to stop daemon.
     This should not happen under normal circumstances, please file an issue if it does.
   
   * Try:
   Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
   
   * Get more help at https://help.gradle.org
   
   BUILD FAILED in 7s
   
   ````

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