質問編集履歴
2
q
title
CHANGED
File without changes
|
body
CHANGED
@@ -8,8 +8,10 @@
|
|
8
8
|
コードはこちらです
|
9
9
|
|
10
10
|
|
11
|
-
```
|
12
|
-
|
11
|
+
```
|
12
|
+
error: style attribute 'attr/colorBackground (aka jp.aftech.myapplication:attr/colorBackground)' not found.
|
13
|
+
Message{kind=ERROR, text=error: style attribute 'attr/colorBackground (aka jp.aftech.myapplication:attr/colorBackground)' not found., sources=[/Users/shoichi/.gradle/caches/transforms-1/files-1.1/appcompat-v7-27.1.1.aar/2d3e2ed35fddb328f4a6d0df363c67ad/res/values/values.xml], original message=, tool name=Optional.of(AAPT)}
|
14
|
+
```
|
13
15
|
|
14
16
|
|
15
17
|
写真も確認お願いいたします
|
1
build.gradleを追記
title
CHANGED
File without changes
|
body
CHANGED
@@ -14,4 +14,44 @@
|
|
14
14
|
|
15
15
|
写真も確認お願いいたします
|
16
16
|
|
17
|
-

|
17
|
+

|
18
|
+
|
19
|
+
|
20
|
+
|
21
|
+
|
22
|
+
```
|
23
|
+
java
|
24
|
+
|
25
|
+
【build.gradle】
|
26
|
+
|
27
|
+
|
28
|
+
apply plugin: 'com.android.application'
|
29
|
+
|
30
|
+
android {
|
31
|
+
compileSdkVersion 27
|
32
|
+
defaultConfig {
|
33
|
+
applicationId "jp.-----.myapplication"
|
34
|
+
minSdkVersion 21
|
35
|
+
targetSdkVersion 27
|
36
|
+
versionCode 1
|
37
|
+
versionName "1.0"
|
38
|
+
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
|
39
|
+
}
|
40
|
+
buildTypes {
|
41
|
+
release {
|
42
|
+
minifyEnabled false
|
43
|
+
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
44
|
+
}
|
45
|
+
}
|
46
|
+
}
|
47
|
+
|
48
|
+
dependencies {
|
49
|
+
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
50
|
+
implementation 'com.android.support:appcompat-v7:27.1.1'
|
51
|
+
implementation 'com.android.support:design:27.1.1'
|
52
|
+
implementation 'com.android.support.constraint:constraint-layout:1.1.2'
|
53
|
+
testImplementation 'junit:junit:4.12'
|
54
|
+
androidTestImplementation 'com.android.support.test:runner:1.0.2'
|
55
|
+
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
|
56
|
+
}
|
57
|
+
```
|