Android Studio performs information:gradle tasks [: App:assembledebug] Failure handling

Source: Internet
Author: User

 for  for details

According to the error prompt: Find AAPT err (facade for 1339051672): Error:9-patch image D:\WORK_PASECE\anroid_studio\android_workpace\ Myapplication\app\src\main\res\drawable\chatitem_in_bg.9.png Malformed.
This file.
1. Do some 9 processing.
2. If point 9 processing does not solve the problem, you can
In the Build.gradle file in your main project folder, add the following configuration:
Aaptoptions.cruncherenabled = False
Aaptoptions.usenewcruncher = False
Add the following location:

Android {
Compilesdkversion 24
Buildtoolsversion ' 24.0.1 '

Aaptoptions.cruncherenabled = False
Aaptoptions.usenewcruncher = False

Defaultconfig {
Minsdkversion 10
Targetsdkversion 19
}`
..................

Android Studio performs information:gradle tasks [: App:assembledebug] Failure handling

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.