ppetree commented on issue #689: Build errors about drawable since upgrading to 
v8.0.0
URL: https://github.com/apache/cordova-android/issues/689#issuecomment-562242757
 
 
   If you google this:
   com.android.builder.internal.aapt.v2.Aapt2InternalException:
   AAPT2 aapt2-3.3.0-5013011-windows Daemon #2
   You'll see this is happening to others and it looks like the solution is to
   upgrade/patch your android build system.
   
   *Phil "Pete" Petree*
   *954-856-8752 (cell)*
   *954-372-7463 (work)*
   *About Me* <https://about.me/phil.petree>
   
   
   On Wed, Dec 4, 2019 at 12:35 PM Indraraj <[email protected]> wrote:
   
   > I have made the changes as per above solution but still i am getting error
   > Thread : #880 <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
   >
   >
   > —
   > You are receiving this because you were mentioned.
   > Reply to this email directly, view it on GitHub
   > 
<https://github.com/apache/cordova-android/issues/689?email_source=notifications&email_token=AAHSDEOFSK3TF5QXVWGK2CLQW7S5FA5CNFSM4G5VNNCKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEF532LY#issuecomment-561757487>,
   > or unsubscribe
   > 
<https://github.com/notifications/unsubscribe-auth/AAHSDEIXE62W7ADEHRHWJNTQW7S5FANCNFSM4G5VNNCA>
   > .
   >
   

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