Comments (9)
在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.
应该是AS的版本高了,然后对于图片格式检测更加严格了,你可以替换一下那几张检测出来的图片
from fastdev4android.
from fastdev4android.
江清清,你好:
不知道你的问题有没有解决,我刚刚尝试着去改了一下,编译不过好像是因为你的项目中某些图不是真正的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,可以直接编译通过
发件人: 江清清
发送时间: 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.
你用的什么方法解决图片问题的? 你说的如图,但是我看不到图,能否麻烦你再弄给我看下,谢谢!
from fastdev4android.
江清清,你好:
不好意思回错了
发件人: 江清清
发送时间: 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.
Error:java.util.concurrent.ExecutionException: com.android.ide.common.process.ProcessException:
from fastdev4android.
Error:java.util.concurrent.ExecutionException: com.android.ide.common.process.ProcessException:
这个可以删除build文件夹解决。
from fastdev4android.
FastDev4Android\app\src\main\res\mipmap-hdpi下面的几张图片不是png的,改成jpg就OK了
from fastdev4android.
Related Issues (10)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fastdev4android.