質問編集履歴

2

Gradleを追記

2017/12/17 13:01

投稿

valval
valval

スコア43

test CHANGED
File without changes
test CHANGED
@@ -48,6 +48,88 @@
48
48
 
49
49
  クラス名も全て赤文字になってしまいました。
50
50
 
51
+ Gradleは、
52
+
53
+
54
+
55
+ ```ここに言語を入力
56
+
57
+ apply plugin: 'com.android.application'
58
+
59
+
60
+
61
+ android {
62
+
63
+ compileSdkVersion 26
64
+
65
+ defaultConfig {
66
+
67
+ applicationId "xxx.xxx.xxx.xxx"
68
+
69
+ minSdkVersion 15
70
+
71
+ targetSdkVersion 26
72
+
73
+ versionCode 1
74
+
75
+ versionName "1.0"
76
+
77
+ testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
78
+
79
+ }
80
+
81
+ buildTypes {
82
+
83
+ release {
84
+
85
+ minifyEnabled false
86
+
87
+ proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
88
+
89
+ }
90
+
91
+ }
92
+
93
+ buildToolsVersion '27.0.2'
94
+
95
+ }
96
+
97
+
98
+
99
+ configurations {
100
+
101
+ compile.exclude group: 'xpp3', module: 'xpp3'
102
+
103
+ compile.exclude group: 'org.apache.httpcomponents', module: 'httpclient'
104
+
105
+ }
106
+
107
+ dependencies {
108
+
109
+ implementation fileTree(include: ['*.jar'], dir: 'libs')
110
+
111
+ implementation 'com.android.support:appcompat-v7:26.1.0'
112
+
113
+ implementation 'com.android.support.constraint:constraint-layout:1.0.2'
114
+
115
+ testImplementation 'junit:junit:4.12'
116
+
117
+ compile 'com.android.billingclient:billing:1.0'
118
+
119
+
120
+
121
+ compile 'com.google.android.gms:play-services-auth:11.6.0'
122
+
123
+ compile 'com.google.android.gms:play-services-drive:11.6.0'
124
+
125
+ }
126
+
127
+
128
+
129
+ ```
130
+
131
+ としました。
132
+
51
133
 
52
134
 
53
135
 

1

表題を訂正

2017/12/17 13:01

投稿

valval
valval

スコア43

test CHANGED
@@ -1 +1 @@
1
- Google APIs Client Library for Javaの使用開始時にservicesが赤文字になる
1
+ Google APIs Client Library for Javaの使用時にservicesが赤文字になる
test CHANGED
File without changes