cymcsg / cymcsg/UltimateAndroid

资源重定义以及找不到资源问题

Open
#15 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
2.1k
Forks
683
PR merge metrics
No merged PRs in 30d

Description

Android Stdio 1.4.1稳定版
配置文件如下:

apply plugin: 'com.android.application'

android {
compileSdkVersion 23
buildToolsVersion "23.0.1"

```
defaultConfig {
applicationId "com.sinopec.peraglobal.keapp"
minSdkVersion 15
targetSdkVersion 23
versionCode 1
versionName "1.0"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
```

}

dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
testCompile 'junit:junit:4.12'
compile 'com.android.support:appcompat-v7:23.0.1'
compile 'com.android.support:design:23.0.1'
compile 'com.marshalchen.ultimateandroid:ultimateandroid:0.7.1'
compile 'com.marshalchen.ultimateandroid:ultimateandroidui:0.7.0'
}

按照jcenter配置下载完成编译出现
![error](https://cloud.githubusercontent.com/assets/7479240/10479672/321fba20-7298-11e5-93bd-41ae516b99c7.jpg)

此问题怎么解决。

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reviewing the Gradle configuration in the issue, especially the Android support and UltimateAndroid dependencies, and inspect the linked error screenshot. Reproduce the build with the listed versions; the issue is done when the project builds without resource redefinition or missing-resource errors.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java
Domain
build-system, mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.