Giter Site home page Giter Site logo

想下载你这个看下,但是用AS打开之后,总是报AAPT的错误,实在不明白是哪几张图片出问题了,能否麻烦你看下?Gradle Version 2.10 Plugin Version 2.1.0 about fastdev4android HOT 9 OPEN

jiangqqlmj avatar jiangqqlmj commented on July 29, 2024
想下载你这个看下,但是用AS打开之后,总是报AAPT的错误,实在不明白是哪几张图片出问题了,能否麻烦你看下?Gradle Version 2.10 Plugin Version 2.1.0

from fastdev4android.

Comments (9)

yhqvod avatar yhqvod commented on July 29, 2024 1

在app中build.gradle文件android 节点中添加

aaptOptions{
cruncherEnabled = false
}

在 2016-06-02 09:31:09,"shuimuqinghua" [email protected] 写道:

你用的什么方法解决图片问题的? 你说的如图,但是我看不到图,能否麻烦你再弄给我看下,谢谢!


You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

from fastdev4android.

jiangqqlmj avatar jiangqqlmj commented on July 29, 2024

应该是AS的版本高了,然后对于图片格式检测更加严格了,你可以替换一下那几张检测出来的图片

from fastdev4android.

shuimuqinghua avatar shuimuqinghua commented on July 29, 2024

谢谢回复~ 我想说的是,我找不到那几张图片~~
image

from fastdev4android.

yhqvod avatar yhqvod commented on July 29, 2024

江清清,你好:

    不知道你的问题有没有解决,我刚刚尝试着去改了一下,编译不过好像是因为你的项目中某些图不是真正的png,而是其他格式重命名过来的,我找了一个解决办法,如图



    添加以上代码就没问题了,但是你的项目中还存在多个JsonSerializer
    Error:Error converting bytecode to dex:
    Cause: com.android.dex.DexException: Multiple dex files define Lcom/google/gson/JsonSerializer;

    后面我去掉了gson-2.2.4.jar,可以直接编译通过

[email protected]

发件人: 江清清
发送时间: 2016-06-01 16:28
收件人: jiangqqlmj/FastDev4Android
主题: Re: [jiangqqlmj/FastDev4Android] 想下载你这个看下,但是用AS打开之后,总是报AAPT的错误,实在不明白是哪几张图片出问题了,能否麻烦你看下?Gradle Version 2.10 Plugin Version 2.1.0 (#6)
应该是AS的版本高了,然后对于图片格式检测更加严格了,你可以替换一下那几张检测出来的图片

You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

from fastdev4android.

shuimuqinghua avatar shuimuqinghua commented on July 29, 2024

你用的什么方法解决图片问题的? 你说的如图,但是我看不到图,能否麻烦你再弄给我看下,谢谢!

from fastdev4android.

yhqvod avatar yhqvod commented on July 29, 2024

江清清,你好:

    不好意思回错了 

[email protected]

发件人: 江清清
发送时间: 2016-06-01 16:28
收件人: jiangqqlmj/FastDev4Android
主题: Re: [jiangqqlmj/FastDev4Android] 想下载你这个看下,但是用AS打开之后,总是报AAPT的错误,实在不明白是哪几张图片出问题了,能否麻烦你看下?Gradle Version 2.10 Plugin Version 2.1.0 (#6)

应该是AS的版本高了,然后对于图片格式检测更加严格了,你可以替换一下那几张检测出来的图片


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

from fastdev4android.

huatx avatar huatx commented on July 29, 2024

Error:java.util.concurrent.ExecutionException: com.android.ide.common.process.ProcessException:

from fastdev4android.

jp1017 avatar jp1017 commented on July 29, 2024

Error:java.util.concurrent.ExecutionException: com.android.ide.common.process.ProcessException:

这个可以删除build文件夹解决。

from fastdev4android.

mandysss avatar mandysss commented on July 29, 2024

FastDev4Android\app\src\main\res\mipmap-hdpi下面的几张图片不是png的,改成jpg就OK了

from fastdev4android.

Related Issues (10)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.